What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » What's wrong with my code?

What's wrong with my code?
Author: Message:
xVengeance
New Member
*


Posts: 2
Joined: Mar 2009
O.P. What's wrong with my code?
Hi, I'm new to MsgPlus! Scripting and I was wondering what was wrong with my code.

What it's SUPPOSED to do is get the number of active chats and display it in your Display Message.

But seeing as how the Documentation was so wonderful in not showing any examples, I'm going to need some 3rd party help.

code:
function OnEvent_Initialize(MessengerStart)
{
    MsgPlus.AddTimer("WindowCount", 5000);
    var Windows = Messenger.CurrentChats;
    Messenger.MyPersonalMessage ("Chats open: " + Windows);
}

function OnEvent_Uninitialize(MessengerExit)
{
   
}

function OnEvent_Timer(WindowCount)
{
    MsgPlus.AddTimer("WindowsCounts", 5000);
    var Windows = Messenger.CurrentChats;
    Messenger.MyPersonalMessage ("Chats open: " + Messenger.CurrentChats);
}

function OnEvent_Timer(WindowsCounts)
{
    var Windows = Messenger.CurrentChats;
    Messenger.MyPersonalMessage ("Chats open: " + Messenger.CurrentChats);
}

This post was edited on 03-18-2009 at 03:21 AM by xVengeance.
03-18-2009 03:21 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
What's wrong with my code? - by xVengeance on 03-18-2009 at 03:21 AM
RE: What's wrong with my code? - by John Anderton on 03-18-2009 at 04:27 AM
RE: What's wrong with my code? - by xVengeance on 03-18-2009 at 05:40 AM
RE: What's wrong with my code? - by matty on 03-18-2009 at 05:42 AM
RE: What's wrong with my code? - by MeEtc on 03-18-2009 at 06:47 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On