Bots Home
|
Create an App
RG
Author:
hethro1
Description
Source Code
Launch Bot
Current Users
Created by:
Hethro1
var cs = JSON.parse(JSON.stringify(cb.settings)); var GoalQuantity = new Array; var GoalQnumber = 0; var GoalChance = new Array; var GoalQ = new Array; var GoalTn=0; var quantity= 0;//population in array var cost=0; cb.settings_choices = [ {name:'G1', type:'str', required: false,label:'Goal 1=',defaultValue: 'Spanks'}, {name:'G2', type:'str', required: false,label:'Goal 2=',defaultValue: 'Spanks'}, {name:'G3', type:'str', required: false,label:'Goal 3=',defaultValue: 'Spanks'}, {name:'G4', type:'str', required: false,label:'Goal 4=',defaultValue: 'Spanks'}, {name:'G5', type:'str', required: false,label:'Goal 5=',defaultValue: 'Spanks'}, {name:'G6', type:'str', required: false,label:'Goal 6=',defaultValue: 'Spanks'}, {name:'G7', type:'str', required: false,label:'Goal 7=',defaultValue: 'Spanks'}, {name:'G8', type:'str', required: false,label:'Goal 8=',defaultValue: 'Spanks'}, {name:'G9', type:'str', required: false,label:'Goal 9=',defaultValue: 'Spanks'}, {name:'G10', type:'str', required: false,label:'Goal 10=',defaultValue: 'Spanks'}, {name:'G11', type:'str', required: false,label:'Goal 11=',defaultValue: 'Spanks'}, {name:'G12', type:'str', required: false,label:'Goal 12=',defaultValue: 'Spanks'}, {name:'G13', type:'str', required: false,label:'Goal 13=',defaultValue: 'Spanks'}, {name:'G14', type:'str', required: false,label:'Goal 14=',defaultValue: 'Spanks'}, {name:'G15', type:'str', required: false,label:'Goal 15=',defaultValue: 'Spanks'}, {name:'G16', type:'str', required: false,label:'Goal 16=',defaultValue: 'Spanks'}, {name:'G17', type:'str', required: false,label:'Goal 17=',defaultValue: 'Spanks'}, {name:'G18', type:'str', required: false,label:'Goal 18=',defaultValue: 'Spanks'}, {name:'G19', type:'str', required: false,label:'Goal 19=',defaultValue: 'Spanks'}, {name:'G20', type:'str', required: false,label:'Goal 20=',defaultValue: 'Spanks'}, {name:'GC1', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC2', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC3', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC4', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC5', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC6', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC7', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC8', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC9', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC10', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC11', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC12', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC13', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC14', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC15', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC16', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC17', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC18', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC19', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {name:'GC20', type:'int', required: false,label:'Goal 1 Cost(Set To 0 To Remove Goal)=',defaultValue: 10}, {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:'AdMsgTimer', type:'int', label:'Ad Display Timer(Minutes)',defaultValue: 5} ] function G(lvl){return(cs['G'+lvl]);} function GC(lvl){return(cs['GC'+lvl]);} //============MsgAll============== // shortends a simple message sent function MsgAll(msg){cb.sendNotice(msg,'','',cs.noticecolor,'bold');} //============MsgUser============== function MsgUser(msg,user){cb.sendNotice(msg,user)}; //============MsgAllReward============== // shortends a simple message sent function MsgAllReward(msg){cb.sendNotice(msg,'','',cs.rewardcolor,'bold');} //============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.