It's probably a noob question you've all seen before, but: how does the macro UI handle multiple /cast or /click commands in sequence? It isn't working the way I expect.

A shortened version of the macro I want is this:

/cast Revenge
/cast Shield Slam
/cast Devastate

I want it to be just like clicking those three buttons. (In fact, I tried /click Revengebutton // /click Shieldslambutton // /click Devastatebutton too, but it didn't work either). But instead, it seems to always be trying to cast Devastate without trying the others. Is there any way to do this, or do I have to constantly faceroll 1-2-3 every half second to get this behavior?