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 = 'Testing...testing...123.';            break;            case '/log':            this.value = 'Chat logs have been submitted and are now available for viewing here.';            break;            case '/question':            this.value = 'Calculating your question...'            break;            case '/owner':            this.value = 'My owner is Money Hurricane'            break;            case '/yes':            this.value = '🎲 Very Yes 🎲'            break;            case '/maybe':            this.value = '🎲 Maybe yes, maybe no, so maybe 🎲'            break;            case '/no':            this.value ='🎲 I am filled with doubt 🎲'            //END COMMANDS SECTION

} } })