User:Samantas5855/common.js

function haigb { $('[name="message"]').val('Her aim is getting better!'); 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;            }        }    });