User:SmithAndGillan/global.js

// ****************************************** // Chat hacks (from Monchoman and Foodbandlt) // ****************************************** importScriptURI("http://community.wikia.com/index.php?title=User:Foodbandlt/FixedChatHacks.js&action=raw&ctype=text/javascript"); // ********************************************** // End Chat hacks (from Monchoman and Foodbandlt) // ********************************************** // Written by Joey. if(wgCanonicalSpecialPageName == 'Chat') { function createGroupPM { var users = prompt('Enter comma separated list of users to start a PM with',''); var users = users.split(','); mainRoom.openPrivateChat(users); } $('form#Write').append('PM'); }