BBot - The best bot of the world
HELP! Macro Stop Other Macros. - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Support (https://forums.bmega.net/forum-6.html)
+--- Forum: Support & Help (https://forums.bmega.net/forum-8.html)
+--- Thread: HELP! Macro Stop Other Macros. (/thread-11522.html)



HELP! Macro Stop Other Macros. - badness2013 - 08-27-2013

I need a macro that when I'm in town it stops another macro I use for hunting and when returning to the cave another macro that triggers it.


Sorry for my English ;/


RE: HELP! Macro Stop Other Macros. - voonart - 08-27-2013

Make a variable like

InTown=0

Create two macros:
0 {ImInDaCity} InTown:= 1
0 {ImNotInDaCity} InTown:= 0

And make waypoints with macro where you want.

And in your macros add if
!InTown!==1
<rest of macro>

Heres a example how it works (note it will burn mana)