View Single Post
06-26-10, 08:55 AM   #232
haylie
A Scalebane Royal Guard
 
haylie's Avatar
Join Date: May 2009
Posts: 417
Are you getting any errors? I think your syntax for bg_color (line 8) should be:

Code:
bg_color = "0.01 0.01 0.01",
Edit: Also try this syntax for your script:

Code:
OnLoad=function(self)
            self:RegsiterEvent'CHAT_MSG_CHANNEL_NOTICE'
end,
OnEvent=function(self)
        if event == "CHAT_MSG_CHANNEL_NOTICE" then
        if arg1 == "YOU_JOINED" and arg7 == 2 then
            Recount_MainWindow:Hide()
        elseif arg1 == "YOU_LEFT" and arg7 == 2 then
            Recount_MainWindow:Show()
            end
        end
end,
You're also putting it in the wrong spot, it should be before the "}," at line 11.

You're also missing a comma after strata = "BACKGROUND"

Last edited by haylie : 06-26-10 at 09:00 AM.
  Reply With Quote