What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Making a /command

Making a /command
Author: Message:
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Making a /command
quote:
Originally posted by Suma
Message == "/uit"
A more reliable way would be to use Message.match("^/uit"). Then it doesn't matter if you type anything after the command.

^/uit is a regular expression. This one is very simple: '^' means start of line, and '/uit' means literally '/uit'.

A more complex regex is ^.*\A0{(.*)}$. It's very useful: see if you can guess what it matches ;)

This post was edited on 08-10-2006 at 03:34 PM by RaceProUK.
[Image: spartaafk.png]
08-10-2006 03:32 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Making a /command - by Suma on 08-10-2006 at 01:11 PM
RE: Making a /command - by markee on 08-10-2006 at 01:14 PM
RE: Making a /command - by alexp2_ad on 08-10-2006 at 01:19 PM
RE: RE: Making a /command - by Suma on 08-10-2006 at 01:24 PM
RE: Making a /command - by Veggie on 08-10-2006 at 01:28 PM
RE: Making a /command - by alexp2_ad on 08-10-2006 at 01:28 PM
RE: RE: Making a /command - by Suma on 08-10-2006 at 01:33 PM
RE: Making a /command - by J-Thread on 08-10-2006 at 01:39 PM
RE: RE: Making a /command - by Suma on 08-10-2006 at 01:43 PM
RE: Making a /command - by RaceProUK on 08-10-2006 at 03: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