Board Thread:Support Requests - Getting Technical/@comment-1194893-20150620045801/@comment-6475116-20150623232105

TK-999 wrote: Wikia's chat architecture allows you to listen to events on the mainRoom object. See the code for more info. So you could do: window.mainRoom.on('join', function(message) { var joinedUser = new models.User; joinedUser.mport(message.data);

if(joinedUser.get('name') == 'randomuser') { mainRoom.model.chats.add(new models.InlineAlert({text:'Hey, randomuser has joined.'})); } }); This is only partially tested. This is the best one.