What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » erm... im not sure :S :(

erm... im not sure :S :(
Author: Message:
cameron.stokes3
New Member
*


Posts: 12
32 / Male / –
Joined: Jan 2007
O.P. erm... im not sure :S :(
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++;
}
}
MsgPlus.DisplayToast('Welcome!', 'Hello '+sEmail+' You have '+online+' contacts online.');
}


that is what i have so far... it all works and im happy with it but i want to take it one step further... how would i make it so instead of saying "Hello name@domain.com" its just says the first part of the email and disregards the @ and everything after it... so when you sign in it just says "Hello name"
01-28-2007 10:05 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
erm... im not sure :S :( - by cameron.stokes3 on 01-28-2007 at 10:05 AM
RE: erm... im not sure :S :( - by Felu on 01-28-2007 at 10:55 AM
RE: erm... im not sure :S :( - by Matti on 01-28-2007 at 11:07 AM
RE: erm... im not sure :S :( - by cameron.stokes3 on 01-28-2007 at 03:22 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