Using 's in place of "s throws an error box "A macro script has been blocked from an action only available to the Blizzard UI" which leads me to believe RunScript inside /dump is not secure. Still hard at work on this though.Code:/dump RunScript("if UnitPower('player') > 50 then CastSpellByName('Heroic Strike')end")
Confirmed, any protected functions inside a RunScript, even after a /dump, are still protected and will make the macro no longer work.Code:/dump RunScript("local rage = UnitPower('player'); if (rage < 50) then StopMacro()end") /cast Heroic Strike