• 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
MGB Macro

Release MGB Macro 1.00

foromoro

Well-known member
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)
 
.

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