I'm trying to learn the macro system, and my first thought was to make a macro to help with Intercepting and Charging. To keep it simple, I'm going to stick to only worrying about Intercept for now until I get this one working.
Basically what I want to do is if I'm in Berserker Stance, just intercept. If I'm in either Defensive Stance or Battle Stance, switch to Berserker Stance then Intercept. So far I've found examples of macros that work like this. However, after this is done, i want to switch back to whatever stance I was in previously. So this is what I'm trying to figure out how to do currently.
Would the following macro simply switch to Berserker Stance and then Intercept?
/cast [combat,nostance:3] Berserker Stance; [combat,stance:3] Intercept
What I'm a little confused about is that the macro guides I have read said that macros are executed "all-at-once". If that's the case, How does the above macro know not to execute Intercept until after it switched to Berserker Stance?
So anyway assuming that does the job of Intercepting, how can I switch back to the previous stance? I was thinking about two different macros. One for my Battle Stance Action Bar, and one for my Defensive Stance Action Bar. That way it doesn't have to remember which stance it was on, it can just be hardcoded. Would something like this work?
Defensive Stance Macro
/cast [combat,nostance:3] Berserker Stance; [combat,stance:3] Intercept
/stopcasting
/cast Defensive Stance
Battle Stance Macro
/cast [combat,nostance:3] Berserker Stance; [combat,stance:3] Intercept
/stopcasting
/cast Battle Stance