View Single Post
06-29-10, 05:28 PM   #241
Miralen
A Rage Talon Dragon Guard
 
Miralen's Avatar
Join Date: Dec 2006
Posts: 341
OMG if that actually does it I am an idiot lol, going to try this out right now, really hope this works in a way and in another way kind of not cause than I will feel really idiotic.

Edit: This does work in the sense that it hides recount in a capital city but now when I leave it won't reappear also I have edited it to show a chatframe in a capital town and make that disappear when leaving, the appearing of it works the disappearing of it doesn't...Very strange.

Code:
        OnLoad=function(self)
            self:RegisterEvent'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()
                ChatFrame4:Show()
            elseif arg1 == "YOU_LEFT" and arg7 == 2 then
                ChatFrame4:Hide()
                Recount_MainWindow:Show()
                end
            end
        end,
__________________
Never hold discussions with the monkey when the organ grinder is in the room.

- Winston Churchill

Last edited by Miralen : 06-29-10 at 06:48 PM.
  Reply With Quote