Apps Home
|
Create an App
test dsfa
Author:
papapa
Description
Source Code
Launch App
Current Users
Created by:
Papapa
var author='jhonhanar'; cb.settings_choices = [ {name: 'bienvenida', label:'Hola bb, Hoy sera un excelente dia',type: 'choice',choice1: 'si', choice2: 'claro que si', choice3: 'mas lindo', default: 'si'}, {name: 'goal', type: 'int', minValue: 1, default: 100}, {name: 'goal_description', type: 'str', minLength: 1, maxLength: 255}, {name: 'goal2', type: 'int', label: "Goal 2 (optional)", minValue: 1, required: false}, {name: 'goal2_description', label: "Goal 2 description",type: 'str', minLength: 1, maxLength: 255, required: false}, {name: 'goal3', type: 'int', label: "Goal 3 (optional)", minValue: 1, required: false, default: 1000}, {name: 'goal3_description', label: "Goal 3 description",type: 'str', minLength: 1, maxLength: 255, required: false, default: 'Dildo'}, { name: 'tags', label: 'Hashtags (appended after the goal and token counter to the room subject)', type: 'str', default: '#dildo #cum #squirt #lovense #lush #anal #finger #pvt #c2c #tits #teen #18 #feet #pantyhose', required: false}, { name: 'tokens', type: 'int', minValue: 1, maxValue: 100, label: 'How much do you want to charge per roll?', defaultValue: 25 }, {name: 'min_start_tokens', type: 'int', minValue: 1, maxValue: 1000, defaultValue: 100, label: "Costo para unirse al show antes de que inicie"}, {name: 'min_join_tokens', type: 'int', minValue: 0, maxValue: 1000, defaultValue: 100, label: "Costo para unirse durante el show. Poner en 0 para deshabilitar unirse durante el show."}, {name: 'hide_message', label: 'Cam Message', type: 'str', minLength: 1, maxLength: 256, defaultValue: 'Secret Show in progress! Tip at least ' }, { name: 'remove_winning_prize', type: 'choice', label: 'Remove prize from list after each roll?', choice1: 'Yes', choice2: 'No', defaultValue: 'No' }, { name: 'die_type', type: 'choice', label: 'Utilizar diferentes premios para cuando estás desnuda.)', choice1: 'yes', choice2: 'no', default: 'yes' }, { name: 'minimum_rolls', type: 'choice', label: 'What is the minimum number of rolls before the rare dice can appear? (Keep this a secret!)', choice1: 10, choice2: 15, choice3: 20, choice4: 25, choice5: 30, choice6: 35, choice7: 40, choice8: 45, choice9: 50, defaultValue: 10 }, { name: 'notice_wait_time', type: 'choice', label: 'In minutes, how often should the app advertise itself?', choice1: 5, choice2: 10, choice3: 15, choice4: 20, choice5: 25, choice6: 30, choice7: 45, choice8: 60, defaultValue: 10 }, {name: 'prize_1', type: 'str', label: 'Prize for rolling 1'}, {name: 'prize_2', type: 'str', label: 'Prize for rolling 2'}, {name: 'prize_3', type: 'str', label: 'Prize for rolling 3'}, {name: 'prize_4', type: 'str', label: 'Prize for rolling 4'}, {name: 'prize_5', type: 'str', label: 'Prize for rolling 5'}, {name: 'prize_6', type: 'str', label: 'Prize for rolling 6'}, {name: 'prize_7', type: 'str', label: 'Prize for rolling 7'}, {name: 'prize_8', type: 'str', label: 'Prize for rolling 8'}, {name: 'prize_9', type: 'str', label: 'Prize for rolling 9'}, {name: 'prize_10', type: 'str', label: 'Prize for rolling 10'}, {name: 'prize_11', type: 'str', label: 'Prize for rolling 11'}, {name: 'prize_12', type: 'str', label: 'Prize for rolling 12'}, {name: 'prize_13', type: 'str', label: 'Prize for rolling 1/13 - (rare)', default: 'Naked Flash'}, {name: 'prize_14', type: 'str', label: 'Prize for rolling 2 - opcional', required: false}, {name: 'prize_15', type: 'str', label: 'Prize for rolling 3 - opcional', required: false}, {name: 'prize_16', type: 'str', label: 'Prize for rolling 4 - opcional', required: false}, {name: 'prize_17', type: 'str', label: 'Prize for rolling 5 - opcional', required: false}, {name: 'prize_18', type: 'str', label: 'Prize for rolling 6 - opcional', required: false}, {name: 'prize_19', type: 'str', label: 'Prize for rolling 7 - opcional', required: false}, {name: 'prize_20', type: 'str', label: 'Prize for rolling 8 - opcional', required: false}, {name: 'prize_21', type: 'str', label: 'Prize for rolling 9 - opcional', required: false}, {name: 'prize_22', type: 'str', label: 'Prize for rolling 10 - opcional', required: false}, {name: 'prize_23', type: 'str', label: 'Prize for rolling 11 - opcional', required: false}, {name: 'prize_24', type: 'str', label: 'Prize for rolling 12 - opcional', required: false}, {name: 'prize_25', type: 'str', label: 'Prize for rolling 13 - opcional (rare)', required: false}, ]; var langTokens = (cb.settings.tokens > 1) ? 'tokens' : 'token'; var numberOfSides = 6; var lastRoller = '--'; var lastTm = ''; var lastPrizeWon = '--'; var rollCounter = 0; var tipCounter = 0; var winners = []; var prizes = []; var minimumRollsToGetRareDice = parseInt(cb.settings.minimum_rolls); var maxOutcome = 13; var dieImagePrefix = ':bluediex'; var dieImagePrefix2 = ':golddie'; var a; var total_tipped = 0; var total2_tipped = 0; var high_tip_username = null; var high_tip_amount = 0; var last_tip_username = null; var last_tip_amount = 0; var subject_is_set_with_0 = false; var goalCounter=1; var nextgoal=''; var nexttokens = 0; var tipperArray = new Array; var funnom = new Array; var numTippers = 0; var numregul = 0; var likeuser = new Array; var camhidden = new Array; var tippers = new Array; var usersreal= new Array; var bestippers= new Array; var fanclub = new Array; var players = new Array; var regularuser = new Array; var naked=0; //var tipperleader=0; var tipperleaderuser=''; var tipperleaderuser2=''; var tipperleaderuser3=''; var indicador=0; var tipmenu = [40,50,77,100,500]; function regular(){ for(var i=0;i<usersreal.length;i++){ timerreguser(usersreal[i]); } cb.setTimeout(regular, 300000); } function timerreguser(username){ if(cbjs.arrayContains(usersreal, username) && !cbjs.arrayContains(regularuser, username)){ funnom[findreg(username)][1]+=5; if(funnom[findreg(username)][1]>=60){ regularuser.push(username); var msg2 = 'Congratulations, you became a regular user. Thanks for your support'; cb.sendNotice(msg2,username, '#2ECCFA', '#3A01DF', 'bold'); } } } function funnombre(user) { funnom[numregul] = new Array; funnom[numregul][0] = user; funnom[numregul][1] = 0; numregul++; } function findreg(user) { //find the index of the user for(var i = 0; i < funnom.length; i++) { if(funnom[i][0] == user) { break; } } //the user is not in the array. add him and call findTipper if(i == funnom.length) { funnombre(user); findreg(user); } return i; } function tipperArrayPopulate(user) { tipperArray[numTippers] = new Array; tipperArray[numTippers][0] = user; tipperArray[numTippers][1] = 0; numTippers++; } function findTipper(user) { //find the index of the user for(var i = 0; i < tipperArray.length; i++) { if(tipperArray[i][0] == user) { break; } } //the user is not in the array. add him and call findTipper if(i == tipperArray.length) { tipperArrayPopulate(user); findTipper(user); } return i; } function setTipTitles(user, message){ var m = ''; if(user==tipperArray[0][0]){ m = ':crowngold ' + message; } else if(user==tipperArray[1][0]){ m = ':crownsilver ' + message; } return m; } cb.onTip(function (tip) { a=parseInt(tip['amount']); findTipper(tip['from_user']); last_tip_amount = tip['amount'] last_tip_username = tip['from_user'] if(!cbjs.arrayContains(tippers,tip['from_user'])){ tippers.push(tip['from_user']); } tipperArray[findTipper(tip['from_user'])][1]+=a; var lvl; if(a>=1 && a<25){ lvl=1; }else if(a>=25 && a<100){ lvl=2; }else if(a>=100 && a<500){ lvl=3; }else if(a>=500){ lvl=4; } tipCounter += parseInt(tip['amount']); if(tip['amount']>=100 && tip['amount']<1000){ total2_tipped += parseInt(tip['amount']); } else if(tip['amount']<100){ total_tipped += parseInt(tip['amount']); } if (tip['amount'] > high_tip_amount) { high_tip_amount = tip['amount'] high_tip_username = tip['from_user'] } if (parseInt(tip['amount']) >= cb.settings.tokens && parseInt(tip['amount'])<100 && !cbjs.arrayContains(tipmenu, parseInt(tip['amount']))) { var numberOfRolls = Math.floor(parseInt(tip['amount']) / cb.settings.tokens); if(numberOfRolls > 3){ numberOfRolls = 3; } for (var i = 0; i < numberOfRolls; i++) { roll(tip['from_user']); lastRoller = tip['from_user']; } } else if(cbjs.arrayContains(tipmenu, parseInt(tip['amount'])) || (parseInt(tip['amount'])>=100 && parseInt(tip['amount'])<1000)){ var tymsg=':adelinekiss Thank you'; lastTm=tip['from_user']; cb.sendNotice(tymsg,tip['from_user'], '#2ECCFA', '#3A01DF', 'bold'); } else if(parseInt(tip['amount'])>=1000){ var tymsg=':adelinekiss Thank you'; lastTm=tip['from_user']; cb.sendNotice(tymsg,tip['from_user'], '#2ECCFA', '#3A01DF', 'bold'); roll2(tip['from_user']); lastRoller = tip['from_user']; } else{ cb.drawPanel(); } if (total_tipped >= cb.settings.goal) { var copytotaltipped = total_tipped; var copygoal = cb.settings.goal; total_tipped %= cb.settings.goal; while(copytotaltipped>=copygoal){ copytotaltipped -= copygoal; goalCounter++; goal_reached(); if(indicador==0){ indicador=1; }else{ indicador=0; } } } if (total2_tipped >= cb.settings.goal2) { var copytotaltipped2 = total2_tipped; var copygoal2 = cb.settings.goal2; total2_tipped %= cb.settings.goal2; while(copytotaltipped2>=copygoal2){ copytotaltipped2 -= copygoal2; goalCounter++; goal2_reached(); if(indicador==0){ indicador=1; }else{ indicador=0; } } } tipperArray.sort(function (a, b){ if (a[1] > b[1]) { return -1; } if (a[1] < b[1]) { return 1; } // a must be equal to b return 0; }); if(tipperleaderuser!=tipperArray[0][0]){ tipperleaderuser=tipperArray[0][0]; tipperleaderadd(); if(numTippers>1){ tipperleaderuser2=tipperArray[1][0]; } if(numTippers>2){ tipperleaderuser3=tipperArray[2][0]; } } else if(numTippers>1){ if(tipperleaderuser2!=tipperArray[1][0]){ tipperleaderuser2=tipperArray[1][0]; tipperleaderadd(); if(numTippers>2){ tipperleaderuser3=tipperArray[2][0]; } } } else if(numTippers>2){ if(tipperleaderuser3!=tipperArray[2][0]){ tipperleaderuser3=tipperArray[2][0]; tipperleaderadd(); } } var numtipper=findTipper(tip['from_user']); cb.sendNotice(numtipper,author, '#2ECCFA', '#3A01DF', 'bold'); if (!cbjs.arrayContains(cb.limitCam_allUsersWithAccess(), tip['from_user'])) { if(!cb.limitCam_isRunning()) { if(tipperArray[findTipper(tip['from_user'])][1]>=cb.settings.min_start_tokens){ cb.limitCam_addUsers([tip['from_user']]); if(!cbjs.arrayContains(bestippers, tip['from_user'])){ bestippers.push(tip['from_user']); } } if(parseInt(tip['amount']) >= cb.settings.min_start_tokens){ output('Added '+ tip['from_user'] + ' to secret show!'); cb.limitCam_addUsers([tip['from_user']]); if(!cbjs.arrayContains(bestippers, tip['from_user'])){ bestippers.push(tip['from_user']); } } } } if(cb.room_slug=='adeliinecrye' || cb.room_slug=='barbycouple69'){ sonrisa(lvl,last_tip_username); } if(cb.limitCam_isRunning() && parseInt(tip['amount']) >= cb.settings.min_join_tokens && cb.settings.min_join_tokens > 0) { if(!cbjs.arrayContains(cb.limitCam_allUsersWithAccess(), tip['from_user'])){ output('Added '+ tip['from_user'] + ' to secret show!'); cb.limitCam_addUsers([tip['from_user']]); } } if(cb.limitCam_isRunning() && (tip['from_user']==tipperleaderuser || tip['from_user']==tipperleaderuser2 || tip['from_user']==tipperleaderuser3)){ if(tipperArray[findTipper(tip['from_user'])][1]>=25){ cb.limitCam_addUsers([tip['from_user']]); } } if(tipperArray[findTipper(tip['from_user'])][1]>=cb.settings.tokens){ if(!cbjs.arrayContains(players,tip['from_user'])){ players.push(tip['from_user']); } } if(tipperArray[findTipper(tip['from_user'])][1]>=25){ if(!cbjs.arrayContains(likeuser,tip['from_user'])){ var likemsg=":adelinelike :satisfiediam"; likeuser.push(tip['from_user']); cb.sendNotice(likemsg,tip['from_user'], '#2ECCFA', '#3A01DF', 'bold'); cb.sendNotice(likemsg,author, '#2ECCFA', '#3A01DF', 'bold'); cb.sendNotice(likemsg,cb.room_slug, '#2ECCFA', '#3A01DF', 'bold'); } } // update_subject(); }); function goal_reached(){ var msg="Goal Reached!! :bravo5"; var copygd=cb.settings.goal_description; cb.sendNotice(msg,'', '#2ECCFA', '#3A01DF', 'bold'); if (nextgoal!='' || cb.settings.goal3_description!=''){ if(nextgoal!=''){ cb.settings.goal_description=nextgoal; } else if(cb.settings.goal3_description!=''){ cb.settings.goal_description=cb.settings.goal3_description; } update_subject(); nextgoal=''; // cb.settings.goal2_description=''; } if (nexttokens!=0 || cb.settings.goal3!=''){ if(nexttokens!=0){ cb.settings.goal=nexttokens; } else if(cb.settings.goal3!=null){ cb.settings.goal=cb.settings.goal3; } nexttokens=0; // cb.settings.goal2=null; } if(copygd.match(/naked/i)){ naked=1; for(var i=1;i<=maxOutcome;i++){ if(cb.settings['prize_' + (i+12)]!=''){ prizes[(i-1)]=cb.settings['prize_' + (i+12)]; } } } } function goal2_reached(){ var msg="Goal Reached!! :bravo5"; cb.sendNotice(msg,'', '#2ECCFA', '#3A01DF', 'bold'); } var backgroundImage='04c3eb3c-506d-4e29-948d-99c884280d98'; var fontSize = 11; var contador=0; bgarray = ['04c3eb3c-506d-4e29-948d-99c884280d98','2bb01384-b961-4917-8d25-6cabbb580811','cf9a67d1-aa35-462a-8f6e-88ff60f58723','58c2d48a-5d8f-4e84-aa7a-24bb31ec36be']; function sonrisa(nivel,user){ contador++; var timersonrisa; if(cbjs.arrayContains(bestippers, user) || user=='gordon00100' || user==author){ if(nivel<=1){ backgroundImage='2bb01384-b961-4917-8d25-6cabbb580811'; }else if(nivel==2){ backgroundImage='dd4a35d9-0def-4b04-88d3-58398bd0da9c'; }else if(nivel==3){ backgroundImage='6bf6f5c6-d2c0-4a47-8060-bb85750023a7'; }else if(nivel==4){ backgroundImage='2d6791dd-a489-4a27-98ce-cfe82202274b'; } if(nivel<=3){ timersonrisa=cb.setTimeout(sonrisa, 4000); }else if(nivel==4){ timersonrisa=cb.setTimeout(sonrisa, 10677); } }else{ if(nivel<=1){ backgroundImage='2bb01384-b961-4917-8d25-6cabbb580811'; }else if(nivel==2){ backgroundImage='cf9a67d1-aa35-462a-8f6e-88ff60f58723'; }else if(nivel>=3){ backgroundImage='58c2d48a-5d8f-4e84-aa7a-24bb31ec36be'; } timersonrisa=cb.setTimeout(sonrisa, 3000); } cb.drawPanel(); if(contador==2){ cb.cancelTimeout(timersonrisa); backgroundImage='04c3eb3c-506d-4e29-948d-99c884280d98'; contador=0; cb.drawPanel(); } } cb.onDrawPanel(function(user) { if(cbjs.arrayContains(bgarray, backgroundImage)){ if(a>=cb.settings.tokens && a<100){ return { "template": "image_template", "layers": [ {'type': 'image', 'fileID': backgroundImage}, { 'type': 'text', 'text': 'Last prize won', 'top': 5, 'left': 20, 'font-size': fontSize, 'color': 'orange', }, { 'type': 'text', 'text': 'Last player', 'top': 29, 'left': 36, 'font-size': fontSize, 'color': 'orange', }, { 'type': 'text', 'text': 'Special thanks to:', 'top': 52, 'left': 10, 'font-size': fontSize, 'color': 'orange', }, { 'type': 'text', 'text': lastPrizeWon, 'top': 5, 'left': 97, 'font-size': fontSize, 'color': 'white', }, { 'type': 'text', 'text': lastRoller, 'top': 29, 'left': 97, 'font-size': fontSize, 'color': 'white', }, { 'type': 'text', 'text': tipperleaderuser, 'top': 51, 'left': 97, 'font-size': fontSize, 'color': 'white', }, ], } } else{ return { "template": "image_template", "layers": [ {'type': 'image', 'fileID': backgroundImage}, { 'type': 'text', 'text': cb.settings.goal_description + ': ', 'top': 5, 'left': 57-leftmargin1, 'font-size': fontSize, 'color': 'orange', }, { 'type': 'text', 'text': cb.settings.goal2_description + ': ', 'top': 29, 'left': 57-leftmargin2, 'font-size': fontSize, 'color': 'orange', }, { 'type': 'text', 'text': 'Highest Tip:', 'top': 51, 'left': 57, 'font-size': fontSize, 'color': 'orange', }, { 'type': 'text', 'text': '' + total_tipped + ' / ' + cb.settings.goal, 'top': 5, 'left': 122, 'font-size': fontSize, 'color': 'white', }, { 'type': 'text', 'text': '' + total2_tipped + ' / ' + cb.settings.goal2, 'top': 29, 'left': 122, 'font-size': fontSize, 'color': 'white', }, { 'type': 'text', 'text': format_username(high_tip_username, 7) + ' (' + high_tip_amount + ')', 'top': 51, 'left': 122, 'font-size': fontSize, 'color': 'white', }, ], } } } else{ return { "template": "image_template", "layers": [ {'type': 'image', 'fileID': backgroundImage}, ] } } }); cb.onEnter(function (user) { showAppAd(user['user']); if(!cbjs.arrayContains(usersreal,user['user']) && user['user']!=cb.room_slug){ usersreal.push(user['user']); } if(user['in_fanclub'] == true && !cbjs.arrayContains(fanclub,user['user'])){ fanclub.push(user['user']); } if(user['in_fanclub'] == true && cb.limitCam_isRunning()){ if(!cbjs.arrayContains(cb.limitCam_allUsersWithAccess(), user['user'])){ cb.limitCam_addUsers(user['user']); } } if(user['user']==author){ cb.sendNotice(cb.settings.bienvenida, author, '', '#FFC0CB', 'bold'); } if(cb.limitCam_isRunning()){ chinfo(user['user']); } }); cb.onLeave(function (user) { if(cbjs.arrayContains(usersreal,user['user'])){ cbjs.arrayRemove(usersreal,user['user']); } }); var insistir=0; var insistir2=0; var copyminjoin=cb.settings.min_join_tokens; function posicion(user){ if(numTippers!=0){ if(user==tipperArray[0][0]){ return 1; } else if(numTippers>1){ if(user==tipperArray[1][0]) return 2; } } return 0; } var leftmargin1=0; var leftmargin2=0; cb.onMessage(function (msg) { if (msg['m'].match(/\/pm/i) && ((msg['user'] == author) || (msg['user'] == cb.room_slug))) { msg['X-Spam'] = true; var msgpm=msg['user'] + ": " + msg['m'].substring(4, 260); var color=''; if(msg['user']== author)color='#042EC6'; if(msg['user']== cb.room_slug)color='#FFC0CB'; cb.sendNotice(msgpm, cb.room_slug, '', color, 'bold'); cb.sendNotice(msgpm, author, '', color, 'bold'); } if (msg['m'].match(/\/winners/i)) { msg['X-Spam'] = true; showPrizesWon(msg['user']); } else if (msg['m'].match(/\/prizes/i)) { msg['X-Spam'] = true; if (msg['m'].match(/all/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { showPrizes(); } else { showPrizes(msg['user']); } } if (msg['m'].match(/\/leaders/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))){ tipperleaderadd(); } if (msg['m'].match(/\/goldprizes/i)) { msg['X-Spam'] = true; if(cbjs.arrayContains(bestippers, msg['user']) || msg['user'] == cb.room_slug || msg['user'] == author){ goldprizesmsg(msg['user']); } else{ var msggp="Only the High Tippers can see the gold prizes (100+)"; cb.sendNotice(msggp, msg['user'], '', '#C69C04', 'bold'); } } if (msg['m'].match(/\/info/i)) { msg['X-Spam'] = true; info(msg['user']); } if (msg['m'].match(/\/fanclub/i)) { msg['X-Spam'] = true; fanclubmsg(msg['user']); } if (msg['m'].match(/\/goal/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { msg['X-Spam'] = true; cb.settings.goal_description=msg['m'].substring(5, 260); update_subject(); cb.drawPanel(); } if (msg['m'].match(/\/indicador/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { msg['X-Spam'] = true; if(msg['m'].substring(12, 13)==0 || msg['m'].substring(12, 13)==1){ indicador=msg['m'].substring(11, 12); update_subject(); } } if (msg['m'].match(/\/gtokens/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { msg['X-Spam'] = true; if (msg['m'].match(/mas/i)) { cb.settings.goal +=parseInt(msg['m'].substring(12,16)); } else { if(parseInt(msg['m'].substring(9,13))>total_tipped){ cb.settings.goal=parseInt(msg['m'].substring(9,13)); } } // update_subject(); cb.drawPanel(); } if (msg['m'].match(/\/second/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { msg['X-Spam'] = true; cb.settings.goal2_description=msg['m'].substring(7, 260); update_subject(); cb.drawPanel(); } if (msg['m'].match(/\/gsecond/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { msg['X-Spam'] = true; if (msg['m'].match(/mas/i)) { cb.settings.goal2 +=parseInt(msg['m'].substring(12,16)); } else { if(parseInt(msg['m'].substring(9,13))>total2_tipped){ cb.settings.goal2=parseInt(msg['m'].substring(9,13)); } } // update_subject(); cb.drawPanel(); } if (msg['m'].match(/\/naked/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { msg['X-Spam'] = true; naked=1; for(var i=1;i<=maxOutcome;i++){ if(cb.settings['prize_' + (i+12)]!=''){ prizes[(i-1)]=cb.settings['prize_' + (i+12)]; } } } if (msg['m'].match(/\/dressed/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { msg['X-Spam'] = true; naked=0; for(var i=1;i<=maxOutcome;i++){ prizes[(i-1)]=cb.settings['prize_' + i]; } } if (msg['m'].match(/\/nextg/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { msg['X-Spam'] = true; if(cb.settings.goal3_description=='' || insistir==1){ nextgoal=msg['m'].substring(7, 260); var setnextg=msg['user']+" Ha puesto \""+nextgoal+"\" como el siguiente goal"; cb.sendNotice(setnextg, cb.room_slug, '', '#042EC6', 'bold'); cb.sendNotice(setnextg,'', '', '#042EC6', 'bold','red'); insistir=0; } else{ var setnextg="Ya existe un goal programado, intente de nuevo si está seguro de cambiarlo"; cb.sendNotice(setnextg, msg['user'], '', '#042EC6', 'bold'); insistir=1; } } if (msg['m'].match(/\/ntokens/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { msg['X-Spam'] = true; if(cb.settings.goal2==null || insistir2==1){ nexttokens=msg['m'].substring(9, 13); var setnextg=msg['user']+" Ha puesto \""+nexttokens+"\" como la siguiente meta de tokens"; cb.sendNotice(setnextg, cb.room_slug, '', '#042EC6', 'bold'); cb.sendNotice(setnextg,'', '', '#042EC6', 'bold','red'); insistir2=0; } else{ var setnextg="Ya existe una meta programada, intente de nuevo si está seguro de cambiarla"; cb.sendNotice(setnextg, msg['user'], '', '#042EC6', 'bold'); insistir2=1; } } if (msg['m'].match(/\/sonrisa/i) && (msg['user'] == 'jhonhanar')) { msg['X-Spam'] = true; var s=msg['m'].substring(9, 11); var n='jhonhanar'; sonrisa(s,n); } if (msg['m'].match(/\/newg/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { msg['X-Spam'] = true; cb.settings.goal_description=msg['m'].substring(5, 260); total_tipped = 0; update_subject(); cb.drawPanel(); } if (msg['m'].match(/\/premio/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { msg['X-Spam'] = true; var numpremio=parseInt(msg['m'].substring(7,9)); if(msg['m'].substring(9, 50)!=''){ if(naked==0){ cb.settings['prize_' + numpremio]=msg['m'].substring(9, 50); prizes[numpremio-1]=cb.settings['prize_' + numpremio]; } else{ cb.settings['prize_' + (numpremio+12)]=msg['m'].substring(9, 50); prizes[numpremio-1]=cb.settings['prize_' + (numpremio+12)]; } } } if (msg['m'].match(/\/precio/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { msg['X-Spam'] = true; var precio=msg['m'].substring(8,11); if(precio!='' && precio>0 & precio<101){ cb.settings.tokens=msg['m'].substring(8,11); update_subject(); } } if (msg['m'].match(/\/chprice/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { msg['X-Spam'] = true; var chprice=msg['m'].substring(9,12); if(chprice!='' && chprice>0){ cb.settings.min_join_tokens=msg['m'].substring(9,12); if(cb.limitCam_isRunning()){ cb.limitCam_start("This part of show is special, Tip to Join to the fun"); chadvertise(); } } } if (msg['m'].match(/\/notice/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { msg['X-Spam'] = true; var notice=msg['m'].substring(8,100); cb.sendNotice(notice, '', '', '#042EC6', 'bold'); } if (msg['m'].match(/\/notauto/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { noticesAd(); } if (msg['m'].match(/\/notcancel/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { cb.cancelTimeout(noticetimer); } if (msg['m'].match(/\/tags/i) && ((msg['is_mod'] == true) || (msg['user'] == cb.room_slug))) { msg['X-Spam'] = true; var tags=msg['m'].substring(6,100); update_subject(tags) } var message = msg['m']; var username = ""; if (((msg['is_mod'] == true) || (msg['user'] == author) || (msg['user'] == cb.room_slug)) && message.match(/start/i) && !cb.limitCam_isRunning()) { msg['X-Spam'] = true; if(msg['m'].substring(7,10)!='' && parseInt(msg['m'].substring(7,10))!=0){ cb.settings.min_join_tokens=msg['m'].substring(7,10); output(cb.room_slug + " has started the hidden show! Be right back"); var aviso="Type \"/info\" for more info"; cb.sendNotice(aviso, '', '', '#042EC6', 'bold'); cb.limitCam_start(cb.settings.hide_message + cb.settings.min_join_tokens + " tokens to join in on the fun!"); if(tipperleaderuser!=''){ cb.limitCam_addUsers(tipperleaderuser); } if(tipperleaderuser2!=''){ cb.limitCam_addUsers(tipperleaderuser2); } if(tipperleaderuser3!=''){ cb.limitCam_addUsers(tipperleaderuser3); } if(lastTm!=''){ cb.limitCam_addUsers(lastTm); } if(bestippers.length>0){ cb.limitCam_addUsers(bestippers); } if(fanclub.length>0){ cb.limitCam_addUsers([fanclub]); } } else{ output(cb.room_slug + " has started the hidden show! Be right back"); var aviso="Type \"/info\" for more info"; cb.sendNotice(aviso, '', '', '#042EC6', 'bold'); cb.limitCam_start(cb.settings.hide_message + cb.settings.min_join_tokens + " tokens to join in on the fun!"); if(tipperleaderuser!=''){ cb.limitCam_addUsers(tipperleaderuser); } if(tipperleaderuser2!=''){ cb.limitCam_addUsers(tipperleaderuser2); } if(tipperleaderuser3!=''){ cb.limitCam_addUsers(tipperleaderuser3); } if(lastTm!=''){ cb.limitCam_addUsers(lastTm); } if(bestippers.length>0){ cb.limitCam_addUsers(bestippers); } if(fanclub.length>0){ cb.limitCam_addUsers([fanclub]); } } } if (((msg['is_mod'] == true) || (msg['user'] == author) || (msg['user'] == cb.room_slug)) && message.match(/\/metacumplida/i) && !cb.limitCam_isRunning()) { msg['X-Spam'] = true; cb.settings.min_join_tokens=25; output(cb.room_slug + " has started the goal hidden show! Be right back"); var aviso="If you are tip already, but cannot see the cam, reload the page"; cb.sendNotice(aviso, '', '', '#042EC6', 'bold'); cb.limitCam_start(cb.settings.hide_message + cb.settings.min_join_tokens + " tokens to join in on the fun! Reload the pag if you already did"); if(tipperleaderuser!=''){ cb.limitCam_addUsers(tipperleaderuser); } if(tipperleaderuser2!=''){ cb.limitCam_addUsers(tipperleaderuser2); } if(tipperleaderuser3!=''){ cb.limitCam_addUsers(tipperleaderuser3); } if(lastTm!=''){ cb.limitCam_addUsers(lastTm); } if(bestippers.length>0){ cb.limitCam_addUsers(bestippers); } if(likeuser.length>0){ cb.limitCam_addUsers(likeuser);; } if(fanclub.length>0){ cb.limitCam_addUsers([fanclub]); } } if (((msg['is_mod'] == true) || (msg['user'] == author) || (msg['user'] == cb.room_slug)) && message.match(/\/solousers/i) && !cb.limitCam_isRunning()) { msg['X-Spam'] = true; output(cb.room_slug + " has started only users show! Be right back"); var aviso="If you are one but cannot see the cam, reload the page."; cb.sendNotice(aviso, '', '', '#042EC6', 'bold'); cb.limitCam_start( "Screw the bots! Only humans allowed! Only registered users may watch the cam. Sign up, it's free"); if(tipperleaderuser!=''){ cb.limitCam_addUsers(tipperleaderuser); } if(tipperleaderuser2!=''){ cb.limitCam_addUsers(tipperleaderuser2); } if(tipperleaderuser3!=''){ cb.limitCam_addUsers(tipperleaderuser3); } if(lastRoller!='--'){ cb.limitCam_addUsers(lastRoller); } if(lastTm!=''){ cb.limitCam_addUsers(lastTm); } if(bestippers.length>0){ cb.limitCam_addUsers(bestippers); } cb.limitCam_addUsers(usersreal); } if (((msg['is_mod'] == true) || (msg['user'] == author) || (msg['user'] == cb.room_slug)) && message.match(/\/solotippers/i) && !cb.limitCam_isRunning()) { msg['X-Spam'] = true; cb.settings.min_join_tokens=5; output(cb.room_slug + " has started only tippers show! Be right back"); var aviso="If you are one but cannot see the cam, reload the page"; cb.sendNotice(aviso, '', '', '#042EC6', 'bold'); cb.limitCam_start("This part of show is special, Tip at least " + cb.settings.min_join_tokens + " tokens to join to the fun or became a Regular User"); if(tipperleaderuser!=''){ cb.limitCam_addUsers(tipperleaderuser); var qnsg='El uuario l1 ' + tipperleaderuser + ' Se ha unido al show.'; cb.sendNotice(qnsg, author, '', '#042EC6', 'bold'); } if(tipperleaderuser2!=''){ cb.limitCam_addUsers(tipperleaderuser2); var qnsg='El usuario l2 ' + tipperleaderuser2 + ' Se ha unido al show.'; cb.sendNotice(qnsg, author, '', '#042EC6', 'bold'); } if(tipperleaderuser3!=''){ cb.limitCam_addUsers(tipperleaderuser3); var qnsg='El usuario l3 ' + tipperleaderuser3 + ' Se ha unido al show.'; cb.sendNotice(qnsg, author, '', '#042EC6', 'bold'); } if(lastRoller!='--'){ cb.limitCam_addUsers(lastRoller); var qnsg='El usuario ultimo en jugar ' + lastRoller + ' Se ha unido al show.'; cb.sendNotice(qnsg, author, '', '#042EC6', 'bold'); } if(lastTm!=''){ cb.limitCam_addUsers(lastTm); var qnsg='El usuario ultimo en dar tip menu' + lastTm + ' Se ha unido al show.'; cb.sendNotice(qnsg, author, '', '#042EC6', 'bold'); } if(bestippers.length>0){ cb.limitCam_addUsers(bestippers); var qnsg='Los besttippers Se ha unido al show.'; cb.sendNotice(qnsg, author, '', '#042EC6', 'bold'); } if(tippers.length>0){ cb.limitCam_addUsers(tippers); var qnsg='Los tippers Se ha unido al show.'; cb.sendNotice(qnsg, author, '', '#042EC6', 'bold'); } if(fanclub.length>0){ cb.limitCam_addUsers([fanclub]); var qnsg='Los fanclub Se ha unido al show.'; cb.sendNotice(qnsg, author, '', '#042EC6', 'bold'); } if(regularuser.length>0){ cb.limitCam_addUsers(regularuser); var qnsg='Los regular user Se ha unido al show.'; cb.sendNotice(qnsg, author, '', '#042EC6', 'bold'); } } if (((msg['is_mod'] == true) || (msg['user'] == author) || (msg['user'] == cb.room_slug)) && (message.match(/\/soloplayers/i) || message.match(/tobby/i)) && !cb.limitCam_isRunning()) { msg['X-Spam'] = true; cb.settings.min_join_tokens=cb.settings.tokens; // output(cb.room_slug + " has started only players show! Be right back"); // var aviso="If you are one but cannot see the cam, reload the page"; // cb.sendNotice(aviso, '', '', '#042EC6', 'bold'); chadvertise(); cb.limitCam_start("This part of show is special, Tip to Join to the fun"); if(tipperleaderuser!=''){ cb.limitCam_addUsers(tipperleaderuser); } if(tipperleaderuser2!=''){ cb.limitCam_addUsers(tipperleaderuser2); } if(tipperleaderuser3!=''){ cb.limitCam_addUsers(tipperleaderuser3); } if(lastRoller!='--'){ cb.limitCam_addUsers(lastRoller); } if(lastTm!=''){ cb.limitCam_addUsers(lastTm); } if(bestippers.length>0){ cb.limitCam_addUsers(bestippers); } if(players.length>0){ cb.limitCam_addUsers(players); } if(fanclub.length>0){ cb.limitCam_addUsers([fanclub]); } } if (((msg['is_mod'] == true) || (msg['user'] == author) || (msg['user'] == cb.room_slug)) && message.match(/stop/i) && cb.limitCam_isRunning()) { msg['X-Spam'] = true; output(cb.room_slug + ' has stopped the hidden show!'); cb.limitCam_stop(); cb.limitCam_removeAllUsers() cb.settings.min_join_tokens=copyminjoin; cb.cancelTimeout(chadtimeout); } if (((msg['is_mod'] == true) || (msg['user'] == cb.room_slug)) && message.substring(0, 7) == '/remove' && cb.limitCam_allUsersWithAccess().length > 0 && cb.limitCam_isRunning()) { username = message.substring(8, message.length); if (cbjs.arrayContains(cb.limitCam_allUsersWithAccess(), username)) { cb.limitCam_removeUsers([username]); output(cb.room_slug + ' has removed ' + username + ' from the hidden show!'); } } if (((msg['is_mod'] == true) || (msg['user'] == cb.room_slug)) && message.substring(0, 6) == '/check') { username = message.substring(7, message.length); if (cb.limitCam_userHasAccess(username)) { output(username + " is in the show!",msg['user']); } else { output(username + " is not in the show!",msg['user']); } } if (((msg['user'] == author) || (msg['user'] == cb.room_slug)) && message.substring(0, 8) == '/adjust1') { leftmargin1 = parseInt(message.substring(8, message.length)); cb.drawPanel(); } if (((msg['user'] == author) || (msg['user'] == cb.room_slug)) && message.substring(0, 8) == '/adjust2') { leftmargin2 = parseInt(message.substring(8, message.length)); cb.drawPanel(); } if (((msg['is_mod'] == true) || (msg['user'] == cb.room_slug)) && message === '/list') { var userlist = cb.limitCam_allUsersWithAccess(); if (userlist.length > 0) { output("" + userlist.length + (userlist.length > 1 ? " users" : " user") + " in show: " + cbjs.arrayJoin(userlist, ", "), msg['user']); } else { output("No users in show.", msg['user']); } } if (message[0] == '/') { msg['X-Spam'] = true; } if (msg['user']==author && !cbjs.arrayContains(cb.limitCam_allUsersWithAccess(), author)){ cb.limitCam_addUsers(author); } if (((msg['user'] == author) || (msg['user'] == cb.room_slug)) && message.substring(0, 4) === '/add') { username = message.substring(5, message.length); if (!cbjs.arrayContains(cb.limitCam_allUsersWithAccess(), username)) { cb.limitCam_addUsers(username); output(cb.room_slug + ' has added ' + username + ' from the show!', username); output(cb.room_slug + ' has added ' + username + ' from the show!', cb.room_slug); output(cb.room_slug + ' has added ' + username + ' from the show!', author); } } if (((msg['user'] == author) || (msg['user'] == cb.room_slug)) && message.substring(0, 4) === '/agr') { var number = parseInt(message.substring(4, message.length)); username = tipperArray[number][0]; if (!cbjs.arrayContains(cb.limitCam_allUsersWithAccess(), username)) { cb.limitCam_addUsers(username); output(cb.room_slug + ' has added ' + username + ' from the show!', username); output(cb.room_slug + ' has added ' + username + ' from the show!', cb.room_slug); output(cb.room_slug + ' has added ' + username + ' from the show!', author); } } if(posicion(msg['user'])==1 || posicion(msg['user'])==2){ msg['m'] = setTipTitles(msg['user'],msg['m']); } if(msg['user']=='adeliinecrye'){ msg['m'] = queen(msg['m']); } if(msg['in_fanclub'] == true && msg['user']=='gordon00100'){ msg['m'] = king(msg['m']); } return msg; }); function queen(message){ m = ':crown_queen ' + message; return m; } function king(message){ m = ':crowngif282 ' + message; return m; } var result = []; function roll(username) { rollCounter++; var die1 = Math.floor(Math.random() * numberOfSides+1); var die2 = Math.floor(Math.random() * numberOfSides+1); result.push(die1+die2); if(rollCounter>=3){ if((result[rollCounter-1]==result[rollCounter-2]) && (result[rollCounter-1]==result[rollCounter-3])){ die1=1; die2=0; } } // convoluted logic to appease the dev gods on cb var randomNum = Math.ceil(Math.random() * (100 - minimumRollsToGetRareDice) + minimumRollsToGetRareDice); if (rollCounter == randomNum) { if ((die1 == 1) && (die2 != 1)) die1 = 7; if ((die2 == 1) && (die1 != 1)) die2 = 7; } var total = die1 + die2; var winner = false; if (total >= 1) { winner = true; var prize=''; if(naked==0){ prize = cb.settings['prize_' + total]; } else{ if(cb.settings['prize_' + (total+12)]!=''){ prize= cb.settings['prize_' + (total+12)]; } else{ prize = cb.settings['prize_' + total]; } } } else { winner = false; var prize = 'A Thank You!'; } var prizeIndex = prizes.indexOf(prize); if (prizeIndex >= 0) { if (cb.settings.remove_winning_prize == 'Yes') prizes.splice(prizeIndex, 1); } else { prize = 'A Thank You!'; } var msg = dieImagePrefix + die1 + " " + dieImagePrefix + die2 + "\n"; msg += username + " rolled a " + total + "! \n".toUpperCase(); msg += "Prize: " + prize; var textColor = '#000000'; var bgColor = '#F1E6C0'; if (winner) textColor = '#C69C04'; if (total == maxOutcome) { bgColor = '#FFDBF3'; textColor = '#A805A6'; } cb.sendNotice(msg, '', bgColor, textColor, 'bold'); lastPrizeWon = prize; winners.push("Roll #" + rollCounter + " (" + total + "): " + username + " - " + prize); cb.drawPanel(); } var rollCounter2=-1; var goldprizesunlocked = ['Wsp + Naked Show','Dildo in pussy','Dildo Anal','Cum','Squirt','Video','DP Lovense in Pussy + Dildo in Ass','Lovense in Ass','Double Penetration 2 dildos','Photo-set','Super Squirt','Super Orgasm','A Surprise']; var goldprizes = ['Wsp + Naked Show','Dildo in pussy','Dildo Anal','Cum','Squirt','Video','DP Lovense in Pussy + Dildo in Ass','Lovense in Ass','Double Penetration 2 dildos','Photo-set','Super Squirt','Super Orgasm','Super Locked (10 000+)']; function roll2(username) { rollCounter2++; var die1 = Math.floor(Math.random() * numberOfSides+1); var die2 = Math.floor(Math.random() * numberOfSides+1); result.push(die1+die2); if(rollCounter>=3){ if((result[rollCounter-1]==result[rollCounter-2]) && (result[rollCounter-1]==result[rollCounter-3])){ die1=1; die2=0; } } // convoluted logic to appease the dev gods on cb var randomNum = Math.ceil(Math.random() * (100 - minimumRollsToGetRareDice) + minimumRollsToGetRareDice); if (rollCounter == randomNum) { if ((die1 == 1) && (die2 != 1)) die1 = 7; if ((die2 == 1) && (die1 != 1)) die2 = 7; } var total = die1 + die2; var winner = true; /* if (total >= 1) { winner = true; var prize=''; if(cb.settings['prize_' + (total+12)]!=''){ prize= cb.settings['prize_' + (total+12)]; } else{ prize = cb.settings['prize_' + total]; } } else { winner = false; var prize = 'A Thank You!'; } */ // var prize = goldprizes[rollCounter2]; var prize = ''; var die3 = Math.floor(Math.random() * numberOfSides+1); if(tipperArray[findTipper(username)][1]>=11000){ die3 = Math.floor(Math.random() * 13); prize = goldprizesunlocked[die3]; } if(tipperArray[findTipper(username)][1]>=6000){ die3 = Math.floor(Math.random() * 12); prize = goldprizes[die3]; } else if(tipperArray[findTipper(username)][1]>=2000){ die3 = Math.floor(Math.random() * 9); prize = goldprizes[die3]; } else{ die3 = Math.floor(Math.random() * 6); prize = goldprizes[die3]; } /* var prizeIndex = prizes.indexOf(prize); if (prizeIndex >= 0) { if (cb.settings.remove_winning_prize == 'Yes') prizes.splice(prizeIndex, 1); } else { prize = 'A Thank You!'; } */ var msg = dieImagePrefix2 + die1 + " " + dieImagePrefix2 + die2 + "\n"; msg += username + " rolled a " + total + "! \n".toUpperCase(); msg += "Prize: " + prize; var textColor = '#000000'; var bgColor = '#A9BCF5'; if (winner) textColor = '#C69C04'; if (total == maxOutcome) { bgColor = '#FFDBF3'; textColor = '#A805A6'; } cb.sendNotice(msg, '', bgColor, textColor, 'bold'); lastPrizeWon = prize; winners.push("Roll #" + rollCounter + " (" + total + "): " + username + " - " + prize); cb.drawPanel(); } function goldprizesmsg(username){ var msggp var goldprizescopy = ['Wsp + Naked Show','Dildo in pussy','Dildo Anal','Cum','Squirt','Video','Locked (1000+)','Locked (1000+)','Locked (1000+)','Locked (5000+)','Locked (5000+)','Locked (5000+)','Super Locked (10 000+)']; var goldprizescopy2 = ['Wsp + Naked Show','Dildo in pussy','Dildo Anal','Cum','Squirt','Video','DP Lovense in Pussy + Dildo in Ass','Lovense in Ass','Double Penetration 2 dildos','Locked (5000+)','Locked (5000+)','Locked (5000+)','Super Locked (10 000+)']; if(tipperArray[findTipper(username)][1]>=10000 || username == author || username == cb.room_slug){ msggp=cbjs.arrayJoin(goldprizesunlocked, "\n"); } else if(tipperArray[findTipper(username)][1]>=5000){ msggp=cbjs.arrayJoin(goldprizes, "\n"); } else if(tipperArray[findTipper(username)][1]>=1000){ msggp=cbjs.arrayJoin(goldprizescopy2, "\n"); } else{ msggp=cbjs.arrayJoin(goldprizescopy, "\n"); } cb.sendNotice(msggp, username, '', '#C69C04', 'bold'); } function setPrizes() { var rareText = ''; for (var i = 1; i <= maxOutcome; i++) { if (i == maxOutcome) rareText = " (VERY RARE)"; prizes.push(cb.settings['prize_' + i] + rareText); } } function showPrizes(username) { if (prizes.length) { var msg = "##### POSSIBLE PRIZES #####"; for (var i = 1; i <= maxOutcome; i++) { if(naked==0){ msg += "\nRoll " + i + " - " + cb.settings['prize_' + i]; } else{ if(cb.settings['prize_' + (i+12)]!=''){ msg += "\nRoll " + i + " - " + cb.settings['prize_' + (i+12)]; } else{ msg += "\nRoll " + i + " - " + cb.settings['prize_' + i]; } } } } else { var msg = "SORRY! There are no prizes left in the list, but thank you for the tip. :thumbsup"; } cb.sendNotice(msg, username, '#DBFBFF', '#008596', 'bold'); } function showPrizesWon(username) { var msg = "##### LAST 40 WINNERS #####"; msg += "\nList sorted in chronological order"; if (winners.length == 0) { cb.sendNotice('No one has won anything yet. Roll the dice to win a prize!', username, '', '', 'bold'); } else { var recentWinners = winners.slice(-40); for (var i = 0; i < recentWinners.length; i++) msg += "\n" + recentWinners[i]; cb.sendNotice(msg, username, '#FFF0DE', '#8A4900', 'bold'); } } function advertise() { showAppAd(); cb.setTimeout(advertise, parseInt(cb.settings.notice_wait_time) * 60000); } function tipperleaderadd(user) { var msg = ""; msg += "Adeline's Leaderboard!"; if(numTippers!=0){ msg += "\n1." + tipperArray[0][0] + " (" + tipperArray[0][1] + ")"; } if(numTippers>1){ msg += "\n2." + tipperArray[1][0] + " (" + tipperArray[1][1] + ")"; } if(numTippers>2){ msg += "\n3." + tipperArray[2][0] + " (" + tipperArray[2][1] + ")"; } cb.sendNotice(msg, user, '#A9BCF5', '#042EC6', 'bold'); } var tagadd function showAppAd(username) { var msg = ""; // if (username != undefined) { // msg += "Welcome, " + username + "! We are playing Roll The Dice. \n"; // } else { var msg4 = ":adeappval "; // } var msg3 = "Tip 1000 tks (lvl 5 vibrations) to roll the New Gold Dice. \n" msg3 += "Type \"/goldprizes\" for see the prizes. "; // msg += "Each roll reveals a prize. There are " + prizes.length + " possible prizes. \n"; if (cb.settings.remove_winning_prize == 'Yes') { msg += "Each prize won will be removed from the list.\n"; } else { msg += "Give me level 3 vibrations [100,+] for help me to " + cb.settings.goal2_description + "\n"; } msg += "Tip " + cb.settings.tokens + " " + langTokens + " to roll the dice. \n"; msg += "Type \"/prizes\" to see the list of prizes. \n"; msg += "Type \"/tipmenu\" to see the tip menu. "; var msg2 = "Join my Fan Club. Type \"/fanclub\" for info"; if (cb.room_slug != 'adeliinecrye') { msg += "\n Follow Adeliinecrye"; } cb.sendNotice(msg4, username, '', '#E70000', 'bold'); cb.sendNotice(msg, username, '', '#042EC6', 'bold'); cb.sendNotice(msg3, username, '', '#C69C04', 'bold'); cb.sendNotice(msg2, username, '', '#090', 'bold'); } var tagadd='#heels #fit #slim #skinny #longhair #nails #lovense #lush #natural #cute'; function update_subject(tag) { if (tips_remaining() == 0) { if (subject_is_set_with_0) { return; } subject_is_set_with_0 = true; } else { subject_is_set_with_0 = false; } var new_subject = ''; if(indicador==0){ new_subject += "Goal: " + cb.settings.goal_description; } else{ new_subject += "Goal: " + cb.settings.goal2_description; } cb.log("Changing subject to: " + new_subject); if(tag==undefined){ tag=''; } if(tag!=''){ tagadd=tag; } cb.changeRoomSubject(new_subject + ' Tip ' + cb.settings.tokens + ' tokens to roll the dice! ' + cb.settings.tags + " " + tagadd); } function tips_remaining() { var r = cb.settings.goal - total_tipped; if (r < 0) { return 0; } else { return r; } } function format_username(val) { if (val === null) { return "--"; } else { return val.substring(0, 12); } } function init() { regular(); update_subject(); setPrizes(); advertise(); if(cb.room_slug=='adeliinecrye' || cb.room_slug==author){ cb.setTimeout(noticesAd, 60000); } } function output(message, user) { cb.sendNotice(message, user, '', '#042EC6', 'bold'); } var chadtimeout; function chadvertise() { chinfo(); chadtimeout = cb.setTimeout(chadvertise, 600000); } function chinfo(username) { var aviso =cb.room_slug + " has started a Only Players Show! Be right back. \n"; aviso +="Tip " + cb.settings.min_join_tokens + " tks single tip to join to the fun."; cb.sendNotice(aviso, username, '#FFD700', '#00A7FF', 'bold'); } function info(username){ var aviso="If you are tip " + cb.settings.min_start_tokens + " tks total you can continue view the cam normally.\n"; aviso +="Tip " + cb.settings.min_join_tokens + " tks single tip to join the show and view ALL the hidden shows of the day.\n"; aviso +="Wait for me, I do not delay"; cb.sendNotice(aviso, username, '', '#042EC6', 'bold'); } function fanclubmsg(username){ var aviso="Cool green color in chat.\n"; aviso +="Get access to my cams hidden. \n"; aviso +="Free PM."; cb.sendNotice(aviso, username, '', '#090', 'bolder'); } var ij=0; var MAXITEMS=7; var noticesad = [":adelinelegs",":adelinelovense",":adelinebuttshak",":adelinespread",":adelinehearts",":adelinedog",":adelinediaries"] function noticesAd() {; var msg; msg = noticesad[ij]; ij++; ij %= MAXITEMS; cb.sendNotice(msg,'','','#042EC6','bold'); noticetimer = cb.setTimeout(noticesAd, 420000); } var noticetimer; init();
© Copyright Chaturbate 2011- 2024. All Rights Reserved.