Shoutbox

How can I extend the command list? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: How can I extend the command list? (/showthread.php?tid=61451)

How can I extend the command list? by BananushkA on 06-25-2006 at 10:43 PM

Basically, I want to add my own command (/Shabang), how can I do that?


RE: How can I extend the command list? by mathieumg on 06-25-2006 at 10:58 PM

It depends on what you want this command to do. You can use the quick texts feature.


RE: How can I extend the command list? by Apok on 06-26-2006 at 08:23 PM

And how add a new command in the command list? :S


RE: How can I extend the command list? by The Brain on 06-27-2006 at 02:28 AM

quote:
From the Scripting Documentation
Example 4
This ScriptInfo file defines a list commands displayed in the Command Browser window (when the user types "/" in a chat window).

<ScriptInfo xmlns="urn:msgplus:scripts" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:msgplus:scripts PlusScripts.xsd">

    <Information>
        <Name>Test Script</Name>
    </Information>
   
    <ScriptCommands>
        <Command>
            <Name>beep</Name>
            <Description>Play     a beep sound</Description>
        </Command>
   
        <Command>
            <Name>flash</Name>
            <Description>Flashes the window</Description>
            <Parameters>&lt;flash count&gt;</Parameters>
        </Command>
    </ScriptCommands>

</ScriptInfo>


of course, you have to have a script written to implement the commands. But You use t he ScriptInfo.xml file lke that to add your commands to the /command list.
RE: How can I extend the command list? by Apok on 06-27-2006 at 06:32 AM

Thanks :D