User:Vicyorus/chat.js

function haigb { $('[name="message"]').val('But her aim is getting better! (joaje)'); mainRoom.sendMessage({       which: 13,        shiftKey: false,        preventDefault: function  {},        target: $('[name="message"]')    }) setTimeout(9999999999999999999999999999999999999999999999999999999999999999999999999); }   $('textarea[name=message').keydown(function(e) {        if (e.which === 13) {            var text = $(this).val;            if (text.substr(0, 1) === '/' && text.substr(1, 13) === 'haigb') {                e.preventDefault;                $(this).val('');                haigb;            }        }    });