View Single Post
01-09-10, 10:17 PM   #6
Akryn
A Firelord
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 479
What I mean is, that what you need to add is inside the function e.g.
Code:
local frame = CreateFrame("FRAME", "RFFrame");
frame:RegisterEvent("UNIT_AURA");
local function eventHandler(self, event, ...)
 --ADD YOUR CODE HERE
 print("Rigtheous Fury is now activated " .. event);
end
frame:SetScript("OnEvent", eventHandler);
Given what you've posted so far, you might want to start with something like http://www.wowwiki.com/AddOn_program...l/Introduction
  Reply With Quote