I am trying to find out how to record my location when I start my macro, and then to check my location in the macro and if it is the location I was at when starting then do XXX.
tried something like this but I just dont know enough to do this right yet:
tried something like this but I just dont know enough to do this right yet:
Rich (BB code):
#event myloc "XXX XXX XXX"
Sub Main
/declare myloc bool outer FALSE
:dostuff
/if (!${myloc}) /goto :dostuff
/varset myloc FALSE
/DO SOME CRAP HERE
/return
Sub Event_myloc
/varset myloc TRUE
/return