User:Euk/chat.js

var pings = 'E+u+k'; importScript('User:Joeytje50/chat-pings.js'); onchatmessage = function(text, rawtext) { text = unameBeep(text);//remove this line if you don't want username beeps return text; //DO NOT EDIT THIS LINE }

function addClearChatText { var chatTopic = document.getElementsByClassName('chattopic'); chatTopic[0].innerHTML += ' • Clear chat'; }

function clearChat{ $('.Chat li').remove; } $(addClearChatText);