View Single Post
10-13-16, 02:10 PM   #2
pas06
A Theradrim Guardian
Join Date: Apr 2009
Posts: 62
something like this:
Code:
local f=CreateFrame("Frame")
local color = {r = 1, g = 1, b = 1} --white
local text = GetSpellInfo(205022)
f:RegisterEvent("ZONE_CHANGED_NEW_AREA")
f:SetScript("OnEvent",function(self,event)
	RaidNotice_AddMessage(RaidWarningFrame, text, color)
	PlaySound("RaidWarning")
end)
it plays a sound and writes the name of the spell in the raidwarning frame
  Reply With Quote