View Single Post
06-04-09, 07:46 PM   #17
goris29
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jun 2009
Posts: 16
Ok thanks man. Any idea as to why this code isn't working. I've looked at other addons and on forums and this seems to be correct but when I load WoW to test it, it says there's an unknown symbol on line 21

Code:
function Frame1_OnEvent()
Frame1:RegisterEvent("CHAT_MSG_ADDON")
Frame1:SetScript("OnEvent", local function(self, event, prefix, text, channel, sender)--line 21
        if prefix == "Roll" then 
            Frame1:Show()
        end
    end
 end )
end
  Reply With Quote