MediaWiki:Chat.js

//Chat's topic. Remember to escape single quotes in the topic using \' to prevent this from breaking. var chatTopic = 'Welcome to the Merlin Wiki\'s chat. Click here to see emoticons' $(function {	$('#ChatHeader .public.wordmark').prepend(''+chatTopic+' ')	.find('a').attr('style','position:relative;text-decoration:underline;') }) $('#ChatHeader .public.wordmark div:not(:first-child)').remove

// END Chat topic

// Chat options // Written by Callofduty4 and Madnessfan34537, modified by Fang³ for use on Merlin //Wiki importScriptPage('MediaWiki:Chat.js/options.js','fang'); // END Chat options

mainRoom.socket.bind('chat:add', function {	var beep = document.createElement('audio');	beep.src = 'http://images.wikia.com/central/images/6/6b/Special_beep.ogg';	beep.play; });