Advertisement
Guest User

Untitled

a guest
Jan 7th, 2011
518
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. local frame = CreateFrame("FRAME", "DefaultUIScrips")
  2. frame:RegisterEvent("PLAYER_ENTERING_WORLD")
  3. local function eventHandler(self, event, ...)
  4.  
  5. for i = 1, 12 do _G["ActionButton"..i.."HotKey"]:Hide() end
  6. for i = 1, 12 do _G["BonusActionButton"..i.."HotKey"]:Hide() end
  7. for i = 1, 12 do _G["MultiBarBottomLeftButton"..i.."HotKey"]:Hide() end
  8. for i = 1, 12 do _G["MultiBarBottomRightButton"..i.."HotKey"]:Hide() end
  9.  
  10. for i = 1, 12 do _G["ActionButton"..i.."HotKey"]:Hide() end;for i = 1, 12 do _G["BonusActionButton"..i.."HotKey"]:Hide() end;for i = 1, 12 do _G["MultiBarBottomLeftButton"..i.."HotKey"]:Hide() end;for i = 1, 12 do _G["MultiBarBottomRightButton"..i.."HotKey"]:Hide() end
  11.  
  12. end
  13. frame:SetScript("OnEvent", eventHandler)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement