What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Calling script with command

Calling script with command
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Calling script with command
CookieRevised's reply to Gettin data from "/" commands - Deciphering commands and parameters.

code:
function OnGetScriptCommands(){
     var ScriptCommands = "<ScriptCommands>";
     ScriptCommands    +=     "<Command>";
     ScriptCommands    +=         "<Name>test</Name>";
     ScriptCommands    +=         "<Description>testing</Description>";
     ScriptCommands    +=     "</Command>";
     ScriptCommands    += "</ScriptCommands>";
     return ScriptCommands;
}

You also need the above code to add you commands to the "command helper" window when someone types a "/" in the conversation window. This is not essential, but makes your script easier to use and I think Menthix mentioned not accepting scripts of sub-standard quality (which a script without out this would be)
<Eljay> "Problems encountered: shit blew up" :zippy:
09-14-2008 10:35 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Calling script with command - by bangwazoo on 09-14-2008 at 08:33 PM
RE: Calling script with command - by Spunky on 09-14-2008 at 10:35 PM
RE: Calling script with command - by bangwazoo on 09-15-2008 at 04:34 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