Vlad is correct, but as long as it last is however nice to take advantage of it imho
Btw tested and working:
/ifcast Stormstrike
/cast Stormstrike
/elseifaddtb Flame Shock
/cast Flame Shock
/else
/cast Earth Shock
/end
For Enhacement Shaman dps rotations and:
/ifcast Fire Nova Totem
/cast Fire Nova Totem
/else
/cast Magma Totem
/end
For a suboptimal Totems AOE... It miss only an "existance" check on FN totem to be perfect
Bye!
P.S.
On the other hand this isn't exactly an "Exploitation" or a "Cheat" and my limited knowledge about the syntax used make me think that it would be quite difficult to block this kinds of subroutines.... At last I hope that. Btw anyone coulde achive something nearly identical with a good programmable keyboard, and that is silently permitted by Blizzard. Hope, hope, hope.