I’ve recently gotten into macros, and I’m in the process of reducing my bar footprint by setting up macros for button conditionals etc, however I’m also attempting to combine multiple specs into macros (using the [spec:] conditional), so I don’t have to have several macros, for each button for each spec.
My question is whether or not there is a syntax, or if it’s even possible to nest a set of conditionals under a ‘parent’ conditional; for example, one current macro is
#showtooltip
/cast [mod:ctrl,spec:2]Trueshot;[mod:ctrl,spec:3]Coordinated Assault;[mod:shift,spec:3]Harpoon;[mod:shift,spec:2,talent:6/3]Double Tap;[spec:2]Arcane Shot;[spec:3]Serpent Sting;
and this works fine, but if I want to add more modifiers, alt,shiftalt etc. it’s REALLY pushing the character limit. What I would like is something akin to
/cast
[spec:2] { [mod:ctrl]Trueshot;[mod:shift,talent:6/3]Double Tap;Arcane Shot; }
[spec:3] { [mod:ctrl]Coordinated Assault;[mod:shift]Harpoon;Serpent Sting; }
where the braces denote that the modifiers cast spells if in a certain spec, as opposed to having if modifier AND spec for every spell.
Alternatively, to the same effect;
/cast [mod:ctrl] { [spec:2]Trueshot;[spec:3]Coordinated assault }
Is there currently any way of doing this, maybe a type of parentheses, or some other syntactical thing that I’ve missed?