What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » noob in need of some help

noob in need of some help
Author: Message:
bigbob85
Full Member
***

Avatar
Is Good, Is Bob...

Posts: 128
Reputation: 4
36 / Male / Flag
Joined: Jul 2003
RE: noob in need of some help
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
    var Contacts = ChatWnd.Contacts;
    var e = new Enumerator(Contacts);
    for(; !e.atEnd(); e.moveNext())
    {
        var Contact = e.item();
        Debug.Trace(" " + Contact.Name.substring(0, 20));
    }
}

You should be able to adapt that into something useful.
Contact.Name - Name of the contact in the chat.
substring(start, end) - cuts down the string from start, till end.

Might also want to check Contacts.count to see if its 1 (only 1 contact in a the chat window).

Hope that helps.
10-27-2007 04:18 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
noob in need of some help - by Gareth_2007 on 10-25-2007 at 01:10 AM
RE: noob in need of some help - by bigbob85 on 10-26-2007 at 01:41 AM
RE: noob in need of some help - by Gareth_2007 on 10-26-2007 at 02:20 PM
RE: noob in need of some help - by bigbob85 on 10-27-2007 at 04:18 AM


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