Suma
New Member
Posts: 7
33 / / –
Joined: Aug 2006
|
O.P. RE: RE: Making a /command
quote: Originally posted by J-Thread
You can also add it to the ScriptInfo.xml
ooo, tnx
now am I using:
code: function OnGetScriptCommands()
{
var ScriptCommands = "<ScriptCommands>";
ScriptCommands += "<Command>";
ScriptCommands += "<Name>beep</Name>";
ScriptCommands += "<Description>Play a beep sound</Description>";
ScriptCommands += "</Command>";
ScriptCommands += "<Command>";
ScriptCommands += "<Name>flash</Name>";
ScriptCommands += "<Description>Flashes the window</Description>";
ScriptCommands += "<Parameters><flash count></Parameters>";
ScriptCommands += "</Command>";
ScriptCommands += "</ScriptCommands>";
return ScriptCommands;
}
and it works tnx
|
|