User:Shining-Armor/MB.js

//Multiban function showPopup { $('body').append(' Multiban   Enter usernames here, separated by a comma and a space. Tab insert works.  Ban! Cancel  '); $('body').append(' '); } function banUsers { var multiban = $('#multibaninput').val if (multiban.length != 0) { var usersToBan = multiban.split(", "); var i = 0; for (i; i<usersToBan.length; i++) { mainRoom.ban({name:usersToBan[i]}); }		$('#multiban').remove; $('.blackout').remove; } } function cancelBan { $('#multiban').remove; $('.blackout').remove; }