Ending Macros when DC'd

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

exslam
orc pawn
orc pawn
Posts: 14
Joined: Wed Jun 23, 2004 6:19 am

Ending Macros when DC'd

Post by exslam » Fri Jul 16, 2004 5:23 pm

What type of event should be setup when i get disconnected to end the macro, when i go back to the char screen i see the macros still running.
Search hasnt been much help yet but im still lookin

Slam

nitro
decaying skeleton
decaying skeleton
Posts: 5
Joined: Fri Jul 16, 2004 10:10 pm

Post by nitro » Fri Jul 16, 2004 10:24 pm

at top of mac add /varset int SavedZone ${Zone.ID}

/if (${Zone.ID}!=${SavedZone}) /endmac

I have not tested it but you may be able to use something like this to make it work... I'm pretty new to scripting just trying to throw out an idea