addCommand
Create custom commands with scripts.
Overview:
API Reference
addCommand()
addCommand()addCommand("commandName", {
onCommand: function(sender, args) {},
onTabComplete: function(sender, args) {}
}, "permission.example");Methods:
Example:
Last updated
Was this helpful?