User:Hairr/chat.js

$('#ChatHeader').append(' Chat help - BFC - BFC-J/Q - RCH ')

importScript('User:Joeytje50/chat.js')

document.getElementsByName('message')[0].onkeypress = function(e) { if (e.keyCode == 32 || e.keyCode == 13) { switch (this.value) { case '/me': this.value = '* '+wgUserName; break; case '/cake': this.value = '* 'wgUserName+' gives cake to'; break; }	} }