I'm trying to make an auto-cancelaura macro. This is my attempt
Lua Code:
/script local function cancelauraOnUpdate(self) CancelUnitBuff("player", "Path of Frost") end; local f = CreateFrame("frame"); f:SetScript("OnUpdate", cancelauraOnUpdate)
How to disable the macro, for example, by right-clicking?
Thanks in advance