Skip to content

Commit

Permalink
And so it begins
Browse files Browse the repository at this point in the history
  • Loading branch information
tekkub committed Dec 30, 2009
0 parents commit a261ed6
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tekKrush.lua
@@ -0,0 +1,13 @@
local f = CreateFrame("Frame")
f:RegisterEvent("CONFIRM_DISENCHANT_ROLL")
f:SetScript("OnEvent", function(self, event, id, rollType)
for i=1,STATICPOPUP_NUMDIALOGS do
local frame = _G["StaticPopup"..i]
if frame.which == "CONFIRM_LOOT_ROLL" and frame.data == id and frame.data2 == rollType and frame:IsVisible() then StaticPopup_OnClick(frame, 1) end
end
end)


-- StaticPopupDialogs["LOOT_BIND"].OnCancel = function(self, slot)
-- if GetNumPartyMembers() == 0 and GetNumRaidMembers() == 0 then ConfirmLootSlot(slot) end
-- end
14 changes: 14 additions & 0 deletions tekKrush.toc
@@ -0,0 +1,14 @@
## Interface: 30300

## Title: tekKrush
## Notes: Yes, I really want to destroy that item, stop asking.
## Author: Tekkub Stoutwrithe
## Version: Alpha
## X-Website: http://tekkub.net/
## X-Email: tekkub-wow@googlegroups.com
## X-Category: Misc

## LoadManagers: AddonLoader
## X-LoadOn-Group: true

tekKrush.lua

0 comments on commit a261ed6

Please sign in to comment.