User:Royaldoggie/global.js

//Add this to your global.js file (http://c.wikia.com/wiki/Special:MyPage/global.js) //Then, when you click the "join chat" button in the sidebar, you'll have awesome chat hacks importScriptURI('http://c.wikia.com/index.php?  title=User:Monchoman45/ChatHacks.js&action=raw&ctype=text/javascript'); //Message Blocking importScriptPage('MessageBlocker/code.js', 'dev');

$('#ChatHeader').append('   '); $('.ChatHeader form.WikiaSearch').submit(function {setTimeout("$('form.WikiaSearch input[name=\"search\"]').attr('value', '')", 500)});

//Multiple PMS if(wgCanonicalSpecialPageName == 'Chat') { function createGroupPM { var users = prompt('Enter comma seperated list of users to start a PM with',''); var users = users.split(','); mainRoom.openPrivateChat(users); } $('form#Write').append('PM'); } //** CHAT PINGS **// var pings = 'Royaldoggie|Royal|Doggie|Doggy|Doggeh|Dog|Doge'; importScriptPage('User:Joeytje50/chat-pings.js','rs'); onchatmessage = function(text, rawtext) { text = unameBeep(text); //remove this line if you don't want username beeps return text; //DO NOT EDIT THIS LINE }