------------------------------------------------ -- Change Class/equip -- raff -- v1.01 ------------------------------------------------ function swapClass(npc, choice) if npc then player:target_NPC(npc);yrest(1000) --assumes NPC already targeted if none is provided end if choice then sendMacro("ChoiceOption("..choice..");");yrest(1000); else sendMacro("ChoiceOption(\"3\");");yrest(1000); -- defaults to 3 (housemaids) end sendMacro("ExchangeClass(EXCHANGECLASS_SUBCLASS, EXCHANGECLASS_MAINCLASS)"); sendMacro("SwapEquipmentItem();"); end