• 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

Problem - consumable buffs

Hondorian

Active member
Wrong forum
Buffs5=Command:/useitem Distillate of Clarity IV|Dual|Elixir of Clarity IV|Self

This line of code just constantly recasts itself every 10 seconds. Anyone know a way to only have this recast when it fades?
I'm sure im missing something simple.
or
Could i increase this to balance? CheckBuffsTimer=10
Thanks gang.
kissassist ini.
 
I think it's firing each time because of Command:/useitem, I don't think you can use it with a |dual| like that, try it without the Command:/useitem

Buffs5=Distillate of Clarity IV|Dual|Elixir of Clarity IV|Self
 
Buffs5=Command:/useitem Distillate of Clarity IV|Dual|Elixir of Clarity IV|Self

This line of code just constantly recasts itself every 10 seconds. Anyone know a way to only have this recast when it fades?
I'm sure im missing something simple.
or
Could i increase this to balance? CheckBuffsTimer=10
Thanks gang.
kissassist ini.
I think another way to do it would be to just used a condtion, like this:

Buffs5=command:/useitem Distillate of Clarity IV|Cond1

then in the condition section do

Cond1=!${Me.Buff[Elixir of Clarity IV].ID}

Then it should only use the item if you are missing that buff.
 
I think another way to do it would be to just used a condtion, like this:

Buffs5=command:/useitem Distillate of Clarity IV|Cond1

then in the condition section do

Cond1=!${Me.Buff[Elixir of Clarity IV].ID}

Then it should only use the item if you are missing that buff.
That's how the buff section is supposed to work, they only cast if they are missing, the DUAL function is for when the casted buff (or item) has a different name than the resulting buff. Your way might work, but that then becomes two lines you have to keep up with the changes when upgrading the buff/spell/item etc.
 
That's how the buff section is supposed to work, they only cast if they are missing, the DUAL function is for when the casted buff (or item) has a different name than the resulting buff. Your way might work, but that then becomes two lines you have to keep up with the changes when upgrading the buff/spell/item etc.
I needed to learn conditions anyhow so this was a great lesson thank you for responding!
 
That's how the buff section is supposed to work, they only cast if they are missing, the DUAL function is for when the casted buff (or item) has a different name than the resulting buff. Your way might work, but that then becomes two lines you have to keep up with the changes when upgrading the buff/spell/item etc.
Haha, I wasn't even thinking, but yeah that's true. When I started using MQ I found conditions before I found dual, so I think it tends to stick as the first thing I think about.
 
Problem - consumable buffs

Users who are viewing this thread

Back
Top
Cart