Mercurial > wow > oocdo
comparison OOCDo.lua @ 2:56099742e29b v2
oops, dot address should be default or it will be broken
author | rowaasr13 |
---|---|
date | Sat, 08 Oct 2016 23:59:48 +0300 |
parents | 7284e8117321 |
children | 0a7fd4d73d30 |
comparison
equal
deleted
inserted
replaced
1:d5e5eee5b216 | 2:56099742e29b |
---|---|
16 button, -- header | 16 button, -- header |
17 'return nil, "reset"', -- pre | 17 'return nil, "reset"', -- pre |
18 'self:SetAttribute("macrotext", "")' -- post | 18 'self:SetAttribute("macrotext", "")' -- post |
19 ) | 19 ) |
20 | 20 |
21 function button:MacroText(command, command2) | 21 function button.MacroText(command, command2) |
22 if command == button then command = command2 end | 22 if command == button then command = command2 end |
23 if InCombatLockdown() then return end | 23 if InCombatLockdown() then return end |
24 button:SetAttribute("macrotext", command) | 24 button:SetAttribute("macrotext", command) |
25 end | 25 end |
26 | 26 |