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:
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: What's wrong with my code?
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("WindowsCount", 5000);
    var Windows = Messenger.CurrentChats;
    Messenger.MyPersonalMessage ("Chats open: " + Messenger.CurrentChats);
}

Unless you want the script to set your PSM only three times (on initialize, at 5000 and 10000 seconds), you should consider updating your script ;)
(for now, I'm assuming Messenger.CurrentChats shows the chat window count. I can't check since I don't have messenger and the Plus! documentation here :P)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
03-18-2009 04:27 AM
Profile E-Mail PM Web 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