• 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

Config - Trying to figure out conditional for count of mobs that have aggro

So I am trying to get a conditional for snare, that checks if the target already doesn't have snare and if I have multiple mobs aggroed since I typically only need to fire off snare when I am fighting just one mob so he doesn't run.

Right now I have the Cond2=!${Target.Snared.ID} &&
But I am trying to see if anyone knows of something I can test with off the Xhater for instance to see the total number of mobs and make sure it only fires if it is < 2 for instance.

I did see a post https://www.redguides.com/community...ractice-to-get-number-of-mobs-on-aggro.90482/ that seemed promising but from those it appeared that was only accessible in the macro and not as a reference for the conditional statements in kissassist. Does anyone know of anything similar like this that I could throw into the conditional statement?

Thank you,
qaldyari
 
So I am trying to get a conditional for snare, that checks if the target already doesn't have snare and if I have multiple mobs aggroed since I typically only need to fire off snare when I am fighting just one mob so he doesn't run.

Right now I have the Cond2=!${Target.Snared.ID} &&
But I am trying to see if anyone knows of something I can test with off the Xhater for instance to see the total number of mobs and make sure it only fires if it is < 2 for instance.

I did see a post https://www.redguides.com/community...ractice-to-get-number-of-mobs-on-aggro.90482/ that seemed promising but from those it appeared that was only accessible in the macro and not as a reference for the conditional statements in kissassist. Does anyone know of anything similar like this that I could throw into the conditional statement?

Thank you,
qaldyari
I've used the following:
Cond1=${Me.XTAggroCount} >= 3

If you look at the wiki for the XTAggroCount, you will see it also refers to XAssist (if MQ2XAssist is loaded) so it seems you could also do something like this:

Cond1=${XAssist.XTFullHaterCount} < 2
 
I've used the following:
Cond1=${Me.XTAggroCount} >= 3

If you look at the wiki for the XTAggroCount, you will see it also refers to XAssist (if MQ2XAssist is loaded) so it seems you could also do something like this:

Cond1=${XAssist.XTFullHaterCount} < 2
Thank you. The Second one with Xassist loaded seems to work more reliably for what I needed.
 
Config - Trying to figure out conditional for count of mobs that have aggro

Users who are viewing this thread

Back
Top
Cart