What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Get Contacts in a chat

Get Contacts in a chat
Author: Message:
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
RE: Get Contacts in a chat
well you need to set up an Enumerator and iterate through the contact objects

code:
function OnEvent_ChatWndCreated(ChatWnd){
for(var e = new Enumerator(ChatWnd.Contacts);!e.atEnd();e.moveNext()){
    Debug.Trace(e.item().Name);
    }
}

that will list all the names of the contacts in the conversation window (prints to the debugging window btw)


edit: if you look in the Scripting Documentation there is an example that is similar to this, except it lists the emails of the whole contact list. (uses same method)

This post was edited on 05-15-2008 at 07:34 PM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
05-15-2008 07:33 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Get Contacts in a chat - by Scripty on 05-15-2008 at 06:39 PM
RE: Get Contacts in a chat - by roflmao456 on 05-15-2008 at 07:33 PM
RE: Get Contacts in a chat - by Scripty on 05-15-2008 at 07:50 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