• 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

Macro help

Druid

Member
Joined
May 23, 2005
RedCents
70¢
(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