PvP Brewmaster help.

I’m dabbling in PvP as a Brewmaster because I love the survivability, I’ve started somewhat of a macro I just don’t know enough of the syntax to really get it to fire off like I want to. Here’s the order and priority of the abilities I would like to use.

  1. Dizzying Haze
  2. Leg Sweep
  3. Purifying Brew
  4. Legacy of the Emporer
  5. Jab
  6. Tiger Palm
  7. Keg Smash
  8. Breath of Fire
  9. Fortifying Brew
  10. Spinning Crane Kick
  11. Dampen Harm
  12. Blackout Kick
  13. Expel Harm
  14. Chi Wave
  15. Guard

Legacy of the Emporer might not be appropriate in a macro, I just like to make sure it stays up for the bonuses. Also as I understand it, some abilities might need to be listed more than once to ensure they go off properly. My playstyle typically is to do fundamental battleground objectives unless I’m engaged by the enemy, then I hit the macro and worry about footwork and placement to avoid as many attacks as possible from the enemy. Afterward, macro goes back off and I continue with objectives (capture the flag, hold base, etc…).