Multiple Alt Spells Macro?

Heyo, tryna consolidate some spells. Basically trying to get things working across specs… here is a general idea of what I’m trying to make work:

#showtooltip
/cast [target=mouseover,mod:alt] Survival Instincts; Ironbark [target=mouseover] Barkskin

Basically want Survival Instincts to be replaced by Ironbark when I’m switching Bear/Resto, but also be mouseover castable for the ironbark… basically just want the alt modifier to swap out spells based on specs…

#showtooltip
/cast [mod:alt,spec:2/4,@mouseover,help,nodead] [mod:alt,spec:2/4] Ironbark; [mod:alt] Survival Instincts; Barkskin

Ok I should have tested this further, this doesn’t seem to work. The Ironbark is only casting on self, not mouseover targets…

Edit: figured it out, had self-cast on ALT turned on in the settings lul, anyways ty again!