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