Shoutbox

Need help for a Script - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Need help for a Script (/showthread.php?tid=63793)

Need help for a Script by Gropfi on 07-22-2006 at 04:23 PM

If someone writes "word" and i want that i auto answer msn does...

But if he wrotes  "word" suxx msn also wrote the auto text... why? how can i stop that?


code:
if (Message.match(/(^|\s+)(\*)?word(d|s)?(\*)?($|\s+)/i)!=null)

what should i delete to stop that?
RE: Need help for a Script by cloudhunter on 07-22-2006 at 04:44 PM

Well if you want it to only react if the word "word" is the message, you would use this code instead.

code:
if (Message == "word")

RE: Need help for a Script by Gropfi on 07-22-2006 at 04:46 PM

IŽll try it!
thanks for your help :D


It works perfect! Nice THX