MACRO HELP! plz

Hi! I’am trying to get this (what i thought was a simple macro) to work.

I want to click one button to switch my pants, THEN click again to cast the rune ability on the pants.
THEN, click again to equip my previous pants.

The problem is it casts the legs rune ability and switches to leggings of the the Fang at the same time. (this is no good because it cancels the legs rune ability) All i want is to require a 2nd click (or 3rd click overall) to re-equip leggings of the fang.

Anyone have any solutions?

The macro is as follows…

#showtooltip Legs Rune Ability
/equip Scouting Trousers of Agility
/cast Legs Rune Ability
/equip Leggings of the Fang

I would be fine with something like

#showtooltip Legs Rune Ability
/equip Scouting Trousers of Agility
/cast Legs Rune Ability
/equipsequence reset=15 Leggings of the Fang

If that were a thing but it doesnt seem to be.

Does classic support equipment sets?

If so I’d make 1 set with a tabard and use that as your test to cast or not cast the rune.

#showtooltip Legs Rune Ability
/cast [worn:tabard] Legs Rune Ability
/eqset [worn:tabard] JustPants; PantsAndTabard