Hello everybody,
I have a problem with a script showing contact numbers, as it's showing less contacts than I really have.
The part of the script is :
function getContacts()
{
var contacts = Messenger.MyContacts;
var online = 0;
var offline = 0;
var c;
for(var enume = new Enumerator(contacts);!enume.atEnd();enume.moveNext()){
c = enume.item();
if(c.Status != 1){
online++;
}
else {
offline++;
}
}
if(DEFAULT_USERS == 2) {
return online + ' En ligne | ' + offline;
}
else {
return online;
}
Is there anything to change?
Thanks
(the entire script also indicates the total RAM and the RAM used, and the time since the computer has started)