Instead of having a macro consuming more cpu usage you can just have a fullcheck.
Example:
Then after you deposit everything make another one like this for example:
Also don't forget to add a task reset after you talk to the task npc so your bot don't go in a loop.
Example:
Code:
FullCheck (32048 31043 8:Full continuetorefill Else continuetohunt Code !hpid<!hpleave;!manaid<!manaleave;!getaxe==1;!lowstamina==1,~Demon>=2000)
Code:
FullCheck (32048 31043 8:Full task Else gotohunt Code ~Demon>=2000)
Also don't forget to add a task reset after you talk to the task npc so your bot don't go in a loop.