Thanks mate! That was quicker than I expected.
Just one question:
Where do I actually put what I want the command to do?
quote:
function OnGetScriptCommands () {
return '<ScriptCommands><Command><Name>command</Name><Description>this is my command</Description>Here?</Command></ScriptCommands>';
}