What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » welcome toast

welcome toast
Author: Message:
cameron.stokes3
New Member
*


Posts: 12
32 / Male / –
Joined: Jan 2007
O.P. Huh?  RE: welcome toast
code:
function OnEvent_SigninReady(sEmail){
var contacts = Messenger.MyContacts;
var online = 0;
var offline = 0;
for(var e = new Enumerator(contacts); !e.atEnd(); e.moveNext()){
item = e.item();
if(item.Status != 1 && item.Status != 0){
online++;
} else {
offline++;
}
}

function OnEvent_SigninReady(_email) {
if (_email === 'blaa@blaa.com') {
MsgPlus.DisplayToast('Welcome', 'Hello and Welcome to Windows Live Messenger NAME.\n\r\n You have '+online+' contacts online.');
}
}

hi...  i am tryin to make the toast show how many contacts are online and this is what ive come up with... im not very good at this as it doesnt work :S do you know how to make it do what i want?

This post was edited on 01-25-2007 at 06:52 PM by cameron.stokes3.
01-25-2007 06:49 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
welcome toast - by cameron.stokes3 on 01-20-2007 at 03:30 PM
RE: welcome toast - by matty on 01-20-2007 at 04:06 PM
RE: welcome toast - by cameron.stokes3 on 01-25-2007 at 06:29 PM
RE: welcome toast - by plus on 01-25-2007 at 06:36 PM
RE: welcome toast - by Supersonicdarky on 01-25-2007 at 06:37 PM
RE: welcome toast - by Jimbo on 01-25-2007 at 06:43 PM
RE: welcome toast - by plus on 01-25-2007 at 06:47 PM
RE: welcome toast - by cameron.stokes3 on 01-25-2007 at 06:49 PM
RE: welcome toast - by Supersonicdarky on 01-25-2007 at 06:55 PM
RE: welcome toast - by cameron.stokes3 on 01-25-2007 at 07:24 PM
RE: welcome toast - by Jimbo on 01-25-2007 at 07:54 PM
RE: welcome toast - by cameron.stokes3 on 01-26-2007 at 04:41 PM
RE: welcome toast - by lrac522 on 01-26-2007 at 06:11 PM
RE: welcome toast - by Supersonicdarky on 01-26-2007 at 07:06 PM
RE: welcome toast - by lrac522 on 01-26-2007 at 07:10 PM
RE: RE: welcome toast - by CookieRevised on 01-26-2007 at 07:59 PM
RE: welcome toast - by plus on 01-26-2007 at 08:14 PM


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