Made a disarm one last night for BG. What it does is check for def stance, if you're in def stance it will disarm. If not, it'll stick you in def stance, click it again and it'll disarm. Works a treat
Much easier than selecting def stance then disarm.
Disarm
Code:
/script texture,name,isActive,isCastable = GetShapeshiftFormInfo(2); if isActive then CastSpellByName("Disarm()"); else CastSpellByName("Defensive Stance()"); end;
Taunt
Code:
/script texture,name,isActive,isCastable = GetShapeshiftFormInfo(2); if isActive then CastSpellByName("Taunt()"); else CastSpellByName("Defensive Stance()"); end;