• 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
Resource icon

Release MGB Macro 1.00

No permission to download

foromoro

Well-known member
Joined
Dec 2, 2019
RedCents
233¢
foromoro submitted a new resource:

MGB Macro - Help out the unbuffed while sitting in the Guild Lobby

I wanted to test my hand at making a basic macro so I could learn the steps and also, specifically, learn syntax and conditionals. So I made this macro. I also made this because I like hitting my whole army with MGBs before initiating KA.

This macro will assign a set number of popular MGB spells depending on the class of whoever runs it, and will sit in Guild Lobby until it detects anyone asking for "MGB" at which point it will delay a random amount of time between 10-20 seconds, activate...

Read more about this resource...
 
I am not 100% on the terminology here, but I made a MGB macro just to familiarize myself with conditionals, calls, etc. It's set up so that if the toon sees the phrase "buffs" or "MGB" then it goes into its cycle of spell casting.

My problem is that if someone asks for buffs while the toons are already casting, then the toon starts over as soon as it is done with the first casting cycle.

Is there a way that I can have the macro first check whether it is already executing a function when it sees/receives a trigger for buffs, and then only execute the macro if it is NOT already doing so?

My thought process would be something like this:

When macro sees MGB or Buffs, it uses /goto to move the macro's execution to a section called BuffOne (and from there to BuffTwo then BuffThree, etc., depending on the number of buffs).

Is there language I can use to make it check first if it is already inside BuffOne/Two/Three when it sees the trigger, and only /goto BuffOne when it is not already inside one of those sections?

Broken down into stupid simple coding structure, it would (in my mind) be (If me NOT==BuffOne/Two/Three then /goto BuffOne)
 
what macro?

but yes, you would use an event
This one:
 
.

i merged your thread into your existing discussion thread for your resource


that link is the docs for #event

not many folks still fuss around with macrocode these days, many folks have moved over to using Lua - @ChatWithThisName is still real good with macro code and he might be able to lend you some eyeballs
 
Release MGB Macro

Users who are viewing this thread

Back
Top
Cart