What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] Simple script

[Request] Simple script
Author: Message:
epower
New Member
*


Posts: 2
Joined: Sep 2007
O.P. [Request] Simple script
hello, i need help...

I want a script that would send a message every time a conversation is created... like when you open a conversation window with a contact "hello" is sent, and same when a contact opens the window and sends you a message...

thanks
09-30-2007 02:48 PM
Profile E-Mail PM Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
33 / Male / Flag
Joined: Dec 2004
RE: [Request] Simple script
Pretty sure this can be done with Answering Machine Plus. :grin:
Twitter: @ChrisLozeau
09-30-2007 03:08 PM
Profile PM Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: [Request] Simple script
code:
function OnEvent_ChatWndCreated(ChatWnd){
    ChatWnd.SendMessage("hello");
}

This does exactly what you are after.  If you wanted a different message then change hello.  To implement this then go into the Messenger Plus! Live preferences > General > Scripts > Create New... > Give it a name you want > OK > paste the code in the large box > OK > your script is now running.

This post was edited on 09-30-2007 at 03:48 PM by markee.
[Image: markee.png]
09-30-2007 03:15 PM
Profile PM Find Quote Report
epower
New Member
*


Posts: 2
Joined: Sep 2007
O.P. RE: [Request] Simple script
Hey markee thanks.. i tried to make it on my own but i didnt get the part at line 2 :D thanks !!! appreciate it.

btw chris4 i know about answering machine plus, but thats not what i want.

Edit: u missed a "S" on message

function OnEvent_ChatWndCreated(ChatWnd){
    ChatWnd.SendMesage("hello");
}

This post was edited on 09-30-2007 at 03:41 PM by epower.
09-30-2007 03:33 PM
Profile E-Mail PM Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: [Request] Simple script
quote:
Originally posted by epower
Hey markee thanks.. i tried to make it on my own but i didnt get the part at line 2 :D thanks !!! appreciate it.

btw chris4 i know about answering machine plus, but thats not what i want.

Edit: u missed a "S" on message

function OnEvent_ChatWndCreated(ChatWnd){
    ChatWnd.SendMesage("hello");
}
I'm sorry about that, I've been doing a huge assignment all day and also sometimes my keyboard doesn't like to record me pressing the button so the two together aren't a good combination.  I'm glad I could help you and stick in there with the scripting.
[Image: markee.png]
09-30-2007 03:49 PM
Profile PM 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