View Single Post
01-09-10, 09:56 PM   #5
opismahname
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 23
Hmm... Think I at least get a little bit of what you wrote.

Will it be like this?

Code:
local frame = CreateFrame("FRAME", "RFFrame");
frame:RegisterEvent("UNIT_AURA");
local function eventHandler(self, event, ...)
 print("Rigtheous Fury is now activated " .. event);
end
frame:SetScript("OnEvent", eventHandler);
if Rigtheous Fury (or is it supposed to be...?) == "player" then
**Didnt't get "--your existing code, or do you mean everything that i already have written?"**
end
Haven't coded like this or something before so I am really bad at this :P
  Reply With Quote