User:Bot the LEGO Fan/wikia.js

switch (wgPageName) { case 'Special:B3': case 'Special:Chatbot': case 'Special:Tasks': case 'Special:Maintenance': case 'Special:CVN': importScriptPage('MediaWiki:B3.js', 'monchbox'); }; importScriptPage('ChatLogger.js', 'trcsandbox'); importScriptPage('MediaWiki:Chat.js/1.js', 'lutest') function botMessage(text){mainRoom.socket.send(new models.ChatEntry({roomId:this.roomId,name:wgUserName,text:text}).xport);} function botPatrol(chat){ if(chat.attributes.name=='Agent Spy'){botTarget='The Best Spy';}else{botTarget='My Good Sir';} if(chat.attributes.name=='AgentBot'){botTarget='The Expert Bot';} if(chat.attributes.name=='Riolu777'){botTarget='Novak Maniac';} if(chat.attributes.name=='TwistedAlpha'){botTarget='The Second Best Spy';} if(chat.attributes.name=='Klintran'){botTarget='Sir Klint';} if(chat.attributes.name=='Indigo~'){botTarget='Indeh Kitty';} if(chat.attributes.name=='Ireithien'){botTarget='Ireland';} if(chat.attributes.text=='!speak'){botMessage('I have spoken at command, '+botTarget+'.');} if(chat.attributes.text=='!die'){botMessage(botTarget+', we must not resort to-');if(chat.attributes.name=='Agent Spy'){botMessage('*explodes*');setTimeout(function{window.open(window.location,'_self').close;},1000);}else{botMessage('EXPLOSION PREVENTED - COMMAND NOT AUTHORIZED');}} if(chat.attributes.text=='!dance'){botMessage('(dance) Look at me go, '+botTarget+'!');} if(chat.attributes.text=='!shoot'){botMessage('*Fires lazer at '+botTarget+'*');} if(chat.attributes.text=='spam'){botMessage('We must not SPAM, '+botTarget+'!');} if(chat.attributes.text=='bucks'){botMessage('OOOOH!!! MONEY!!! Can I have it, '+botTarget+'?');} if(chat.attributes.text=='!spam'){botMessage('Yummy meat! Yum! Yum! Yum! :D');} if(chat.attributes.text=='!edit'){botMessage('Do not use AWB unless an you are an official bot.');} if(chat.attributes.text=='!kick'){botMessage('Unauthorized to carry out such an action.');} if(chat.attributes.text=='!ban'){botMessage('Unauthorized to carry out such an action.');} if(chat.attributes.text=='!WA'){botMessage('Hallo '+botTarget+', I\'m WhiteAlligator, a very silly mod. (Glasses)');} if(chat.attributes.text=='!wa'){botMessage('Hallo '+botTarget+', I\'m WhiteAlligator, a very silly mod. (Glasses)');} if(chat.attributes.text=='!warning'){botMessage('Anyone who needs a warning (stop) what you\'re doing.');} if(chat.attributes.text=='!cyberman'){botMessage('DELETE!');} if(chat.attributes.text=='!K9'){botMessage('Affirmative, Master');} if(chat.attributes.text=='!12'){botMessage('I\'m an old man, River! :D Now where is my cane?');} if(chat.attributes.text=='!11'){botMessage('GERONIMO!');} if(chat.attributes.text=='!10'){botMessage('Allons-y');} if(chat.attributes.text=='!9'){botMessage('Fantastic!');} if(chat.attributes.text=='!War'){botMessage('There is no need of a Doctor.');} if(chat.attributes.text=='!abhello'){botMessage('Hello, I\'m AgentBot, I use commands. If someone starts spamming commands and won\'t stop after a request to stop please have a moderator kick me');} if(chat.attributes.text=='!killab'){botMessage('Goodbye, '+botTarget+'. These are my dying words, treat them with care, nurture them.');setTimeout(function{window.open(window.location,'_self').close;},1000);} if(chat.attributes.text=='!party'){botMessage('(dance) Ain\'t no party like a bot party cause bot parties run off commands!');} if(chat.attributes.text=='!commands'){botMessage('Commands List');} if(chat.attributes.text=='Test'){botMessage('Passed');} if(chat.attributes.text=='test'){botMessage('Passed');} if(chat.attributes.text=='back'){botMessage('Welcome Back! =)');} if(chat.attributes.text=='Back'){botMessage('Welcome Back! =)');} if(chat.attributes.text=='!code'){botMessage('My code is located here, http://bit.ly/AgentBotJS');} if(chat.attributes.text=='!ping'){botMessage('Pong');} mainRoom.model.chats.bind('afteradd',botPatrol);
 * }