What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Gettin data from "/" commands

Gettin data from "/" commands
Author: Message:
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: Gettin data from "/" commands
You can do:
code:
var Command = "/Joel";
if(Message.substr(0, Command.length) == Command)
{
  // The /Joel command was used.
}

And then you get the param by:
code:
var Param = Message.substr(Command.length, Message.length);

Edit: This is all done in the ChatWndSendMessage event. Read the scripting documentation for more information.

This post was edited on 05-22-2007 at 08:07 PM by vikke.
4 8 15 16 23 42
05-22-2007 08:05 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Gettin data from "/" commands - by Lobo on 05-22-2007 at 07:46 PM
RE: Gettin data from "/" commands - by saralk on 05-22-2007 at 08:03 PM
RE: Gettin data from "/" commands - by vikke on 05-22-2007 at 08:05 PM
RE: Gettin data from "/" commands - by markee on 05-22-2007 at 08:59 PM
RE: Gettin data from "/" commands - by DarkGhost on 05-22-2007 at 11:41 PM
RE: Gettin data from "/" commands - by CookieRevised on 05-23-2007 at 12:09 AM
RE: Gettin data from "/" commands - by DarkGhost on 05-23-2007 at 12:32 AM
RE: Gettin data from "/" commands - by CookieRevised on 05-23-2007 at 12:56 AM
RE: Gettin data from "/" commands - by Lobo on 05-23-2007 at 07:14 PM
RE: Gettin data from "/" commands - by markee on 02-04-2008 at 11:52 AM
RE: Gettin data from "/" commands - by CookieRevised on 12-07-2009 at 01:39 AM


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