Macro question

Many years ago i recall using macros in wrath that had several casts of different abilities on the same button. Say for three abilities, push it once and it casts the first ability. Press it again and it casts the second ability. Press it a third time and it casts the third ability. Press it a fourth time and it casts the first ability again and continues in that fashion, like a state machine. Is that still possible? If not, is it possible i was using an add on? If so, anyone know which add on it was?

An example of what I’m trying to do is put three hunter traps on one button where the trap is just dropped at the player location, without having to use the mouse at all.

/cast [@player] Freezing Trap

That one works as intended. However …

/cast [@player] Freezing Trap
/cast [@player] Steel Trap
/cast [@player] Tar Trap

just drops the freezing trap and does not respond to any more button presses until the cooldown is up, and then it just drops freezing trap again. Is there a way to make it do what I want? Thanks in advance.

I believe it is /castsequence. I forget the exact format, but I believe you simply put a number after a space to indicate how long it’ll take until the sequence resets.

I’ve only seen macros that reset based on time. But I’d google to see how much is possible and the correct formatting.

It works! Thanks so much!!

/castsequence reset=25 [@player] Freezing Trap, Tar Trap, Steel Trap

Ah. Text macros.

I, uh, I’ll show myself out.

Correction. The reset has to go after the targeting or it does not reset, it just cycles through like a state machine, which would still work fine in this case but could cause problems with other sequences.

/castsequence [@player]reset=25 Freezing Trap, Tar Trap, Steel Trap

I find @target doesn’t seem to work (on a training dummy) for auto-placing the traps but @cursor does. Too bad you have to occupy your mouse at all for that though.

@target doesn’t work for cursor target spells. You can either use @cursor to skip the green circle target confirmation or @self to drop them on you.