User:Altaïr Skywalker 47/global.js

/* This is all chat hacks, AFK feature, chat box clear, ping feature, multiple PMs */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c'); /* This is the auto-hide TOC line for Yatalu's use only :3 */ window.onload = function {if ( document.getElementById("togglelink").textContent === "hide" ) document.getElementById("togglelink").click;}

mainRoom.socket.bind( 'join', $.proxy( function { if ( document.getElementById( 'ping' ).length === 0 ) { var ping = document.createElement( 'audio' ); ping.id = 'ping'; ping.src = 'http://images.wikia.com/monchbox/images/0/01/Beep-sound.ogg'; document.body.appendChild( ping ); }	 document.getElementById( 'ping' ).play; }, mainRoom ) );