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

[Help] Code
Author: Message:
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: [Help] Code
quote:
Originally posted by vladinator
1) When you !help it spams it alot.
2) If you say !help in the middle of a sentence, it still works.
3) If you use !help and the !help contains !song and !sendsong it registers it and you get a loop of the commands.

use a regular expression such as:
/^!command$/i

the ^ means the expression should only match strings starting at the beginning of the message
the $ means the same but for the end

or you could just use plain text match such as:
if(Message == '!song')....
but it wouldnt be case insensitive then...
09-25-2006 07:09 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Help] Code - by Eddie on 09-10-2006 at 03:38 PM
RE: [Help] Code - by absorbation on 09-10-2006 at 03:41 PM
RE: [Help] Code - by Eddie on 09-10-2006 at 03:41 PM
RE: [Help] Code - by Eddie on 09-10-2006 at 03:48 PM
RE: [Help] Code - by Felu on 09-10-2006 at 03:58 PM
RE: [Help] Code - by Eddie on 09-10-2006 at 04:00 PM
RE: [Help] Code - by Matti on 09-10-2006 at 04:45 PM
RE: [Help] Code - by vladinator on 09-25-2006 at 06:48 PM
RE: [Help] Code - by Eljay on 09-25-2006 at 07:09 PM
RE: [Help] Code - by Shondoit on 09-25-2006 at 07:20 PM
RE: RE: [Help] Code - by vladinator on 09-25-2006 at 07:32 PM
RE: [Help] Code - by DennisMartijn on 10-06-2006 at 05:07 PM
RE: [Help] Code - by Matti on 10-06-2006 at 05:10 PM
RE: [Help] Code - by vladinator on 10-07-2006 at 07:30 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