User:Margaery Tyrell/global.js

//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'); } //** CHAT PINGS **// var pings = 'Katniss0019|Katniss|Kat|Katty|Katiff|Kana|Kanaa|Kattentine'; importScriptPage('User:Joeytje50/chat-pings.js','rs'); onchatmessage = function(text, rawtext) { text = unameBeep(text); //remove this line if you don't want username beeps return text; //DO NOT EDIT THIS LINE }