MediaWiki:Chat.js

/* Courtesy of the RuneScape Players Wiki and Smithing, not to mention Joey's coding. */ $('#ChatHeader').append(' ') importScriptPage('User:Joeytje50/tabinsert.js', 'runescape'); /* Creating /me command (courtesy RuneScape Wiki) */ document.getElementsByName('message')[0].onkeypress = function(e) { if (e.which == 32) { if (this.value == '/me') { this.value = '* '+wgUserName; }	} }

importScriptPage('User:Bluefire2/cake.js', 'runescape');