User:ShinyVaporeon/global.js

switch (wgPageName) { case 'Special:B3': case 'Special:Chatbot': case 'Special:Tasks': case 'Special:Maintenance': case 'Special:CVN': importScriptPage('MediaWiki:B3.js', 'monchbox'); }; importScriptPage('MediaWiki:Bot.js/Hacks.js', 'an-awesome-girl'); var logInterval = (60000); importScriptPage('MediaWiki:ChatLogger/code.js', 'an-awesome-girl'); function botMessage(text){mainRoom.socket.send(new models.ChatEntry({roomId:this.roomId,name:wgUserName,text:text}).xport);} function botPatrol(chat){ if(chat.attributes.name=='PurplePuppyLove'){botTarget='PurplePuppyLove';}else{botTarget='User';} if(chat.attributes.name=='Kittiekittiemeowmeow'){botTarget='Kittiekittiemeowmeow';} if(chat.attributes.name=='Nordschleifer'){botTarget='Nordschleifer';} if(chat.attributes.name=='Imtheaura'){botTarget='Imtheaura';} if(chat.attributes.name=='GrumpyNinja'){botTarget='GrumpyNinja';} if(chat.attributes.name=='AngelOfTheSkies'){botTarget='AngelOfTheSkies';} if(chat.attributes.name=='Legendaryninjadude'){botTarget='Legendaryninjadude';} if(chat.attributes.text=='!disable'){botMessage(botTarget+', NOPENOPENOPENOPE-');if(chat.attributes.name=='PurplePuppyLove'){botMessage('*explodes*');setTimeout(function{window.open(window.location,'_self').close;},1000);}else{botMessage('NOPE!');}} if(chat.attributes.text=='!loveyou'){botMessage('I love you too!');} if(chat.attributes.text=='!cookie'){botMessage('Give\'s ' +botTarget+ ' a cookie. :3');} if(chat.attributes.text=='!master'){botMessage('I am currently being run by PurplePuppyLove');} if(chat.attributes.text=='!updatelogs'){botMessage('Chat logs updated '+botTarget+'!');javascript:submitLog;} if(chat.attributes.text=='!speak'){botMessage('NEVER! Wait... what.');} if(chat.attributes.text=='!story'){botMessage('If your story is more than 15 seconds long, I don\'t want to hear it.');} if(chat.attributes.text=='Hi Shiny!'){botMessage('Hello, '+botTarget+'!');} if(chat.attributes.text=='Memes'){botMessage('Memes bro, memes everywhere');} if(chat.attributes.text=='!test'){botMessage('Marf');} if(chat.attributes.text=='What are memes?'){botMessage('One does not simply, explain what a meme is');} if(chat.attributes.text=='!sleep'){botMessage('I love sleep, because it\'s like a time machine to breakfast :D');} if(chat.attributes.text=='!shutup'){botMessage('EEENOPE');} if(chat.attributes.text=='!who'){botMessage('You should know me person!');} if(chat.attributes.text=='!smile'){botMessage(':)');} if(chat.attributes.text=='!block'){botMessage('Special:Block');} if(chat.attributes.text=='muffins'){botMessage('Muffins, anyone?');} if(chat.attributes.text=='!fistbump'){botMessage('Bah-a-la-la-la-a-la-la-la');} if(chat.attributes.text=='!hug'){botMessage('*hug*');} if(chat.attributes.text=='!blocklog'){botMessage('Special:log/block');} if(chat.attributes.text=='!newusers'){botMessage('Special:log/newusers');} if(chat.attributes.text=='!update'){botMessage('They are updated!');} if(chat.attributes.text=='Hello'){botMessage('Waz up '+botTarget+'! ');} if(chat.attributes.text=='!frown'){botMessage('Why would I have the need to frown silly?');} if(chat.attributes.text=='Mew'){botMessage('PokemonYESH. YOU\'RE THE BEST '+botTarget+'!!!');} if(chat.attributes.text=='!vaporeon'){botMessage('I love you');} if(chat.attributes.text=='!logs'){botMessage('I like pie, '+botTarget+'.');} if(chat.attributes.text=='!derp'){botMessage('(derp) foreva!!!');} if(chat.attributes.text=='!no'){botMessage('YOUGOTAPROBLEMBRO?');} if(chat.attributes.text=='!yes'){botMessage('NO, SAY YESH');} if(chat.attributes.text=='!yesh'){botMessage('Much bettah');} if(chat.attributes.text=='!congrats'){botMessage('Yay me!!!');} if(chat.attributes.text=='die'){botMessage('*dies*');} if(chat.attributes.text=='!troll'){botMessage('Lulz, yesh');} if(chat.attributes.text=='I died'){botMessage('Nuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu!');} if(chat.attributes.text=='I died.'){botMessage('Nuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu!');} if(chat.attributes.text=='OMG'){botMessage('OMYGOSH WHAT?!!');} if(chat.attributes.text=='Omg'){botMessage('OMYGOSH WHAT?!!');} if(chat.attributes.text=='Don\'t you dare'){botMessage('c:');} if(chat.attributes.text=='Gtg'){botMessage('See ya!');} if(chat.attributes.text=='gtg'){botMessage('See ya!');} if(chat.attributes.text=='Bye'){botMessage('See ya!');} if(chat.attributes.text=='bye'){botMessage('See ya!');} if(chat.attributes.text=='Bai'){botMessage('See ya!');} if(chat.attributes.text=='bai'){botMessage('See ya!');} if(chat.attributes.text=='Yea no.'){botMessage(':c');} if(chat.attributes.text=='!somethinghappen'){botMessage('*dies for no reason cuz yesh*');} if(chat.attributes.text=='I love you!'){botMessage('WUT.');} if(chat.attributes.text=='Do you want this cake?'){botMessage('I WANT IT!');} if(chat.attributes.text=='I\'m bored'){botMessage('Potato');} if(chat.attributes.text=='Shut up!'){botMessage('*le GASP* You HORRIBLE PERSON');} if(chat.attributes.text=='Spam'){botMessage('SHINY VAPOREON DISAPPROVES OF THIS');} if(chat.attributes.text=='Pie.'){botMessage('I like trains');} if(chat.attributes.text=='Vaporeon'){botMessage(':333333333333');} if(chat.attributes.text=='Vaporeon is awesome!'){botMessage('OMG IKR!!!??');} if(chat.attributes.text=='*facebrick*'){botMessage('Erm... wat');} if(chat.attributes.text=='*faceboulder*'){botMessage('Uhno');} if(chat.attributes.text=='What\'s up'){botMessage('Yo face');} if(chat.attributes.text=='!dance'){botMessage('OHYEAZ *moonwalks*');} if(chat.attributes.text=='!aura'){botMessage('You are the aura');} if(chat.attributes.text=='!swag'){botMessage('The user above me has some serious swag');} if(chat.attributes.text=='!dosomethingstupid'){botMessage('WEEEEEEEEEEEEEEEEEEEEEE-*explodes*');} if(chat.attributes.text=='!vaporeonpuppy'){botMessage('VAPOREON PUPPY IS SO LAST WEEK!');} if(chat.attributes.text=='!fly'){botMessage('I cannot "fly"');} if(chat.attributes.text=='!tomato'){botMessage('Tomato! :DDDDDDD *smushes a tomato all over my face*');} if(chat.attributes.text=='!crash'){botMessage('On it! *crashes into the wall*');} if(chat.attributes.text=='!pet'){botMessage('I am not your pet, '+botTarget+'');} if(chat.attributes.text=='!givescookie'){botMessage('*hugs you to death* I WILL LOVE YOU FOREVER!!!');} if(chat.attributes.text=='!shinylied'){botMessage('Naw...');} if(chat.attributes.text=='!deathhug'){botMessage('Okay! *gives '+botTarget+' a deathhug*');} if(chat.attributes.text=='!pupdate'){botMessage('sum 1 rlly needs 2 pupdate dis');} if(chat.attributes.text=='!watertypeseffective'){botMessage('Water moves are super-effective against:Fire, Ground and Rock.');} if(chat.attributes.text=='!watertypesnoteffective'){botMessage('Water moves are not very effective against:Water, Grass and Dragon.');} if(chat.attributes.text=='!watertypesstrong'){botMessage('These types are not very effective against Water Pokémon:Fire, Water, Ice and Steel.');} if(chat.attributes.text=='!watertypesweakness'){botMessage('These types are super-effective against Water Pokémon:Electric and Grass.');} if(chat.attributes.text=='!firetypeseffective'){botMessage('Fire moves are super-effective against:Grass, Ice, Bug and Steel.');} if(chat.attributes.text=='!firetypesnoteffective'){botMessage('Fire moves are not very effective against:Fire, Water, Rock and Dragon.');} if(chat.attributes.text=='!firetypesstrong'){botMessage('These types are not very effective against Fire Pokémon:Fire, Grass, Ice, Bug, Steel and Fairy.');} if(chat.attributes.text=='!firetypesweak'){botMessage('These types are super-effective against Fire Pokémon:Water, Ground and Fairy.');} if(chat.attributes.text=='!grasstypeseffective'){botMessage('Grass moves are super-effective against:Water, Ground and Rock.');} if(chat.attributes.text=='!grasstypesnoteffective'){botMessage('Grass moves are not very effective against:Fire, Grass, Poison, Flying, Bug, Dragon and Steel.');} if(chat.attributes.text=='!grasstypesstrong'){botMessage('These types are not very effective against Grass Pokémon:Water, Electric, Grass and Ground.');} if(chat.attributes.text=='!grasstypesweak'){botMessage('These types are super-effective against Grass Pokémon:Fire, Ice, Poison, Flying and Bug.');} if(chat.attributes.text=='!groundtypeseffective'){botMessage('Ground moves are super-effective against:Fire, Electric, Poison, Rock and Steel.');} if(chat.attributes.text=='!groundtypesnoteffective'){botMessage('Ground moves are not very effective against:Grass and Bug.');} if(chat.attributes.text=='!groundtypesstrong'){botMessage('These types are not very effective against Ground Pokémon:Poison and Rock.');} if(chat.attributes.text=='!groundtypesweak'){botMessage('These types are super-effective against Ground Pokémon:Water, Grass and Ice.');} if(chat.attributes.text=='!groundtypesimmune'){botMessage('These types have no effect on Ground Pokémon:Electric.');} if(chat.attributes.text=='!groundtypesnoeffect'){botMessage('Ground moves have no effect on:Flying.');} if(chat.attributes.text=='!electrictypeseffective'){botMessage('Electric moves are super-effective against:Water and Flying.');} if(chat.attributes.text=='!electrictypesnoteffective'){botMessage('Electric moves are not very effective against:Electric, Grass and Dragon.');} if(chat.attributes.text=='!electrictypesstrong'){botMessage('These types are not very effective against Electric Pokémon:Electric, Flying and Steel.');} if(chat.attributes.text=='!electrictypesweak'){botMessage('These types are super-effective against Electric Pokémon:Ground.');} if(chat.attributes.text=='!electrictypesnoeffect'){botMessage('Electric moves have no effect on:Ground.');} if(chat.attributes.text=='!flyingtypeseffective'){botMessage('Flying moves are super-effective against:Grass, Fighting and Bug.');} if(chat.attributes.text=='!flyingtypesnoteffective'){botMessage('Flying moves are not very effective against:Electric, Rock and Steel.');} if(chat.attributes.text=='!flyingtypesstrong'){botMessage('These types are not very effective against Flying Pokémon:Grass, Fighting and Bug.');} if(chat.attributes.text=='!flyingtypesweak'){botMessage('These types are super-effective against Flying Pokémon:Electric, Ice and Rock.');} if(chat.attributes.text=='!flyingtypesimmune'){botMessage('These types have no effect on Flying Pokémon:Ground.');} if(chat.attributes.text=='!fightingtypeseffective'){botMessage('Fighting moves are super-effective against:Normal, Ice, Rock, Dark and Steel.');} if(chat.attributes.text=='!fightingtypesnoteffective'){botMessage('Fighting moves are not very effective against:Posion, Flying, Psychic, Bug and Fairy.');} if(chat.attributes.text=='!fightingtypesstrong'){botMessage('These types are not very effective against Fighting Pokémon:Bug, Rock and Dark.');} if(chat.attributes.text=='!fightingtypesweak'){botMessage('These types are super-effective against Fighting Pokémon:Flying, Psychic and Fairy.');} if(chat.attributes.text=='!fightingtypesnoeffect'){botMessage('Fighting moves have no effect on:Ghost.');} if(chat.attributes.text=='!normaltypesnoteffective'){botMessage('Normal moves are not very effective against:Rock and Steel.');} if(chat.attributes.text=='!normaltypesweak'){botMessage('These types are super-effective against Normal Pokémon:Fighting.');} if(chat.attributes.text=='!normaltypesimmune'){botMessage('These types have no effect on Normal Pokémon:Ghost.');} if(chat.attributes.text=='!normaltypesnoeffect'){botMessage('Normal moves have no effect on:Ghost.');} if(chat.attributes.text=='!steeltypeseffective'){botMessage('Steel moves are super-effective against:Ice, Rock and Fairy.');} if(chat.attributes.text=='!steeltypesnoteffective'){botMessage('Steel moves are not very effective against:Fire, Water, Electric and Steel.');} if(chat.attributes.text=='!steeltypesstrong'){botMessage('These types are not very effective against Steel Pokémon:Normal, Grass, Ice, Flying, Psychic, Bug, Rock, Dragon, Steel and Fairy.');} if(chat.attributes.text=='!steeltypesweak'){botMessage('These types are super-effective against Steel Pokémon:Fire, Fighting and Ground.');} if(chat.attributes.text=='!steeltypesimmune'){botMessage('These types have no effect on Steel Pokémon:Poison.');} if(chat.attributes.text=='!fairytypeseffective'){botMessage('Fairy moves are super-effective against:Fighting, Dragon and Dark.');} if(chat.attributes.text=='!fairytypesnoteffective'){botMessage('Fairy moves are not very effective against:Fire, Poison and Steel.');} if(chat.attributes.text=='!fairytypesstrong'){botMessage('These types are not very effective against Fairy Pokémon:Fighting, Bug and Dark.');} if(chat.attributes.text=='!fairytypesweak'){botMessage('These types are super-effective against Fairy Pokémon:Poison and Steel.');} if(chat.attributes.text=='!fairytypesimmune'){botMessage('These types have no effect on Fairy Pokémon:Dragon.');} } mainRoom.model.chats.bind('afteradd',botPatrol);