...
 
Commits (2)
......@@ -268,12 +268,10 @@ function handleEvent(event) {
mw.print(newTimestamp + msg.from_name + ": " + "-(" + msg.excluded_name + ") " + msg.text);
break;
case "says":
// handle pm's/dm's
mw.print(newTimestamp + msg.from_name + " " + colourWord("says","W-") +": " + msg.text);
break;
case "asks":
case "whispers":
// handle pm's/dm's
mw.print(newTimestamp + msg.from_name + " " + colourWord("whispers","W-") +": " + msg.text);
mw.print(newTimestamp + msg.from_name + " " + colourWord(msg.type,"W-") +": " + msg.text);
break;
case "gag":
// handle gsgs
......@@ -317,7 +315,7 @@ function handleEvent(event) {
default:
// leave the message alone if we don't
// have rules for it
mw.print(newTimestamp + "ERORR Unknown msg type: " + msg.type + ' ' + msg.from_name + ': ' + msg.text);
mw.print(newTimestamp + "ERROR Unknown msg type: " + msg.type + ' ' + msg.from_name + ': ' + msg.text);
break;
}
......