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"