What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » code for replacing specific text with contactc name!

code for replacing specific text with contactc name!
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: code for replacing specific text with contactc name!
quote:
Originally posted by Orgrim Doomhammer
just a question... is there stg like (!N) that lets you display specific contacts nicknames? because if I use something like slap in a convo with more than one contact it will write the nick of every contact who's participating. I was wondering if there's a code like (!N1) etc. that shows the nick of the 1st contact participating to the convo etc.
No, if you want to reply with only one of them you'll need to code it that way using an enumeration of the ChatWnd::Contacts object. More info in the Scripting Documentation.

eg:
code:
for (var e = new Enumerator(oChatWnd.Contacts); !e.atEnd(); e.moveNext()) {
        var Contact = e.item();
        Debug.Trace(Contact.Name);
}
.-= A 'frrrrrrrituurrr' for Wacky =-.
05-24-2007 05:40 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
code for replacing specific text with contactc name! - by Lux on 05-23-2007 at 10:06 PM
RE: code for replacing specific text with contactc name! - by Sunshine on 05-23-2007 at 10:25 PM
RE: code for replacing specific text with contactc name! - by Lux on 05-23-2007 at 10:34 PM
RE: RE: code for replacing specific text with contactc name! - by Volv on 05-24-2007 at 01:42 AM
RE: code for replacing specific text with contactc name! - by Orgrim Doomhammer on 05-24-2007 at 04:34 PM
RE: code for replacing specific text with contactc name! - by CookieRevised on 05-24-2007 at 05:40 PM
RE: code for replacing specific text with contactc name! - by Volv on 05-25-2007 at 04:56 AM
RE: code for replacing specific text with contactc name! - by Orgrim Doomhammer on 05-25-2007 at 12:51 PM
RE: code for replacing specific text with contactc name! - by Matti on 05-25-2007 at 03:59 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