User:GLaDØS/wikia.js

/* Ø */

mainRoom.model.chats.bind('afteradd', $.proxy(function(chat) { if(chat.attributes.isInlineAlert && chat.attributes.text.indexOf(' has joined the chat.') != -1 && chat.attributes.text.indexOf(wgUserName) != 0) { var chatEntry = new models.ChatEntry({roomId: this.roomId, name: wgUserName, text: 'Hi '+cchat.attributes.text.split(' has joined the chat.')[0]+', /Forms FORM-29827281-12: Welcome to the Half-Life Wiki Chat! Please note that I am a bot (ironically, I actually am, pathetic human) and that I'm recording every single word! Please also note that cake will not be given out at this time. /end Forms FORM-29827281-12: '}); this.socket.send(chatEntry.xport); } }, mainRoom));