location: Varanas/ Classhall
Code: Select all
<waypoints type="RUN">
<!-- # 1 --><waypoint x="5524" z="-4228">
player:rest(1)
player:target_NPC("Klassenverwalterin")
player:rest(1)
RoMScript("ChoiceOption(1)")
player:rest(1)
RoMScript("ExchangeClass(EXCHANGECLASS_SUBCLASS, EXCHANGECLASS_MAINCLASS)")
player:rest(1)
RoMScript("SwapEquipmentItem()") <!-- # problem -->
printf("We where running for %s seconds\n", os.difftime(os.time(),player.BotStartTime_nr) - player.Sleeping_time );
printf("this are %s minutes.\n", (os.difftime(os.time(),player.BotStartTime_nr) - player.Sleeping_time)/60 );
printf("or %s hours.\n", ((os.difftime(os.time(),player.BotStartTime_nr) - player.Sleeping_time)/60)/60 );
printf("We have killed %s NPCs.\n", player.Fights );
error("Bot finished", 0); -- Not really an error, but it will drop us back to shell.
</waypoint>
</waypoints>