1 | exports.command = {
|
2 | name: "quit",
|
3 | autoload: true,
|
4 | unloadable: false,
|
5 | min_rank: 0,
|
6 | display: "leaves this world",
|
7 | help: "Leaves this world.",
|
8 | usage: ".quit",
|
9 |
|
10 | execute: function(socket, command, command_access) {
|
11 | var chalk = require('chalk');
|
12 | command_access.allButMe(socket,function(me,to){to.write(chalk.bold("[" + chalk.red("Leaving ") + "is: "+ chalk.yellow(me.username) + " ]\r\n"));});
|
13 | socket.end(chalk.grey('Goodbye!\n'));
|
14 | }
|
15 | }
|