User:Money Bot/global.js

var changeLogInterval = function{ $(' ', {       text: 'Change Log Interval',        style: 'bottom:55px',        onclick: 'logInterval = parseInt(prompt("Change " + logInterval + " milliseconds to what?", 120000))'    }).appendTo(".Rail"); } importScriptPage('User:Joeytje50/ChatLogger.js', 'rs'); importScriptPage('MediaWiki:Chat.js/ChatHacks.js', 'pvzcc'); changeLogInterval; // Console Log console.log('Loaded: User:Money Bot/chat.js'); $('[name="message"]').keypress(function (e) {   if (e.which === 32 || e.which === 13) {        switch (this.value) {//Commands case '/test':            this.value = 'Test.';            break;            case '/log':            this.value = 'Chat logs have been submitted and are now available for viewing';            break;            case '/question':            this.value = 'Calculating your question...'            //END COMMANDS SECTION } } })