Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- exports.commands = {
- rcmd: function(command) {
- if ((command.indexOf("/") === 0 || command.indexOf("!") === 0) && command != "/part" && command != "/logout" && command != "/leave") {
- this.can("say")
- this.send(command)
- }
- else {
- this.can("say")
- this.send("This text is not a command, or you have used a banned command.")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement