HELP make this WL aio pet macro shorter

Hello,
i made a macro to cast Seduction, Devour Magic or Suffering (dependent on wich pet is active) on my mouseover target. if there is no mouseover cast on sticky target instead.

#showtooltip
/cast [pet:succubus,@mouseover,exists]Seduction;[pet:succubus]Seduction;[pet:Felhunter,@mouseover,exists]Devour Magic;[pet:Felhunter]Devour Magic;[pet:Voidwalker,@mouseover,exists]Suffering;[pet:Voidwalker]Suffering;[pet:imp,@…xx…]Singe Magic

it works as expected, but i do not have space to add a Singe Magic part for the imp due to the 255 sign limit :frowning: any ideas how i can make this shorter?
Thanks

1 Like
#showtooltip
/cast [pet:succubus,@mouseover,exists][pet:succubus]Seduction;[pet:felhunter,@mouseover,exists][pet:felhunter]Devour Magic;[pet:voidwalker,@mouseover,exists][pet:voidwalker]Suffering;[pet:imp,@mouseover,exists][pet:imp]Singe Magic

Basically, you can combine [pet:X,@mouseover,exists] SPELL; [pet:X] SPELL into [pet:X,@mouseover,exists][pet:X] SPELL, saving a whole lot of characters.

1 Like

You could also use Command Demon instead of specifying each pet/spell.

#showtooltip
/cast [@mouseover,exists,nodead] [] Command Demon

You can also set the Voidwalker spell as the default saving the need to include the longest pet name twice:

#showtooltip
/cast [pet:succubus,@mouseover,exists] [pet:succubus] Seduction;[pet:Felhunter,@mouseover,exists] [pet:Felhunter] Devour Magic;[pet:imp,@mouseover,exists] [pet:imp] Singe Magic; [@mouseover,exists] [] Suffering
2 Likes

To save even more character spaces, use harm or help where appropriate instead of exists.

Edit: help/harm includes the exists logic. :slight_smile:

2 Likes

Thank you all for the replys, mixed them all together and ended with this:

#showtooltip /cast [pet:succubus,@mouseover,harm][pet:succubus]seduction;[pet:felhunter,@mouseover,harm][pet:felhunter]devour magic;[pet:imp,@mouseover,help][pet:imp,@player]singe magic;[nopet]subjugate demon;[@mouseover,harm][]suffering

#showtooltip
/cast [nopet]subjugate demon;[pet:felhunter,@mouseover,harm][pet:felhunter]devour magic;[pet:voidwalker,@mouseover,harm][pet:voidwalker]suffering;[@mouseover,exists][]command demon

right [nopet] first one makes sense^^

Nah. Combined Singe Magic and Seduction into a single condition set using Command Demon.

For demo spec i probably will make use of that. However doesnt say the imp to target me if theres no mouseover right?

No need, just enable Interface > Combat > Auto Self Cast.

Thank you very much for this tip, Tritambarum. I would be very grateful if you can also confirm the logic relationships between nodead and exists.

There isn’t one. dead implies exists but nodead does not.

Thank you. So, it is useful sometimes to use them both.

I always recommend using nodead (if it applies) for mouseover macros if you’ve got the space for it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.