• 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

Macro help

Druid

Member
(I) I want to completly reset a macro under certain conditions (I have a macro that sometimes runs away with itself... it's a long story).

The conditions can be any key I hit, or if I target myself, etc. Something unique that won't happen by accident.

I thought of :

1) target myself
2) detect that via an event
3) in the sub that runs as a result of the event, I reset and then...
4) RETURN TO the top of the macro. Is there are 'return to' available, that would clear the subroutine stack and go where you tell it?

OR... something else that you can come up with to do what I'd like. Something that would emulate a /endmacro and /mac xxxx, but without ending, of course.


(II) Is there a way to tell if you are underwater?


TIA
 
Havent tested it yet, but seems feasible.

/timed 1000 /macro <whatever>
/endmacro

Should force a restart on the macro after the stack has cleared from the /endmacro

just doing a /macro <whatever> seems to goof things up badly in relation to include files for some reason.
 
Macro help

Users who are viewing this thread

Back
Top
Cart