What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Helping in scripting

Helping in scripting
Author: Message:
Akos
New Member
*


Posts: 1
Joined: Oct 2009
O.P. Helping in scripting
Hello guys, I'd like to get a little help :]
I want a script like this:
If someone says: !Wazzap
My MSN would automatically anwser that, like this: Nothing as usually, didn't you know?:)

I'd like the scripting of this, I would add more then one of this,

Thanks,
Akos.
10-02-2009 07:09 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Helping in scripting
Based on a recent post by Matti here: Matti's reply to [REQ] Name Remote

Javascript code:
function OnEvent_ChatWndReceiveMessage ( oChatWnd , sOrigin , sMessage , nMessageKind ) {
    var match = false;
    if( match = sMessage.match( /^!wazzap$/ ) ) {
        oChatWnd.SendMessage ( 'Nothing as usually, didn\'t you know? :)' );
    }
}


This post was edited on 10-02-2009 at 07:35 PM by matty.
10-02-2009 07:22 PM
Profile E-Mail 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