View Single Post
07-28-10, 12:18 PM   #2
LCFHeLL
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 4
Code:
--[[
  Sample debugging code.
--]]

local addon = CreateFrame"Frame" 

print("debugger")

addon:SetScript("OnEvent", function(self, event, time, subevent)
  if(subevent=="SPELL_AURA_APPLIED") then
    print("event detected")
  end
end)

addon:RegisterEvent"COMBAT_LOG_EVENT_UNFILTERED"
something like this
  Reply With Quote