• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

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

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