What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] Contacts - Using the wrong status

[?] Contacts - Using the wrong status
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. [?] Contacts - Using the wrong status
I'm using the following code:
code:
var StatusImg = new Array('','Offline', 'Online'/*Current User*/, 'Online'/*Contact*/, 'Busy', 'Away', 'Away', 'Away', 'Busy', 'Away','Blocked',"Blocked-offline");

    var Contacts = Messenger.MyContacts;
    var e = new Enumerator(Contacts);
    for(; !e.atEnd(); e.moveNext()) {
            var Contact = e.item();
            Wnd.LstView_AddItem('contacts', Contact.Email, 0);
            Wnd.LstView_SetItemIcon('contacts', Wnd.LstView_GetCount('contacts'), StatusImg[Contact.Status], true);
            if(Contact.Blocked==true&&Contact.Status!=1)Wnd.LstView_SetItemIcon('contacts', Wnd.LstView_GetCount('contacts'), StatusImg[10], true);
            if(Contact.Blocked==true&&Contact.Status==1)Wnd.LstView_SetItemIcon('contacts', Wnd.LstView_GetCount('contacts'), StatusImg[11], true);
            Debug.Trace("Contact Status: "+Contact.Status+" | StatusImg["+Contact.Status+"] = '"+StatusImg[Contact.Status]+"'");
    }

MOST of my contacts appear offline (Only certain ones appear online, busy or away; about 5) and all the images are the "Away" image... Can anybody see something I can't?
<Eljay> "Problems encountered: shit blew up" :zippy:
10-05-2007 08:35 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] Contacts - Using the wrong status - by Spunky on 10-05-2007 at 08:35 PM
RE: [?] Contacts - Using the wrong status - by vikke on 10-05-2007 at 08:48 PM
RE: [?] Contacts - Using the wrong status - by Spunky on 10-05-2007 at 10:47 PM
RE: RE: [?] Contacts - Using the wrong status - by vikke on 10-05-2007 at 11:02 PM
RE: [?] Contacts - Using the wrong status - by Chris4 on 10-05-2007 at 10:59 PM
RE: [?] Contacts - Using the wrong status - by Spunky on 10-05-2007 at 11:08 PM
RE: [?] Contacts - Using the wrong status - by phalanxii on 10-06-2007 at 01:13 AM
RE: [?] Contacts - Using the wrong status - by markee on 10-06-2007 at 01:58 AM
RE: [?] Contacts - Using the wrong status - by Spunky on 10-06-2007 at 05:19 PM
RE: [?] Contacts - Using the wrong status - by Chris4 on 10-07-2007 at 02:08 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