• 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

Question - Check buff/songs on MainTank

njk70

Well-known member
How do I check for a specific buff/song affect being on another group member (main tank in particular). I want my druid to cast a spell when a particular effect is on my main tank. I can't quite figure it out.
 
Without knowing anything else, one way could be to use DanNet. It has the ability to create observers, which can monitor a TLO and report back to you.

An example of observers in action can be found in the Boxhud Lua.

As to the other half of the problem you would need an event, macro, Lua, whatever, to be checking for that spell to be active and then do the thing.
 
How do I check for a specific buff/song affect being on another group member (main tank in particular). I want my druid to cast a spell when a particular effect is on my main tank. I can't quite figure it out.
you can use the following condition: ${Group.MainTank.Buff[buffname].ID} to check if the char marked as main tank in group has a specific buff. Or if you want the condition to be true when the main tank is missing a specific buff it would be: !${Group.MainTank.Buff[buffname].ID}
 
Thanks! I can't wait until I have some time to try it out on some things. How about a way to loop through each member in group?
 
Thanks! I can't wait until I have some time to try it out on some things. How about a way to loop through each member in group?
if it's a group song like most of the sham ones are, then it won't matter because the whole group would have the same timer. So just casting if it's not on the main tank or not on yourself would be the best way to go. If it's a single target, then I'd just switch to the group version of the spell.
 
Question - Check buff/songs on MainTank

Users who are viewing this thread

Back
Top
Cart