removeCommand
Remove any command with a script.
Overview:
API Reference
removeCommand()
removeCommand()removeCommand("commandName");Example:
removeCommand("help");
addCommand("help", {
onCommand: function(sender, args) {
sender.sendMessage("Hello from help!");
},
onTabComplete: function(sender, args) {
return toJavaList(["Example", "Custom"]);
}
});Last updated
Was this helpful?