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

[Request] Bot?
Author: Message:
can16358p
Junior Member
**

WLM + MP!L User

Posts: 58
34 / Male / –
Joined: Oct 2005
Status: Away
RE: RE: [Request] Bot?
quote:
Originally posted by novolo
Instead of doing the msg.match thing like in here..
code:
if(msg.match(/thanks|thnx|thank u/)){
ChatWnd.SendMessage("No problem, " + User + "! ");
}

isn't there a way like:  msg.contains    or something like that?

because if we use msg.match,  me message recieved has to be exactly like that,  instead is it contains certain words we can gues what he's talkiing about and return something close...

any ideas?


use
if(msg.indexOf(stringToSearch)!=-1)...
[Image: anathema.gif][Image: hax0r.png]
06-26-2006 06:34 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Request] Bot? - by h-t on 06-25-2006 at 08:26 PM
RE: [Request] Bot? - by L. Coyote on 06-25-2006 at 08:34 PM
RE: [Request] Bot? - by h-t on 06-25-2006 at 08:38 PM
RE: [Request] Bot? - by -DRK-panoz on 06-25-2006 at 09:31 PM
RE: RE: [Request] Bot? - by Mike on 06-25-2006 at 09:41 PM
RE: [Request] Bot? - by L. Coyote on 06-25-2006 at 09:38 PM
RE: RE: [Request] Bot? - by cooldude_i06 on 06-25-2006 at 09:45 PM
RE: [Request] Bot? - by h-t on 06-26-2006 at 11:27 AM
RE: [Request] Bot? - by Yomeh on 06-26-2006 at 11:58 AM
RE: [Request] Bot? - by Yomeh on 06-26-2006 at 12:05 PM
RE: [Request] Bot? - by mathieumg on 06-26-2006 at 12:16 PM
RE: [Request] Bot? - by Yomeh on 06-26-2006 at 12:18 PM
RE: [Request] Bot? - by Matti on 06-26-2006 at 12:52 PM
RE: [Request] Bot? - by Matti on 06-26-2006 at 01:49 PM
RE: [Request] Bot? - by Matti on 06-26-2006 at 02:02 PM
RE: [Request] Bot? - by -dt- on 06-26-2006 at 02:22 PM
RE: RE: [Request] Bot? - by segosa on 06-26-2006 at 02:35 PM
RE: RE: RE: [Request] Bot? - by JonnyT on 06-26-2006 at 06:45 PM
RE: [Request] Bot? - by Matti on 06-26-2006 at 02:37 PM
RE: [Request] Bot? - by novolo on 06-26-2006 at 04:35 PM
RE: RE: [Request] Bot? - by can16358p on 06-26-2006 at 06:34 PM
RE: [Request] Bot? - by Plik on 06-26-2006 at 05:09 PM
RE: [Request] Bot? - by Lou on 06-26-2006 at 06:01 PM
RE: [Request] Bot? - by can16358p on 06-26-2006 at 06:32 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