What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » important script help

important script help
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: important script help
I won't give you simple copy-paste code because I think it's better for you to learn it yourself. :)

You'll first need an event to capture the message received. Then, you'll need to compare the Origin to all contact names in your list. When you have a match, you use the e-mail address of that contact to open a chat window and send a message.

So, you need an OnEvent_ChatWndReceiveMessage, which first checks that the message isn't yours by comparing Origin to Messenger.MyName. Then, you need to loop through ChatWnd.Contacts and check the name of each contact in the conversation. If you have a match, you store the contact object and break the loop. Then, you open a chat with "var oChatWnd = Messenger.OpenChat(Contact.Email)" and then you use "oChatWnd.SendMessage('Message')" to send the message. :)

Give it a try! ;)

This post was edited on 09-13-2007 at 03:18 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
09-12-2007 06:45 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
important script help - by jollyscripts on 09-12-2007 at 06:30 PM
RE: important script help - by Spunky on 09-12-2007 at 06:43 PM
RE: important script help - by Matti on 09-12-2007 at 06:45 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