What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Script to parse user input

Script to parse user input
Author: Message:
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: Script to parse user input
quote:
Originally posted by wiseguyxp
I really want to start my command with a slash, but when I had tried to use the slash command, it said "The command you entered was not recognized."  I took a look at OnGetScriptCommands (as you suggested) and it pointed to me to ScriptInfo.xml.  After defining the command in ScriptInfo.xml, it all works fine.  Thanks a lot!
you are also able to define a command in the script itself... most of the major script developers prefer this method (atleast i think they do =p)

the way to do it is to return the XML that you would normally place in the scriptinfo.xml when the function is fired...

JScript code:
function OnGetScriptCommands(){
    return '<XML CODE GOES IN HERE>';
}


hope this helps you out... and i look forward to seeing your script!

This post was edited on 12-06-2009 at 12:47 PM by NanaFreak.
12-06-2009 12:45 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Script to parse user input - by wiseguyxp on 12-06-2009 at 01:22 AM
RE: Script to parse user input - by CookieRevised on 12-06-2009 at 02:06 AM
RE: Script to parse user input - by wiseguyxp on 12-06-2009 at 03:22 AM
RE: Script to parse user input - by NanaFreak on 12-06-2009 at 12:45 PM
RE: Script to parse user input - by CookieRevised on 12-06-2009 at 04:51 PM
RE: Script to parse user input - by wiseguyxp on 12-07-2009 at 05:46 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