User:DearlySkies/global.js

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

/** * Clear chat */ function addClearChatText { "use strict"; if ($('.clearChatText').length <= 0) { var clearChatText = document.createElement('span'); $('Clear chat ').prependTo('.Rail'); } } function clearChat { "use strict"; var chatSize = $('div.Chat:first ul li').size - 1; $('.Chat:first li:lt(' + chatSize + ')').remove; } window.onload = addClearChatText; /** * Chat options *  By User:Callofduty4, User:Madnessfan34537, and User:Sactage *  From the Call of Duty Wiki */ var chatOptionsLoaded = false; if (!chatOptionsLoaded) { chatOptionsLoaded = true; importScriptPage('MediaWiki:Chat.js/options.js', 'cod'); } /** * ChatTags *  By User:AnimatedCartoons */ importScriptPage('ChatTags/code.js', 'dev');

/* Monchomans chat hacks */ importScriptPage('User:Monchoman45/ChatHacks.js','c');

importScriptPage('MediaWiki:Chat.js/searchbar.js','cod', 'c');

importScriptPage('User:Joeytje50/ChatPMs.js', 'c');

importScriptPage("User:Madnessfan34537/multikick.js","cod")

importScriptPage('MediaWiki:Chat.js/options.js','xiaolinpedia')

importScriptPage(('MessageBlocker/code.js', 'dev'),'xiaolinpedia')