• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Is it possible to automatically /end a macro upon zoning ?

Joined
Apr 2, 2020
RedCents
434¢
Hello guys,

Just a simple question. Is there a way to have a macro /end itself upon zoning without issuing manually an /end command ?

Thanks if you know the answer.
 
yes, just create a "zoned.cfg" file in your config folder, that will execute everytime you zone. If you put /docommand /end in there, that should be it.

Caution: that is then handled for all macros, for all chars!
 
You could also also use LEM to acheive this and add your own preferences.
For example, only end if a particular macro is running, or only end if you zone out of (or into) a specific zone.
 
I do this in some raid scripts, can either use
${Me.Zoning}
or if I know the exact zone I want it running in I just check that i'm in that zone
/if (!${Zone.ShortName.Equal[PoKnowledge]}) /endmac

can also check instance names, etc.
 
Thanks for your replies, very useful stuff :)

yes, just create a "zoned.cfg" file in your config folder, that will execute everytime you zone. If you put /docommand /end in there, that should be it.

Caution: that is then handled for all macros, for all chars!
Sounds very easy to do, thanks. Given you can run only one macro at a time per character, it doesn't bother me.
EDIT : how do I create a file with *.cfg extension, can Notepad+ handle that as *.txt and *.ini files ?
 
I do this in some raid scripts, can either use
${Me.Zoning}
or if I know the exact zone I want it running in I just check that i'm in that zone
/if (!${Zone.ShortName.Equal[PoKnowledge]}) /endmac

can also check instance names, etc.
Thank you. If I opt for this solution, would the correct syntax be :

Code:
/if (${Me.Zoning}) /end

And, sorry to ask what might be obvious, but where do I put this line, in which file ?
 
I already had a zoned.cfg file in my config folder and Notepad+ can edit it. Now it has two lines (the first line was already there) :

/SetWinTitle ${Me.Name}.${EverQuest.Server} (Lvl:${Me.Level} ${Me.Class}) ${Zone.Name} ${Me.Instance}
/docommand /end
 
Question - Is it possible to automatically /end a macro upon zoning ?

Users who are viewing this thread

Back
Top
Cart