Bots Home
|
Create an App
KKAT
Author:
hethro1
Description
Source Code
Launch Bot
Current Users
Created by:
Hethro1
var TimerActive= 'Off'; var TimerCount=0; var TimerInterval=10; var TimerIntervalCount=0; var TimerStop=0; var RepeatGoalActive='Off'; var RepeatGoalSwitchActive='Off'; var RepeatGoalArray= new Array; var RGActive=0; var RGReward=1; var RGCost=2; var RGSwitch=3; var RGComboLvl=4 var RepeatgoalCurrent=0; var RepeatGoalMax=0; var RepeatGoalReward=''; var RepeatGoalCount=0; var TipComboActive='Off'; var TipComboArray = new Array; //array[0]setting var TCStartedDiplay=1 var TCAddDiplay=2 var TCStartDiplay=3 var TCFinish=4 //arrary list setting[1]+ var TCActive=0; var TCTipOptions=1; var TCAutoCost=2; var TCAutoNum=3; var TCAddComboActive=4; var TCAddComboCost=5; var TCName=6; var ComboArray= new Array; var TipMenuActive='Off'; var TipMenu=''; var FullTipMenu =''; var TipKeyWords=''; var TipMenuArray=new Array; var TActive=0; var TReward=1; var TCost=2; var TFanCost=3; var TKeywords=4; var TInAd=5; var TipItemArray= new Array; //var MainGoalActive='Off'; //var MainGoalArray=new Array; // var MGActive=0; // var MGReward=1; // var MGCost=2; var RewardQ= new Array; var RQClamed=0; var RQMsg=1; var RQTipUser=2; var SoloTipCount=0; var SoloTipMax=10; var cs = JSON.parse(JSON.stringify(cb.settings)); cb.settings_choices = [ {name:'RepeatGoalActive', type:'choice', choice1:'Single', choice2:'Changing', choice3:'Off', label:'________________Repeat Goal_____', defaultValue:'Off'}, {name:'RepeatGoalSwitchActive', type:'choice', choice1:'On', choice2:'Off', label:'Combo at Goal', defaultValue:'Off'}, {name:'Repeatcolor', type:'str', label:'Repeat Goal ad color (html code default red #FF0000)',defaultValue: '#F985EE'}, {name:'RepeatGoalCost', type:'str', label:'Target Goal Amount(changing seporat by ,)=',defaultValue: '200,200'}, {name:'RepeatGoalReward', type:'str', label:'Goal Reward(for changing goal sperate with a ,)',defaultValue: 'Boobs Flash At Every Goal,Pussy Flash Every Goal'}, {name:'RepeatGoalSwitch', type:'str', label:'Number of Goal to Change Goal(seprate by ,)=',defaultValue: '10,20'}, {name:'RepeatGoalComboLvl', type:'str', label:'Combo Option lvl(seprate by , for changing goal)=',defaultValue: '1,2'}, {name:'TipComboActive', type:'choice', choice1:'On', choice2:'Off', label:'________________Tip Menu Combos_____', defaultValue:'Off'}, {name:'TipCombocolor', type:'str', label:'Tip Combo ad color (html code default red #FF0000)',defaultValue: '#F985EE'}, {name:'TipComboTimer', type:'int', required: false,label:'Combo Timer(seconds)=',defaultValue: 10}, {name:'TipComboStartMsg', type:'str', label:'Message displayed when Combo started',defaultValue: 'Combo Started'}, {name:'TipComboAddedMsg', type:'str', label:'Message displayed when tip option Added to Combo',defaultValue: 'Combo Added'}, {name:'TipComboFinishMsg', type:'str', label:'Message displayed when Combo has one left in combo',defaultValue: 'FINISH HER'}, //--combo1 {name:'TipComboAutoCA1', type:'choice', choice1:'On', choice2:'Off', label:'Auto Combo lvl 1', defaultValue:'Off'}, {name:'TipComboName1', type:'str', required: false,label:'Combo Name=',defaultValue: 'Combo Level 1'}, {name:'TipCombo1', type:'str', required: false,label:'Random Combo tear 1(tip request # seprate by , )=',defaultValue: '1,2,3,4'}, {name:'TipComboCost1', type:'int', required: false,label:'(1)Auto Combo Cost=',defaultValue: 200}, {name:'TipComboNum1', type:'int', required: false,label:'(1)Auto Combo Amount=',defaultValue: 2}, {name:'TipComboAddActive1', type:'choice', choice1:'On', choice2:'Off', label:'Combo Add', defaultValue:'Off'}, {name:'TipComboAddCost1', type:'int', required: false,label:'(1)Add To Combo Cost=',defaultValue: 70}, //--combo2 {name:'TipComboAutoCA2', type:'choice', choice1:'On', choice2:'Off', label:'Auto Combo lvl 2', defaultValue:'Off'}, {name:'TipComboName2', type:'str', required: false,label:'Combo Name=',defaultValue: 'Combo Level 2'}, {name:'TipCombo2', type:'str', required: false,label:'Random Combo lvl 2(tip request # seprate by , )=',defaultValue: '5,6,7,8'}, {name:'TipComboCost2', type:'int', required: false,label:'(2)Auto Combo Cost=',defaultValue: 250}, {name:'TipComboNum2', type:'int', required: false,label:'(2)Auto Combo Amount=',defaultValue: 2}, {name:'TipComboAddActive2', type:'choice', choice1:'On', choice2:'Off', label:'Combo Add', defaultValue:'Off'}, {name:'TipComboAddCost2', type:'int', required: false,label:'(2)Add To Combo Cost=',defaultValue: 100}, //--combo3 {name:'TipComboAutoCA3', type:'choice', choice1:'On', choice2:'Off', label:'Auto Combo lvl 3', defaultValue:'Off'}, {name:'TipComboName3', type:'str', required: false,label:'Combo Name=',defaultValue: 'Combo Level 3'}, {name:'TipCombo3', type:'str', required: false,label:'Random Combo lvl 3(tip request # seprate by , )=',defaultValue: '1,2,3,4,9,10,11,12'}, {name:'TipComboCost3', type:'int', required: false,label:'(3)Auto Combo Cost=',defaultValue: 400}, {name:'TipComboNum3', type:'int', required: false,label:'(3)Auto Combo Amount=',defaultValue: 2}, {name:'TipComboAddActive3', type:'choice', choice1:'On', choice2:'Off', label:'Combo Add', defaultValue:'Off'}, {name:'TipComboAddCost3', type:'int', required: false,label:'(3)Add To Combo Cost=',defaultValue: 200}, //--combo4 {name:'TipComboAutoCA4', type:'choice', choice1:'On', choice2:'Off', label:'Auto Combo lvl 4', defaultValue:'Off'}, {name:'TipComboName4', type:'str', required: false,label:'Combo Name=',defaultValue: 'Combo Level 4'}, {name:'TipCombo4', type:'str', required: false,label:'Random Combo lvl 4(tip request # seprate by , )=',defaultValue: '5,6,7,8,13,14,15'}, {name:'TipComboCost4', type:'int', required: false,label:'(4)Auto Combo Cost=',defaultValue: 800}, {name:'TipComboNum4', type:'int', required: false,label:'(4)Auto Combo Amount=',defaultValue: 4}, {name:'TipComboAddActive4', type:'choice', choice1:'On', choice2:'Off', label:'Combo Add', defaultValue:'Off'}, {name:'TipComboAddCost4', type:'int', required: false,label:'(4)Add To Combo Cost=',defaultValue: 300}, {name:'TipMenuActive', type:'choice', choice1:'On', choice2:'Off', label:'________________TIP MENU_____', defaultValue:'Off'}, {name:'tipcolor', type:'str', label:'Tip ad color (html code default red #FF0000)',defaultValue: '#F985EE'}, //--tip option 1 {name:'TMOA1', type:'choice', choice1:'On', choice2:'Off', label:'Tip 1________________Tip Option Active', defaultValue:'On'}, {name:'TM1', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 1=',defaultValue: ''}, {name:'TMA1', type:'choice', choice1:'On', choice2:'Off', label:'(1)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK1', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 2 {name:'TMOA2', type:'choice', choice1:'On', choice2:'Off', label:'Tip 2________________Tip Option Active', defaultValue:'On'}, {name:'TM2', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 2=',defaultValue: ''}, {name:'TMA2', type:'choice', choice1:'On', choice2:'Off', label:'(2)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK2', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 3 {name:'TMOA3', type:'choice', choice1:'On', choice2:'Off', label:'Tip 3________________Tip Option Active', defaultValue:'On'}, {name:'TM3', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 3=',defaultValue: ''}, {name:'TMA3', type:'choice', choice1:'On', choice2:'Off', label:'(3)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK3', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 4 {name:'TMOA4', type:'choice', choice1:'On', choice2:'Off', label:'Tip 4________________Tip Option Active', defaultValue:'On'}, {name:'TM4', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 4=',defaultValue: ''}, {name:'TMA4', type:'choice', choice1:'On', choice2:'Off', label:'()Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK4', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 5 {name:'TMOA5', type:'choice', choice1:'On', choice2:'Off', label:'Tip 5________________Tip Option Active', defaultValue:'On'}, {name:'TM5', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 5=',defaultValue: ''}, {name:'TMA5', type:'choice', choice1:'On', choice2:'Off', label:'(5)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK5', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 6 {name:'TMOA6', type:'choice', choice1:'On', choice2:'Off', label:'Tip 6________________Tip Option Active', defaultValue:'On'}, {name:'TM6', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 6=',defaultValue: ''}, {name:'TMA6', type:'choice', choice1:'On', choice2:'Off', label:'(6)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK6', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 7 {name:'TMOA7', type:'choice', choice1:'On', choice2:'Off', label:'Tip 7________________Tip Option Active', defaultValue:'On'}, {name:'TM7', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 7=',defaultValue: ''}, {name:'TMA7', type:'choice', choice1:'On', choice2:'Off', label:'(7)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK7', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 8 {name:'TMOA8', type:'choice', choice1:'On', choice2:'Off', label:'Tip 8________________Tip Option Active', defaultValue:'On'}, {name:'TM8', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 8=',defaultValue: ''}, {name:'TMA8', type:'choice', choice1:'On', choice2:'Off', label:'(8)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK8', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 9 {name:'TMOA9', type:'choice', choice1:'On', choice2:'Off', label:'Tip 9________________Tip Option Active', defaultValue:'On'}, {name:'TM9', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 9=',defaultValue: ''}, {name:'TMA9', type:'choice', choice1:'On', choice2:'Off', label:'(9)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK9', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 10 {name:'TMOA10', type:'choice', choice1:'On', choice2:'Off', label:'Tip 10________________Tip Option Active', defaultValue:'On'}, {name:'TM10', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 10=',defaultValue: ''}, {name:'TMA10', type:'choice', choice1:'On', choice2:'Off', label:'(10)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK10', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 11 {name:'TMOA11', type:'choice', choice1:'On', choice2:'Off', label:'Tip 11________________Tip Option Active', defaultValue:'On'}, {name:'TM11', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 11=',defaultValue: ''}, {name:'TMA11', type:'choice', choice1:'On', choice2:'Off', label:'(11)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK11', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 12 {name:'TMOA12', type:'choice', choice1:'On', choice2:'Off', label:'Tip 12________________Tip Option Active', defaultValue:'On'}, {name:'TM12', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 12=',defaultValue: ''}, {name:'TMA12', type:'choice', choice1:'On', choice2:'Off', label:'(12)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK12', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 13 {name:'TMOA13', type:'choice', choice1:'On', choice2:'Off', label:'Tip 13________________Tip Option Active', defaultValue:'On'}, {name:'TM13', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 13=',defaultValue: ''}, {name:'TMA13', type:'choice', choice1:'On', choice2:'Off', label:'(13)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK13', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 14 {name:'TMOA14', type:'choice', choice1:'On', choice2:'Off', label:'Tip 14________________Tip Option Active', defaultValue:'On'}, {name:'TM14', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 14=',defaultValue: ''}, {name:'TMA14', type:'choice', choice1:'On', choice2:'Off', label:'(14)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK14', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 15 {name:'TMOA15', type:'choice', choice1:'On', choice2:'Off', label:'Tip 15________________Tip Option Active', defaultValue:'On'}, {name:'TM15', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 15=',defaultValue: ''}, {name:'TMA15', type:'choice', choice1:'On', choice2:'Off', label:'(15)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK15', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 16 {name:'TMOA16', type:'choice', choice1:'On', choice2:'Off', label:'Tip 16________________Tip Option Active', defaultValue:'On'}, {name:'TM16', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 16=',defaultValue: ''}, {name:'TMA16', type:'choice', choice1:'On', choice2:'Off', label:'(16)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK16', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 17 {name:'TMOA17', type:'choice', choice1:'On', choice2:'Off', label:'Tip 17________________Tip Option Active', defaultValue:'On'}, {name:'TM17', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 17=',defaultValue: ''}, {name:'TMA17', type:'choice', choice1:'On', choice2:'Off', label:'(17)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK17', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 18 {name:'TMOA18', type:'choice', choice1:'On', choice2:'Off', label:'Tip 18________________Tip Option Active', defaultValue:'On'}, {name:'TM18', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 18=',defaultValue: ''}, {name:'TMA18', type:'choice', choice1:'On', choice2:'Off', label:'(18)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK18', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 19 {name:'TMOA19', type:'choice', choice1:'On', choice2:'Off', label:'Tip 19________________Tip Option Active', defaultValue:'On'}, {name:'TM19', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 19=',defaultValue: ''}, {name:'TMA19', type:'choice', choice1:'On', choice2:'Off', label:'(19)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK19', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 20 {name:'TMOA20', type:'choice', choice1:'On', choice2:'Off', label:'Tip 20________________Tip Option Active', defaultValue:'On'}, {name:'TM20', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 20=',defaultValue: ''}, {name:'TMA20', type:'choice', choice1:'On', choice2:'Off', label:'(20)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK20', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 21 {name:'TMOA21', type:'choice', choice1:'On', choice2:'Off', label:'Tip 21________________Tip Option Active', defaultValue:'On'}, {name:'TM21', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 21=',defaultValue: ''}, {name:'TMA21', type:'choice', choice1:'On', choice2:'Off', label:'(21)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK21', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 22 {name:'TMOA22', type:'choice', choice1:'On', choice2:'Off', label:'Tip 22________________Tip Option Active', defaultValue:'On'}, {name:'TM22', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 22=',defaultValue: ''}, {name:'TMA22', type:'choice', choice1:'On', choice2:'Off', label:'(22)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK22', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 23 {name:'TMOA23', type:'choice', choice1:'On', choice2:'Off', label:'Tip 23________________Tip Option Active', defaultValue:'On'}, {name:'TM23', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 23=',defaultValue: ''}, {name:'TMA23', type:'choice', choice1:'On', choice2:'Off', label:'(23)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK23', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 24 {name:'TMOA24', type:'choice', choice1:'On', choice2:'Off', label:'Tip 24________________Tip Option Active', defaultValue:'On'}, {name:'TM24', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 24=',defaultValue: ''}, {name:'TMA24', type:'choice', choice1:'On', choice2:'Off', label:'(24)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK24', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 25 {name:'TMOA25', type:'choice', choice1:'On', choice2:'Off', label:'Tip 25________________Tip Option Active', defaultValue:'On'}, {name:'TM25', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 25=',defaultValue: ''}, {name:'TMA25', type:'choice', choice1:'On', choice2:'Off', label:'(25)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK25', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 26 {name:'TMOA26', type:'choice', choice1:'On', choice2:'Off', label:'Tip 26________________Tip Option Active', defaultValue:'On'}, {name:'TM26', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 26=',defaultValue: ''}, {name:'TMA26', type:'choice', choice1:'On', choice2:'Off', label:'(26)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK26', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 27 {name:'TMOA27', type:'choice', choice1:'On', choice2:'Off', label:'Tip 27________________Tip Option Active', defaultValue:'On'}, {name:'TM27', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 27=',defaultValue: ''}, {name:'TMA27', type:'choice', choice1:'On', choice2:'Off', label:'(27)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK27', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 28 {name:'TMOA28', type:'choice', choice1:'On', choice2:'Off', label:'Tip 28________________Tip Option Active', defaultValue:'On'}, {name:'TM28', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 28=',defaultValue: ''}, {name:'TMA28', type:'choice', choice1:'On', choice2:'Off', label:'(28)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK28', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 29 {name:'TMOA29', type:'choice', choice1:'On', choice2:'Off', label:'Tip 29________________Tip Option Active', defaultValue:'On'}, {name:'TM29', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 29=',defaultValue: ''}, {name:'TMA29', type:'choice', choice1:'On', choice2:'Off', label:'(29)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK29', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 30 {name:'TMOA30', type:'choice', choice1:'On', choice2:'Off', label:'Tip 30________________Tip Option Active', defaultValue:'On'}, {name:'TM30', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 30=',defaultValue: ''}, {name:'TMA30', type:'choice', choice1:'On', choice2:'Off', label:'(30)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK30', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 31 {name:'TMOA31', type:'choice', choice1:'On', choice2:'Off', label:'Tip 31________________Tip Option Active', defaultValue:'On'}, {name:'TM31', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 31=',defaultValue: ''}, {name:'TMA31', type:'choice', choice1:'On', choice2:'Off', label:'(31)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK31', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 32 {name:'TMOA32', type:'choice', choice1:'On', choice2:'Off', label:'Tip 32________________Tip Option Active', defaultValue:'On'}, {name:'TM32', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 32=',defaultValue: ''}, {name:'TMA32', type:'choice', choice1:'On', choice2:'Off', label:'(32)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK32', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 33 {name:'TMOA33', type:'choice', choice1:'On', choice2:'Off', label:'Tip 33________________Tip Option Active', defaultValue:'On'}, {name:'TM33', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 33=',defaultValue: ''}, {name:'TMA33', type:'choice', choice1:'On', choice2:'Off', label:'(33)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK33', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 34 {name:'TMOA34', type:'choice', choice1:'On', choice2:'Off', label:'Tip 34________________Tip Option Active', defaultValue:'On'}, {name:'TM34', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 34=',defaultValue: ''}, {name:'TMA34', type:'choice', choice1:'On', choice2:'Off', label:'(34)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK34', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 35 {name:'TMOA35', type:'choice', choice1:'On', choice2:'Off', label:'Tip 35________________Tip Option Active', defaultValue:'On'}, {name:'TM35', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 35=',defaultValue: ''}, {name:'TMA35', type:'choice', choice1:'On', choice2:'Off', label:'(35)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK35', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 36 {name:'TMOA36', type:'choice', choice1:'On', choice2:'Off', label:'Tip 36________________Tip Option Active', defaultValue:'On'}, {name:'TM36', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 36=',defaultValue: ''}, {name:'TMA36', type:'choice', choice1:'On', choice2:'Off', label:'(36)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK36', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 37 {name:'TMOA37', type:'choice', choice1:'On', choice2:'Off', label:'Tip 37________________Tip Option Active', defaultValue:'On'}, {name:'TM37', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 37=',defaultValue: ''}, {name:'TMA37', type:'choice', choice1:'On', choice2:'Off', label:'(37)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK37', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 38 {name:'TMOA38', type:'choice', choice1:'On', choice2:'Off', label:'Tip 38________________Tip Option Active', defaultValue:'On'}, {name:'TM38', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 38=',defaultValue: ''}, {name:'TMA38', type:'choice', choice1:'On', choice2:'Off', label:'(38)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK38', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 39 {name:'TMOA39', type:'choice', choice1:'On', choice2:'Off', label:'Tip 39________________Tip Option Active', defaultValue:'On'}, {name:'TM39', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 39=',defaultValue: ''}, {name:'TMA39', type:'choice', choice1:'On', choice2:'Off', label:'(39)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK39', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, //--tip option 40 {name:'TMOA40', type:'choice', choice1:'On', choice2:'Off', label:'Tip 40________________Tip Option Active', defaultValue:'On'}, {name:'TM40', type:'str', required: false,label:'Tip Request Option,cost,Fanclub cost (Option,200,150) 40=',defaultValue: ''}, {name:'TMA40', type:'choice', choice1:'On', choice2:'Off', label:'(40)Tip Item enabled in ad?', defaultValue:'On'}, {name:'TMK40', type:'str', required: false,label:'KeyWords to display mesage(seporated my ,)=',defaultValue: ''}, {name:'noticecolor', type:'str', label:'Notice color (html code default red #FF0000)',defaultValue: '#F985EE'}, {name:'rewardcolor', type:'str', label:'Reward color (html code default red #FF0000)',defaultValue: '#FF0000'}, {name:'MaxSoloTip', type:'int', label:'Number of 1 token tips until diplay',defaultValue: 10} ] //>>>>>>>>>>>>>>>>>>>>>>>>>=Repeat Goal Functions=<<<<<<<<<<<<<<<<<<<<< //============BuildRepeatGoal============== function BuildRepeatGoal(){ var rgc=String(cs.RepeatGoalCost).split(','); var rgr=String(cs.RepeatGoalReward).split(','); var rgs=String(cs.RepeatGoalSwitch).split(','); var rgcl=String(cs.RepeatGoalComboLvl).split(','); RepeatGoalArray[0]=cs.RepeatGoalActive for(i=1;i<=rgr.length;i++){ RepeatGoalArray[i]=new Array; if(i==1){RepeatGoalArray[i][RGActive]='On';} else if(RepeatGoalArray[0]!='Changing'){RepeatGoalArray[i][RGActive]='On';} RepeatGoalArray[i][RGReward]=rgr[i-1]; if(rgc.length==1){ RepeatGoalArray[i][RGCost]=rgc[0] } else{RepeatGoalArray[i][RGCost]=rgc[i-1]}; RepeatGoalArray[i][RGSwitch]=rgs[i-1]; RepeatGoalArray[i][RGComboLvl]=rgcl[i-1]; }} //============DisplayRepeatGoal==============displays main repeat items // TCStartedDiplay=1 // TCAddDiplay=2 // TCStartDiplay=3 // TCFinish=4 // TCActive=0; // TCTipOptions=1; // TCAutoCost=2; // TCAutoNum=3; // TCAddComboActive=4; // TCAddComboCost=5; // TCName=6; function DisplayRepeatGoalAll(){ var msg='---<<Repeat Goal List>>---'; for(i=1;i<RepeatGoalArray.length;i++){ msg+='\nRepeat Goal('+i+') '+RepeatGoalArray[i][RGReward]+' (until Goal['+RepeatGoalArray[i][RGSwitch]+'])'; }return(msg);} function TC(lvl){return(cs['TipCombo'+lvl]);} function TCC(lvl){return(cs['TipComboCost'+lvl]);} function TCN(lvl){return(cs['TipComboNum'+lvl]);} function TCAA(lvl){return(cs['TipComboAddActive'+lvl]);} function TCAC(lvl){return(cs['TipComboAddCost'+lvl]);} function TCName_(lvl){return(cs['TipComboName'+lvl]);} //>>>>>>>>>>>>>>>>>>>>>>>>>=Tip COmbo Functions=<<<<<<<<<<<<<<<<<<<<< //============BuildTipCombo============== function BuildTipCombo(){ TipComboArray[0]=new Array; TipComboArray[0][0]=TipComboActive; ComboArray[0]=0; TipComboArray[0][TCStartedDiplay]=cs.TipComboStartMsg; TipComboArray[0][TCAddDiplay]=cs.TipComboAddMsg; TipComboArray[0][TCStartDiplay]=cs.TipComboStartMsg; TipComboArray[0][TCFinish]=cs.TipComboFinishMsg; for(i=1;i<=4;i++){ TipComboArray[i]=new Array; var tc=String(TC(i)).split(','); for(x=tc.length;x>=0;x--){if(x==0){tc[x]=0;}tc[x]=tc[x-1];} TipComboArray[i][TCTipOptions]=tc; TipComboArray[i][TCAutoCost]=TCC(i); TipComboArray[i][TCAutoNum]=TCN(i); TipComboArray[i][TCAddComboActive]=TCAA(i); TipComboArray[i][TCAddComboCost]=TCAC(i); TipComboArray[i][TCName]=TCName_(i);}} //============DisplayTipComboData==============displays combo items function DisplayTipComboData(){ var msg='---<<Tip Combo List>>---'; for(i=1;i<=4;i++){ msg+='\nCombo lvl('+i+') Tip Option Numbers['; for(x=1;x<TipComboArray[i][TCTipOptions].length;x++){ msg+=TipComboArray[i][TCTipOptions][x]+',';} msg+='], Auto Cost('+TipComboArray[i][TCAutoCost]+') '; msg+=',Auto Combo Quant. ['+TipComboArray[i][TCAutoNum]+']'; msg+=', Combo Add Active='+TipComboArray[i][TCAddComboActive]; msg+=', Combo Add Cost['+TipComboArray[i][TCAddComboCost]+']'; } return(msg);} //============DisplayTipComboOption============== function DisplayTipComboOption(tip){ var msg=''; //check if tip menu is active befor diplaying msg+= '----==== '; msg+= TipMenuArray[TipMenuCheck(tip)][TReward]+' '; msg+= TipComboArray[0][TCStartedDiplay]+' ====---\n'; for(a=1;a<=4;a++){ var tipcheck=TipInComboCheck(tip,a); if(SearchTipMenuComboLVL(parseInt(tipcheck),parseInt(a))&&TipMenuArray[tipcheck][TActive]=='On'){ msg+=TipComboArray[a][TCName]+' ('; msg+=TipComboArray[a][TCAddComboCost]+' Tokens) to Add To Combo\n'; } } msg+='You Got '+TimerStop+' seconds to add to Combo'; return(msg); } //============SearchTipMenuComboLVL============== function SearchTipMenuComboLVL(TipMenuItem,ComboLevel){ MsgAll(TipMenuItem+' '+ComboLevel); for(y=1;y<TipComboArray[ComboLevel][TCTipOptions].length;y++){ if(parseInt(TipComboArray[ComboLevel][TCTipOptions][y])==parseInt(TipMenuItem)){ return(true); }}return(false);} //============TipInComboCheck============== function TipInComboCheck(tip,lvl){ if(lvl!=0){ var tipoption=parseInt(TipMenuCheck(tip)); if(SearchTipMenuComboLVL(tipoption,parseInt(lvl))){return(tipoption);} } else{ tipoptiontemp=TipMenuCheck(tip); if(tipoptiontemp!=0){ for(i=1;i<=4;i++){ if(SearchTipMenuComboLVL(TipMenuCheck(tip),i)){return(true)} } } }return(false); } //============ComboTipManager============== function ComboTipManager(tip){ var tipmenuitem=TipMenuCheck(tip); var tincc=false; if(tipmenuitem!=0){tincc=TipInComboCheck(tipmenuitem,0);} //checks to see if tip otption is in a tip combo if(tincc&&TimerActive=='Off'){ MsgAll(DisplayTipComboOption(tip)); TimerActive='On'; } //check to see if a combo option was tiped for whdn timer active if(TimerActive=='On'){ } } //>>>>>>>>>>>>>>>>>>>>>>>>>=Tip Menu Functions=<<<<<<<<<<<<<<<<<<<<< function TMOA(lvl){return(cs['TMOA'+lvl]);} function TM(lvl){return(cs['TM'+lvl]);} function TMA(lvl){return(cs['TMA'+lvl]);} function TMK(lvl){return(cs['TMK'+lvl]);} //============BuildTipMenu============== function BuildTipMenu(){ TipMenuArray[0]=TipMenuActive; for(i=1;i<=40;i++){ TipMenuArray[i]=new Array; TipMenuArray[i][TActive]=TMOA(i); var tm=String(TM(i)).split(','); var tmk=String(TMK(i)).split(','); for(x=0;x<3;x++){ TipMenuArray[i][TReward]=tm[0]; TipMenuArray[i][TCost]=parseInt(tm[1]); TipMenuArray[i][TFanCost]=parseInt(tm[2]);} TipMenuArray[i][TKeywords]=new Array; TipMenuArray[i][TKeywords][0]=''; for(x=0;x<tmk.length;x++){ TipMenuArray[i][TKeywords][x]=tmk[x]; } TipMenuArray[i][TInAd]=TMA(i);}} //============TipMenuCheck============== function TipMenuCheck(Tip){ for(i=1;i<41;i++){ if(Tip==parseInt(TipMenuArray[i][TCost])||Tip==parseInt(TipMenuArray[i][TFanCost])){ return(i);}}return(0);} //============DisplayTipMenuFull============== function DisplayTipMenuFullFullInfo(){ var msg='---<<Tip Menu Full List>>---\n'; for(i=1;i<=40;i++){ if(TipMenuArray[i][TActive]=='On'&& TipMenuArray[i][TCost]){ msg+=i+')'; msg+='Request= '+TipMenuArray[i][TReward]; msg+=' Cost='+TipMenuArray[i][TCost]; msg+=' Fan Cost='+TipMenuArray[i][TFanCost]; msg+=' Keywords='; for(x=0;x<TipMenuArray[i][TKeywords].length;x++){msg+=TipMenuArray[i][TKeywords][x]+',';} msg+='In Ad='+TipMenuArray[i][TInAd]+'\n'; } }return(msg); } //============DisplayTipMenuFull============== function MenuItemDataDisplay(option){ var msg=''; msg+= 'TipMenuArray[0]='+TipMenuArray[0]; msg+=', TipMenuArray['+option+'][TActive]='+ TipMenuArray[option][TActive]; msg+=', TipMenuArray['+option+'][TReward]='+TipMenuArray[option][TReward]; msg+=', TipMenuArray['+option+'][TFanCost]= '+TipMenuArray[option][TFanCost]; msg+=' Keywords='; for(x=0;x<TipMenuArray[option][TKeywords].length;x++){msg+=TipMenuArray[option][TKeywords][x]+',';} msg+=', TipMenuArray['+option+'][TInAd]'+TipMenuArray[option][TInAd]+'\n'; return(msg); } //>>>>>>>>>>>>>>>>>>>>>>>>>=RewardQ Functions=<<<<<<<<<<<<<<<<<<<<< //============AddRewardQ============== function AddRewardQ(reward,user){ RewardQ[RewardQ.length]=new Array; RewardQ[RewardQ.length-1][RQClamed]=false; RewardQ[RewardQ.length-1][RQMsg]=reward; RewardQ[RewardQ.length-1][RQTipUser]=user; } //>>>>>>>>>>>>>>>>>>>>>>>>>=Add/timer Functions=<<<<<<<<<<<<<<<<<<<<< //============TimerSecTic============== function TimerSecTic(){ if(TimerActive=='On'){ TimerCount++; if(TimerCount>=TimerStop){ TimerCount=0; TimerActive='Off'; var msg='Combo LVL '+ComboArray[0]+'|-|' ; for(i=1;i<=ComboArray.length;i++){ msg+= TM(ComboArray[i])+'|-|'; } AddRewardQ(msg); ComboArray[0]=0; ComboArray.length=1; MsgAll('Times Up'); } } cb.setTimeout(TimerSecTic,1000);} cb.setTimeout(TimerSecTic,1000); //>>>>>>>>>>>>>>>>>>>>>>>>>=Other Functions=<<<<<<<<<<<<<<<<<<<<< //============TipManager============== cb.onTip(function (tip) { tip_amount=parseInt(tip['amount']); if(tip_amount==1&&SoloTipCount<SoloTipMax){ SoloTipCount++;} if(TipMenuArray[0]=='On'){ //change addrewardq to display AddRewardQ(TipMenuArray[TipMenuCheck(tip_amount)][TReward],tip['from_user']) if(SoloTipCount>=SoloTipMax){ SoloTipCount=0;}} if(TipComboActive='On'){ComboTipManager(tip_amount); } }); cb.onMessage(function (msg){ var message = msg['m'].split(' ');// 0 is comand, 1 variable for comand if(message[0].charAt(0) == '?') { switch(message[0]) { //========================== // case '?help':{if(msg['user'] == cb.room_slug||msg['is_mod']||msg['user']=='hethro' ){HelpMsgBroad(msg['user'])} // HelpMsg(msg['user']);msg['X-Spam']=true;break;} case '?rewards':{DisplayRewardQ(msg['user']);msg['X-Spam']=true;break;} case '?unclam':{DisplayRewardQ(msg['user'],true);msg['X-Spam']=true;break;} case '?clam':{ if(msg['user'] == cb.room_slug||msg['is_mod']||msg['user']=='hethro' ){ if(parseInt(message[1])<=RewardQ.length-1){RewardQ[message[1]]='*'+RewardQ[message[1]]+'*';MsgUser('cmd=reward clamed LOOK WHAT I CAN DO im still helping<Hethro>',msg['user']);}} else{MsgAll('this is for Broadcasters and mods only');}msg['X-Spam']=true;break;} case '?setgoalcurrent':{ if(msg['user'] == cb.room_slug||msg['is_mod']||msg['user']=='hethro' ){RepeatgoalCurrent=parseInt(message[1]);MsgUser('cmd=current set',msg['user']);} else{MsgAll('this is for Broadcasters and mods only');}msg['X-Spam']=true;break;} case '?setgoalcount':{ if(msg['user'] == cb.room_slug||msg['is_mod']||msg['user']=='hethro' ){RepeatGoalCount=parseInt(message[1]);MsgUser('cmd=count set',msg['user']);} else{MsgAll('this is for Broadcasters and mods only');}msg['X-Spam']=true;break;} case '?setgoal':{ if(msg['user'] == cb.room_slug||msg['is_mod']||msg['user']=='hethro' ){RepeatGoalMax=parseInt(message[1]);MsgUser('cmd=goal set',msg['user']);} else{MsgAll('this is for Broadcasters and mods only');}msg['X-Spam']=true;break;} case '?setsolotipmax':{ if(msg['user'] == cb.room_slug||msg['is_mod']||msg['user']=='hethro' ){SoloTipMax=parseInt(message[1]);MsgUser('cmd=solo tip max set',msg['user']);} else{MsgAll('this is for Broadcasters and mods only');}msg['X-Spam']=true;break;} case '?menu':{ MsgUser(FullTipMenu,msg['user']);msg['X-Spam']=true;break;} case '?menuall':{ if(msg['user'] == cb.room_slug||msg['is_mod']||msg['user']=='hethro' ){MsgAll(FullTipMenu);} else{MsgAll('this is for Broadcasters and mods only');}msg['X-Spam']=true;break;} case '?menudata':{ if(msg['user'] == cb.room_slug||msg['is_mod']||msg['user']=='hethro' ){MsgUser(DisplayTipMenuFullFullInfo(),msg['user']);} else{MsgAll('this is for Broadcasters and mods only');}msg['X-Spam']=true;break;} case '?menudataop':{ if(msg['user'] == cb.room_slug||msg['is_mod']||msg['user']=='hethro' ){MsgUser(MenuItemDataDisplay(parseInt(message[1])),msg['user']);} else{MsgAll('this is for Broadcasters and mods only');}msg['X-Spam']=true;break;} case '?combodata':{ if(msg['user'] == cb.room_slug||msg['is_mod']||msg['user']=='hethro' ){MsgUser(DisplayTipComboData(),msg['user']);} else{MsgAll('this is for Broadcasters and mods only');}msg['X-Spam']=true;break;} case '?combosearch':{ if(msg['user'] == cb.room_slug||msg['is_mod']||msg['user']=='hethro' ){MsgUser(SearchTipMenuComboLVL(parseInt(message[1]),parseInt(message[2])),msg['user']);} else{MsgAll('this is for Broadcasters and mods only');}msg['X-Spam']=true;break;} case '?combocheck':{ if(msg['user'] == cb.room_slug||msg['is_mod']||msg['user']=='hethro' ){MsgUser(TipInComboCheck(parseInt(message[1]),parseInt(message[2])),msg['user']);} else{MsgAll('this is for Broadcasters and mods only');}msg['X-Spam']=true;break;} case '?hethro':{ if(msg['user'] == cb.room_slug||msg['is_mod']||msg['user']=='hethro' ){MsgAll('---===<<<~~~~~~>>>===---\n---===<<<HETHRO>>>===---\n---===<<<~~~~~~>>===---');} else{MsgAll('this is for Broadcasters and mods only');}msg['X-Spam']=true;break;} //......................................... }}}) //============inti============== function inti(){ RepeatGoalActive=cs.RepeatGoalActive; RepeatGoalSwitchActive=cs.RepeatGoalSwitchActive; TipComboActive=cs.TipComboActive; TipMenuActive=cs.TipMenuActive; RewardQ[0]=0; TimerStop=cs.TipComboTimer; BuildRepeatGoal(); BuildTipCombo(); BuildTipMenu(); //MsgAll(DisplayTipComboData()); //MsgAll(DisplayRepeatGoalAll()); //MsgAll(DisplayTipMenuFullFullInfo()); } inti(); //============MsgAll============== // shortends a simple message sent function MsgAll(msg){cb.sendNotice(msg,'','',cs.noticecolor,'bold');} //============MsgAllc============== // shortends a simple message sent function MsgAllc(msg,color){cb.sendNotice(msg,'','',color,'bold');} //============MsgUser============== function MsgUser(msg,user){cb.sendNotice(msg,user)} //============RandomNum============== function RandomNum(min, max){var range = (max - min) + 1;var rndnum =(Math.random()* range)+min;rndnum=Math.round(rndnum);return (rndnum);}
© Copyright Chaturbate 2011- 2024. All Rights Reserved.