Added '/slap' command

This commit is contained in:
Mattias Erming 2014-05-28 07:12:16 -07:00
parent 276db34c34
commit 3e4cb78813

View file

@ -164,12 +164,14 @@ function input(data) {
}
break;
case "slap":
var slap = "slaps " + args[1] + " around a bit with a large trout";
case "me":
if (!args[1]) {
break;
}
var user;
var text = args.slice(1).join(" ");
var text = slap || args.slice(1).join(" ");
if (client) {
user = client.me;
client.action(chan.name, text);
@ -213,10 +215,6 @@ function input(data) {
);
break;
case "ame":
console.log("AME");
break;
case "server":
case "connect":
if (args[1]) {