Page 1 of 1
class changing
Posted: Fri Aug 10, 2012 7:43 am
by dap
Hi,
i want to do daily quest on main class, get to maid and change to second class.
Do anyone know how to do this ?
Regards
Re: class changing
Posted: Fri Aug 10, 2012 7:49 am
by lisa
not sure what it is now days but when it was only 2 classes this was the code.
Code: Select all
--target the house person
sendMacro("ChoiceOption(4);");
yrest(1000);
sendMacro("ExchangeClass(EXCHANGECLASS_SUBCLASS, EXCHANGECLASS_MAINCLASS)");
Re: class changing
Posted: Fri Aug 10, 2012 8:36 am
by rock5
Yep, still works.
Some Extra Unnecessary Info:
The variables EXCHANGECLASS_SUBCLASS and EXCHANGECLASS_MAINCLASS just hold the classes that are selected in the popup. So that command just switches them. You can also specify specific classes eg. to change to warden/mage you could use
or
Code: Select all
sendMacro("ExchangeClass("..(CLASS_WARDEN + 1)..","..(CLASS_MAGE + 1)..")");
'+ 1' because the bot class numbers are off by 1 compared to the ingame class numbers.
Re: class changing
Posted: Fri Aug 10, 2012 7:09 pm
by dap
it works fine
many thanks