MediaWiki:Chat.js

var Messages=[ 'has left the chat.', 'has left the chat to investigate the weird occurrences happening in Tokyo.', 'has left to stop Emperor Sutoku', 'has left to buy more food for Mira', 'has left to obtain stronger daemons.', 'has unfortunately been taken over by the Other Side.', 'has left to investigate the Shrine of 7 days.', 'has left to investigate Tanabata tower.', 'has left to defeat Pumpkin Kings.', 'has left to go on a date with Santa.', 'has been defeated by Red Stripe Tiger.', 'has been defeated by PKs.', 'has left to entertain Titania and Oberon.', 'has left to celebrate Hinamatsuri.', 'has left to visit Murasaki Shikibu.', 'has been slain by Alice's Dress.', 'has left to enjoy the view of cherry blossoms with Princess Konohanasakuya.', 'has left to enjoy moon-viewing with Yukimura Sanada.']; function randomExitEvent(img) {   var index = Math.floor(Math.random * Messages.length); var t=document.createTextNode(Messages[index]); img.parentElement.appendChild(t); }