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