commands reference
katton registers your commands as subcommands via, /katton run
/katton run in detail
/katton run <command name> [arguments...]
script commands are completely private per owner, you aren't able to run other players scripts, unless they share the code/token with you to import
@Katton.command(name = "apple", permission = "all")
function giveApple(sender, args) {
sender.give(Katton.item("apple"))
}
/katton run apple
anything after the command name becomes the args list, see variables & values for how that works, and command annotation for the full annotation rules