matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: What's wrong with my code?
js code: function OnEvent_Initialze(bMessengerStart) {
if (Messenger.MyStatus < 2) return false;
Messenger.MyPersonalMessage = 'Chats open: '+Messenger.CurrentChats.Count);
}
function OnEvent_ChatWndCreated(pChatWnd) {
Messenger.MyPersonalMessage = 'Chats open: '+Messenger.CurrentChats.Count);
}
function OnEvent_ChatWndDestroyed(pChatWnd) {
Messenger.MyPersonalMessage = 'Chats open: '+Messenger.CurrentChats.Count-1);
}
That would do it...
This post was edited on 03-18-2009 at 05:44 AM by matty.
|
|