User:EpicPancakes/chat.js

$('[name="message"]').keypress(function(e) {	if (e.which == 32 || e.which == 13) {		switch (this.value) {		case '/c': this.value = '*cough* ';break;		}	} });