O.P. RE: Script to parse user input
Yeah, I've been going through the official documentation in more detail since I posted the thread, so I figured out the whole return value thing from the docs and from others' scripts.
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!
|