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:
jollyscripts
Junior Member
**


Posts: 16
Joined: Aug 2007
O.P. important script help
in part of my script i had

ChatWnd.Msgbox ("hi") but this dont work in msn after i tried it

i need to be able to receive any message from someone, and have that message sent straight to someone else.
i need it to start with "auto: then the message
any help?

i dont need it in a pop up box , as long as it sends to the other person!
09-12-2007 06:30 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: important script help
Check your PM for the reply I sent you
<Eljay> "Problems encountered: shit blew up" :zippy:
09-12-2007 06:43 PM
Profile PM Find Quote Report
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 »


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