1 | exports.command = {
|
2 | name: "emote",
|
3 | autoload: true,
|
4 | unloadable: false,
|
5 | min_rank: 0,
|
6 | display: "lets you pose something, as if you were acting",
|
7 | help: "Lets you pose something, as if you were acting.",
|
8 | usage: ".emote <text>",
|
9 | weigth: 10,
|
10 |
|
11 | execute: function(socket, command, command_access) {
|
12 | var chalk = require('chalk');
|
13 | if (command === 'undefined' || command.length < 1)
|
14 | return socket.write(chalk.red(":: What are you trying to do?\r\n"));
|
15 | var send = socket.username + " " + command + "\r\n";
|
16 | command_access.allHereButMe(socket,function(me,to){to.write(send);});
|
17 | socket.write(send);
|
18 | }
|
19 | }
|