quote:
Originally posted by Mattike
To correct this, simply remove the quotes around Your Decription, and try that. After that, you can change it to whatever you want.
Yet in your code, you removed all the quotes APART from the ones around description
quote:
Originally posted by pantoled
code:
function OnGetScriptCommands()
{
var commands = <ScriptCommands>
commands += <Command>
commands += <Name>mycommande</Name>
commands += <Description>"Your Description"</Description>
commands += </Command>
commands += </ScriptCommands>
return commands;
};
So the code should be:
code:
function OnGetScriptCommands() {
var commands = "<ScriptCommands>";
commands += " <Command>"
commands += " <Name>mycommande</Name>"
commands += " <Description>Your Description</Description>"
commands += " </Command>"
commands += "</ScriptCommands>"
return commands;
};