User:Guppie the Third/chat.js

/* Creating /me command */ document.getElementsByName('message')[0].onkeypress = function(e) { if (e.which == 32) { if (this.value == '/yds') { this.value = 'You don't say?; } } }