• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Request - Condition check for a class

Joined
Sep 25, 2017
RedCents
3,230¢
I would like to set my shaman ini up so he will cast Celerity if no chanter is in the group, but I cannot find an example of a conditional check for a player class. Could some kind soul post such a condition check? Thanks.
 
I'd just check to see if the target has the enchanter haste buff
Code:
!${Target.Buff[chanter haste].ID}
you could use Spawn[pc class enchanter radius 30], but I think the buff check would be easier
 
One of the holyshits I use on my paladin is


Code:
holyshit12=/if (!${Target.Slowed.ID} && ${Me.Inventory[mainhand].ID}!=133167  && (!${SpawnCount[pc slower group]}  || ${SpawnCount[pc group slower]} && ${Spawn[pc group slower].Type.Equal[Corpse]}) && ${Target.Body.Name.NotEqual[Undead]}) /Bandolier Activate Slow

Which basically has him use a slow weapon if there is no slower in the group.

To this end I expect you ought to be able to use !${SpawnCount[PC Group class enchanter]} though I am unable to test it right now. Test it out some ingame using "/echo !${SpawnCount[PC Group class enchanter]}" while grouped and make sure you get a "!TRUE" return (the ! inverts the result, so a !TRUE is a FALSE when processed by MQ)

Check out https://www.redguides.com/docs/projects/macroquest/reference/top-level-objects/tlo-spawncount/ for more details.

Once you do figure it out, I recommend putting in the "check if enchanter is dead" part too.
 
you could also use ${Math.Calc[${Group.Member[your enchanters name].Present}].Int}
if it's a static toon you always use
 
Request - Condition check for a class

Users who are viewing this thread

Back
Top
Cart