• 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

Clicky sub

rawwar

Member
I would like to add a line of code to my vxed mac that uses the clicky I have in my range slot whenever my Ten or hp buff goes away anyone able to help me just need a quick sub.... was thinking using the #event such and such has worn off to trigger it...

would also like to do it to trigger a potion in slot 3 when hps buff runs out and probably could tie the 2 together in the same sub
 
Last edited:
Sample from pally:

Rich (BB code):
|***************************************|
|            Check Self Buff            |
|                                       |
|***************************************|

Sub CheckBuffs
  /call ChatMsg  "Checking self buffs..."
  /if (${Me.Buff[Form of Endurance II].ID} > 0) {
    /if (${Me.Buff[Form of Endurance II].Duration} < 60) {
      /call cast "Veil of the Inferno" item
      /delay 1s
    }
  } else {
      /call cast "Veil of the Inferno" item
      /delay 1s
  }
  /if (${Me.Buff[Eternal Ward].ID} > 0) {
    /if (${Me.Buff[Eternal Ward].Duration} < 60) {
      /call cast "Prismatic Ring of Resistance" item
      /delay 1s
    }
  } else {
      /call cast "Prismatic Ring of Resistance" item
      /delay 1s
  }
  /if (${Me.Buff[Pious Fury].ID} > 0) {
    /if (${Me.Buff[Pious Fury].Duration} < 60) {
      /call cast "Pious Fury" gem7
      /delay 1s
    } 
  } else {
      /call cast "Pious Fury" gem7
      /delay 1s
  }
  /if (${Me.Buff[Armor of Unrelenting Faith].ID} > 0) {
    /if (${Me.Buff[Armor of Unrelenting Faith].Duration} < 60) {
      /call cast "Armor of Unrelenting Faith" gem6
      /delay 1s
    }
  } else {
      /call cast "Armor of Unrelenting Faith" gem6
      /delay 1s
  }
  /if (${Me.Buff[Brell's Stony Guard].ID} > 0) {
    /if (${Me.Buff[Brell's Stony Guard].Duration} < 60) {
      /call cast "Brell's Stony Guard" gem8
      /delay 1s
    }
  } else {
      /call cast "Brell's Stony Guard" gem8
      /delay 1s
  }
  /if (${Me.Buff[Frostreaver's Blessing].ID} > 0) {
    /if (${Me.Buff[Frostreaver's Blessing].Duration} < 60) {
      /call cast "Ring of Dain Frostreaver IV" item
      /delay 1s
    }
  } else {
      /call cast "Ring of Dain Frostreaver IV" item
      /delay 1s
  }

  /call ChatMsg "All buffs checked and are good.....ready to go!"
/return
 
Thanks thats waht I was looking for ....

OK now could I see the rest of the mac possibly cause it is doing call's for casting and chatmsg so need to deal with them ....


OK figured out you needed MQ2cast loaded....
 
Last edited:
Clicky sub

Users who are viewing this thread

Back
Top
Cart