User:YupThreshIsEpic/global.js

/* Monchomans chat hacks */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); function showPopup { $('body').append(' Mass-kick   Enter usernames here, separated by a comma and a space. Tab insert works.  Kick! Cancel  '); $('body').append(' '); } function kickUsers { var multikick = $('#multikickinput').val if (multikick.length != 0) { var usersToKick = multikick.split(", "); var i = 0; for (i; i Mass-kick   Enter usernames here, separated by a comma and a space. Tab insert works. <input type="text" name="multikickinput" id="multikickinput" /> Kick!</a> Cancel</a>  '); $('body').append('<div style="height: 100%; width: 100%; z-index: 2000000001; opacity: 0.65; display: block;" data-opacity="0.65" class="blackout"> '); } function kickUsers { var multikick = $('#multikickinput').val if (multikick.length != 0) { var usersToKick = multikick.split(", "); var i = 0; for (i; i<usersToKick.length; i++) { mainRoom.kick({name:usersToKick[i]}); }		$('#masskicker').remove; $('.blackout').remove; } } function cancelKick { $('#masskicker').remove; $('.blackout').remove; } $('Multikick</a>').appendTo('.Write');

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</a>'); } importScriptPage('User:Madnessfan34537/multikick.js', 'callofduty'); importArticles({   type: 'script',    articles: [        'u:dev:Sine/code.js',        'u:dev:FastDelete/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:PurgeButton/code.js',        'u:dev:AjaxRC/code.js',        'u:dev:InactiveUsers/code.js',        'u:wikimarks:Client.js',        'u:community:User:Pecoes/diff.js'        ,'u:dev:FloatingToc/code.js'        //,'u:dev:FixWantedFiles/code.js'        //,'u:pecoes:AutoCreate.js'        //,'w:c:pecoes:Demo2.js'        //,'u:preferences:MediaWiki:Demo.js'        //,'u:mathmagician:PortableCSSPad/code.js'