Message: [string "/startattack..."]:1: unexpected symbol near '/'
Time: 09/03/10 19:55:02
Count: 28
Stack: [C]: in function `RunScript'
Interface\AddOns\SuperDuperMacro\SuperDuperMacro.lua:1107: in function `sdm_RunScript'
[string "sdm_RunScript("fury")"]:1: in main chunk
[C]: in function `RunScript'
Interface\FrameXML\ChatFrame.lua:1996: in function `?'
Interface\FrameXML\ChatFrame.lua:4049: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3660: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:2477: in function <Interface\FrameXML\ChatFrame.lua:2470>
[C]: in function `UseAction'
Interface\FrameXML\SecureTemplates.lua:310: in function `handler'
Interface\FrameXML\SecureTemplates.lua:529: in function <Interface\FrameXML\SecureTemplates.lua:478>
Locals: (*temporary) = "/startattack
/use 14
/use 13
/run if(UnitPower('player'))<=30 and GetSpellCooldown('Bloodrage')==0 then CastSpellByName('Bloodrage')end
/run if(UnitPower('player'))>=60 and IsShiftKeyDown() then CastSpellByName('Cleave')end
/run if(UnitPower('player'))>=60 and (UnitHealth("target")/UnitHealthMax("target")>0.2) and not IsShiftKeyDown() then CastSpellByName('Heroic Strike')end
#SUNDER
/run s={UnitDebuff("target","Sunder Armor")} if (IsSpellInRange("Slam")==0 and UnitPower("player")<15) or GetCVar("sunder")=="no" then SetCVar("slam","Slam") return elseif (s[4]==5 and s[7]-GetTime()<=4) then CastSpellByName("Sunder Armor") elseif not UnitDebuff("target","Sunder Armor") or s[4]==1 or s[4]==2 or s[4]==3 or s[4]==4 then SetCVar("slam","Sunder Armor") else SetCVar("slam","Slam") end
#>20% ROTATION
/run c=CastSpellByName cd=GetSpellCooldown r=UnitPower('player') p='player' b=UnitBuff bt='Bloodthirst' ww='Whirlwind' t='target' u=IsUsableSpell vr="Victory Rush" if (UnitHealth(t)/UnitHealthMax(t)<=0.2)