User:Head of Ravenclaw/global.js

window.commands.jqj = function(com, text) { if(com) {$('#Write [name="message"]').val(com + ': Please check your connection and/or refresh your chat window, as you're repeatedly joining and quitting the channel which causes spam.');} else {$('#Write [name="message"]').val(' Please check your connection and/or refresh your chat window, as you're repeatedly joining and quitting the channel which causes spam.');} return true; } //Attempt to use API importScriptPage('MediaWiki:WhamAPI.js', 'monchbox'); //Attempt2 to use API importScriptPage('MediaWiki:APIQuery.js', 'monchbox'); //Find/Replace importScriptPage('Mediawiki:FindReplace.js', 'kangaroopower'); /* Ajax RC- pcj and Grunny */ ajaxCallAgain = []; ajaxPages = ["Special:RecentChanges","Special:Log","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev'); /* Ajax Undo- Grunny */ importScriptPage( 'AjaxUndo/code.js', 'dev' );

//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'); //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'); }