alexp2_ad recently made this code for me so it would show how many people were online when i signed into msn
Is it possible for someone to edit the code below so that every 30mins or 1hour or something, it showed a toast with xx contacts are online and xx contacts are offline.
Is it possible to make the time ie 30 mins, 1hr etc a variable so there is someway of customizing it.
Thanks
134jimbodude
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.DisplayToastContact('Online',online+' contacts are online',offline+' contacts are offline');
}