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

Get contact numbers
Author: Message:
Leydorn
New Member
*

Avatar

Posts: 2
41 / Other / Flag
Joined: Sep 2008
O.P. Huh?  Get contact numbers
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)

This post was edited on 09-02-2008 at 07:39 PM by Leydorn.
09-02-2008 05:13 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Get contact numbers - by Leydorn on 09-02-2008 at 05:13 PM
RE: Get contact numbers - by Spunky on 09-02-2008 at 07:21 PM
RE: Get contact numbers - by Leydorn on 09-02-2008 at 08:44 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