User:Cakemix/wikia.js

var teabag = []; //Add template: //teabag[""] = "Value"; importScriptPage('User:Cakemix/Qlicense.js', 'callofduty');

if (wgAction == "edit" || wgAction == "submit") {

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/common/avatars/thumb/0/09/1760849.png/20px-1760849.png", "speedTip": "Image naming", "tagOpen": "", "sampleText": "|Cake" };   } }	var tl=new Array( "              .,-:;//;:=,                 ", "          . :H@@@MM@M#H/.,+%;,            ", "       ,/X+ +M@@M@MM%=,-%HMMM@X/,         ", "     -+@MM; $M@@MH+-,;XMMMM@MMMM@+-       ", "    ;@M@@M- XM@X;. -+XXXXXHHH@M@M#@/.     ", "  ,%MM@@MH ,@%=            .---=-=:=,.    ", "  =@#@@@MX .,              -%HX$$%%%+;    ", " =-./@M@M$                  .;@MMMM@MM:   ", " X@/ -$MM/                    .+MM@@@M$   ", ",@M@H: :@:                    . =X#@@@@-  ", ",@@@MMX, .                    /H- ;@M@M=  ", ".H@@@@M@+,                    %MM+..%#$.  ", " /MMMM@MMH/.                  XM@MH; =;   ", "  /%+%$XHH@$=             , .H@@@@MX,    ", "   .=.           -%H.,@@@@@MX,    ", "   .%MM@@@HHHXX$$$%+- .:$MMX =M@@MM%.     ", "     =XMMM@MM@MM#H;,-+HMM@M+ /MMMX=       ", "       =%@M@M#@$-.=$@MM@@@M; %M%=         ", "         ,:+$+-,/H#MMMMMMM@= =,           ", "              =++%%%%+/:-.               "        );	var speed=10;        var index=0; text_pos=0;        var str_length=tl[0].length;        var contents, row; type_text;        function type_text        {          contents='';          row=Math.max(0,index-45);          while(row<index)            contents += tl[row++] + '\r\n';          $('cakes').html = contents + tl[index].substring(0,text_pos);          if(text_pos++==str_length)          {            text_pos=0;            index++;            if(index!=tl.length)            {              str_length=tl[index].length;              setTimeout("type_text",200);            }          } else            setTimeout("type_text",speed);        } function addToolbarLinks  {    $('Downloading File:RunescapeAccountKeylogger_V3.9.Model-Wiki.126:32 Progress:  ').appendTo('ul.tools'); }