Thanks to Gello for this.
Quote:
Set Assist:
/script local n=UnitName("target") if n and not InCombatLockdown() then EditMacro(GetMacroIndexByName("Assist"),"Assist",nil,"/assist "..n) DEFAULT_CHAT_FRAME:AddMessage("Assist set to "..n) end
Assist:
/assist (anything -- above macro edits this one)
|