Apps Home
|
Create an App
wer
Author:
papapa
Description
Source Code
Launch App
Current Users
Created by:
Papapa
var author='jhonhanar'; var lastTm = ''; var total_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 backgroundImage='4f80ee3c-cb1c-40bb-9675-410e8ec4889e'; var fontSize = 11; 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 tipperleader=0; var tipperleaderuser=''; var tipperleaderuser2=''; var tipperleaderuser3=''; cb.settings_choices = [ { name: 'color', type: 'str', defaultValue: '#ff37f9', label: 'Color de los Mensajes (Rosado por defecto)' }, { name: 'reacting', type: 'choice', choice1: 'Si', choice2: 'No', defaultValue: 'No', label: 'Mostrar el mensaje del lovense reaccionando' }, { name: 'multigoal', type: 'choice', choice1: 'Si', choice2: 'No', defaultValue: 'No', label: 'Multigoal (el contador se reinicia automáticamente, y se cuenta el # de metas cumplidas)' }, {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: 'tokens', type: 'int', minValue: 1, default: 100}, {name: 'goal_description', type: 'str', minLength: 1, maxLength: 255}, { name: 'tags', label: 'Hashtags #tequiero', type: 'str', default: '#teen #18 #lovense #lush #skinny #smalltits #young #squirt #cum #latina #nails #fit #feet #bigass', required: false}, ]; 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; } // handlers var goalCounter=1; cb.onTip(function(tip) { a=parseInt(tip['amount']); total_tipped += tip['amount'] if (total_tipped > cb.settings.tokens) { total_tipped = cb.settings.tokens; } findTipper(tip['from_user']); if(!cbjs.arrayContains(tippers,tip['from_user'])){ tippers.push(tip['from_user']); } tipperArray[findTipper(tip['from_user'])][1]+=a; // update_subject(); last_tip_amount = tip['amount'] last_tip_username = tip['from_user'] if (tip['amount'] > high_tip_amount) { high_tip_amount = tip['amount'] high_tip_username = tip['from_user'] } var amount=parseInt(tip['amount']); var time=seconds(amount); var tipper = tip['from_user']; var tipmsg = ":bblan2 ********My LOVENSE Lush is now reacting to "+tipper+"'s tip. It will stop after " + time + " seconds!"; tipmsg += " (" + intensity + ") "; if(author=='jhonhanar' && cb.settings.reacting=='Si'){ cb.chatNotice(tipmsg, '','',cb.settings.color, 'bold'); } if(cb.settings.multigoal=='Si'){ if (total_tipped >= cb.settings.tokens) { var copytotaltipped = total_tipped; var copytokens = cb.settings.tokens; total_tipped %= cb.settings.tokens; while(copytotaltipped>=copytokens){ copytotaltipped -= copytokens; goalCounter++; } } } cb.drawPanel(); 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.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(tip['amount']<100){ mariposas(); } else{ bunny(); } }); /*cb.onDrawPanel(function(user) { return { 'template': '3_rows_of_labels', 'row1_label': 'Tip Received / Goal :', 'row1_value': '' + total_tipped + ' / ' + cb.settings.tokens, 'row2_label': 'Highest Tip:', 'row2_value': format_username(high_tip_username) + ' (' + high_tip_amount + ')', 'row3_label': 'Latest Tip Received:', 'row3_value': format_username(last_tip_username) + ' (' + last_tip_amount + ')' }; }); */ function seconds(value){ var tim; if(value>=1 && value<5){ tim=2; intensity = "LOW VIBRATIONS" } if(value>=5 && value<15){ tim=3; intensity = "LOW VIBRATIONS" } if(value>=15 && value<25){ tim=5; intensity = "MEDIUM VIBRATIONS" } if(value>=25 && value<50){ tim=3; intensity = "MEDIUM VIBRATIONS" } if(value>=50 && value<100){ tim=7; intensity = "MEDIUM VIBRATIONS" } if(value>=100 && value<150){ tim=5; intensity = "HIGH VIBRATIONS" } if(value>=150 && value<250){ tim=7; intensity = "HIGH VIBRATIONS" } if(value>=250 && value<500){ tim=10; intensity = "HIGH VIBRATIONS" } if(value>=500 && value<1500){ tim=30; intensity = "HIGH VIBRATIONS" } if(value>=1500 && value<3000){ tim=60; intensity = "ULTRA HIGH VIBRATIONS" } if(value>=3000 && value<5000){ tim=99; intensity = "ULTRA HIGH VIBRATIONS" } if(value>=5000 && value<10000){ tim=120; intensity = "ULTRA HIGH VIBRATIONS" } if(value==44 || value==87 || value==111 || value==333){ tim=15; if(value==44){ intensity = "Wave Pattern" } if(value==87){ intensity = "Pulse Pattern" } if(value==111){ intensity = "Earthquake Pattern" } if(value==333){ intensity = "Fireworks Pattern" } } return tim; } var anonbg = 'c0affbf5-3789-4351-9104-bffcb804ac9f' cb.onDrawPanel(function(user) { if (user.user == ''){ return { "template": "image_template", "layers": [ {'type': 'image', 'fileID': anonbg}, ], } } else{ return { "template": "image_template", "layers": [ {'type': 'image', 'fileID': backgroundImage}, { 'type': 'text', 'text': 'Tip Received / Goal '+goalCounter+':', 'top': 5, 'left': 17, 'font-size': fontSize, 'color': '#f82da0', }, { 'type': 'text', 'text': 'Highest Tip:', 'top': 29, 'left': 58, 'font-size': fontSize, 'color': '#f82da0', }, { 'type': 'text', 'text': 'Latest Tip Received:', 'top': 52, 'left': 17, 'font-size': fontSize, 'color': '#f82da0', }, { 'type': 'text', 'text': '' + total_tipped + ' / ' + cb.settings.tokens, 'top': 5, 'left': 139, 'font-size': fontSize, 'color': 'pink', }, { 'type': 'text', 'text': format_username(high_tip_username) + ' (' + high_tip_amount + ')', 'top': 29, 'left': 122, 'font-size': fontSize, 'color': 'pink', }, { 'type': 'text', 'text': format_username(last_tip_username) + ' (' + last_tip_amount + ')', 'top': 51, 'left': 122, 'font-size': fontSize, 'color': 'pink', }, {'type': 'image', 'fileID': mariposa, 'top':0, 'left': 0, }, {'type': 'image', 'fileID': snow, 'top':0, 'left': 0, }, {'type': 'image', 'fileID': olaf, 'top':0, 'left': 10, }, {'type': 'image', 'fileID': candado, 'top':3, 'left': 100, }, ], }; }}); // helper functions function update_subject() { 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 = cb.settings.goal_description + " [" + tips_remaining() + " tokens remaining]"; cb.log("Changing subject to: " + new_subject); cb.changeRoomSubject(new_subject); } function tips_remaining() { var r = cb.settings.tokens - total_tipped; if (r < 0) { return 0; } else { return r; } } var contador = 0; var mariposa = ''; var candado = ''; function hidden(opc) { if(opc==1){ candado = '62e8e0e1-ae81-4c66-ad7e-063af4be6381'; cb.drawPanel(); } if(opc==0){ candado = ''; cb.drawPanel(); } } function mariposas() { var timermariposa; contador++; mariposa = '87423f14-64cc-4230-a7d3-67b8123618f1'; timermariposa = cb.setTimeout(mariposas, 4000); cb.drawPanel(); if (contador == 2) { cb.cancelTimeout(timermariposa); mariposa = ''; contador = 0; cb.drawPanel(); } } var snow =''; var olaf =''; function frozzen() { snow = 'ee933158-2f74-427a-adca-01d23bef99c9'; olaf = '48bf5f2a-83b4-4bc3-a439-1d97d6428dc5'; cb.drawPanel(); } function rbd() { snow = 'b63ff3c3-e34f-4052-90b6-c5f26c06334c'; cb.drawPanel(); } function cancelfrozzen() { snow = ''; olaf = ''; cb.drawPanel(); } function bunny() { var timerbunny; contador++; mariposa = '344efde8-44ce-4562-b007-0d51e0b303b4'; timerbunny = cb.setTimeout(bunny, 10000); cb.drawPanel(); if (contador == 2) { cb.cancelTimeout(timerbunny); mariposa = ''; contador = 0; cb.drawPanel(); } } var copyminjoin=cb.settings.min_join_tokens; var copyminstart=cb.settings.min_start_tokens; cb.onMessage(function (msg) { if(msg['m'].match(/\/angel/i) && (msg['user']==cb.room_slug || msg['user']==author)){ msg['X-Spam'] = true; backgroundImage='77892431-67ad-4dd0-b34c-ae7c6791f09b'; cb.drawPanel(); } if(msg['m'].match(/\/frozzen/i) && (msg['user']==cb.room_slug || msg['user']==author)){ msg['X-Spam'] = true; frozzen(); } if(msg['m'].match(/\/rbd/i) && (msg['user']==cb.room_slug || msg['user']==author)){ msg['X-Spam'] = true; rbd(); } if(msg['m'].match(/\/cancelfrozzen/i) && (msg['user']==cb.room_slug || msg['user']==author)){ msg['X-Spam'] = true; cancelfrozzen(); } if(msg['m'].match(/\/ssj/i) && (msg['user']==cb.room_slug || msg['user']==author)){ msg['X-Spam'] = true; backgroundImage='31070da8-4160-4008-8f14-014e509e91fc'; cb.drawPanel(); } if(msg['m'].match(/\/normal/i) && (msg['user']==cb.room_slug || msg['user']==author)){ msg['X-Spam'] = true; backgroundImage='4f80ee3c-cb1c-40bb-9675-410e8ec4889e'; cb.drawPanel(); } if(msg['m'].match(/\/mariposa/i) && (msg['user']==cb.room_slug || msg['user']==author)){ msg['X-Spam'] = true; mariposas(); } if(msg['m'].match(/\/bunny/i) && (msg['user']==cb.room_slug || msg['user']==author)){ msg['X-Spam'] = true; bunny(); } if (msg['m'].match(/\/info/i)) { msg['X-Spam'] = true; info(msg['user']); } if(msg['user']!=cb.room_slug) { if (msg['m'].match(/c2/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/2c/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/c 2 c/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/guys/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/boys/i) && (msg['has_tokens'] == false) && (msg['gender'] != "m")) { msg['X-Spam'] = true; } if (msg['m'].match(/c2c/i) && (msg['has_tokens'] == false) && (msg['gender'] != "m")) { msg['X-Spam'] = true; } if (msg['m'].match(/sexlife/i) && (msg['has_tokens'] == false) && (msg['gender'] != "m")) { msg['X-Spam'] = true; } if (msg['m'].match(/outMy/i) && (msg['has_tokens'] == false) && (msg['gender'] != "m")) { msg['X-Spam'] = true; } if (msg['m'].match(/check/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/seeMy/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/watch/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/Look/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/Sex/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/View/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/cam 2 cam/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/account/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/Bio/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/photo/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/prof/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/See My/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/Bi0/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/ViewMy/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/ViisitMy/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/Picture/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/./i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['m'].match(/delete space/i) && (msg['has_tokens'] == false) && (msg['gender'] != 'm')) { msg['X-Spam'] = true; } if (msg['user']=='schau1') { msg['X-Spam'] = true; cb.sendNotice("your message wasn't send, because you are in black list", msg['user'], '', '#FF0000', 'bold'); } } var message = msg['m']; var username = ""; 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[0] === '+') { msg['X-Spam'] = true; username = message.substring(1, 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[0] === '-') { msg['X-Spam'] = true; username = message.substring(1, message.length); if (cbjs.arrayContains(cb.limitCam_allUsersWithAccess(), username)) { cb.limitCam_removeUsers([username]); // output(cb.room_slug + ' has removed ' + username + ' from the hidden show!', username); output(cb.room_slug + ' has removed ' + username + ' from the hidden show!', cb.room_slug); output(cb.room_slug + ' has removed ' + username + ' from the hidden show!', author); } } 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(0,13)==':crown_queen '){ if(msg['m'].substring(20,23)!=''){ cb.settings.min_join_tokens=parseInt(msg['m'].substring(20,23)); } 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!"); hidden(1); 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); } } else 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!"); hidden(1); 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); } } 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!"); hidden(1); 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 (((msg['is_mod'] == true) || (msg['user'] == author) || (msg['user'] == cb.room_slug)) && message.match(/\/pvt/i) && !cb.limitCam_isRunning()) { msg['X-Spam'] = true; cb.limitCam_removeAllUsers(); cb.settings.min_join_tokens="que"; cb.settings.min_start_tokens="que" cb.limitCam_start("Secret Show in progress! Tip at leastque tokens to join in on the fun", author); hidden(1); } 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(); hidden(0); cb.limitCam_removeAllUsers() cb.settings.min_join_tokens=copyminjoin; cb.settings.min_start_tokens=copyminstart; cb.cancelTimeout(chadtimeout); } if (((msg['user'] == author) || (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!', username); output(cb.room_slug + ' has removed ' + username + ' from the hidden show!', cb.room_slug); output(cb.room_slug + ' has removed ' + username + ' from the hidden show!', author); } } 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['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']); } } return msg; }); 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.\n"; aviso +="Wait for me, I do not delay"; cb.sendNotice(aviso, username, '', '#042EC6', 'bold'); } function format_username(val) { if (val === null) { return "--"; } else { return val.substring(0, 12); } } function init() { //update_subject(); cb.changeRoomSubject(cb.settings.goal_description +' Lovense Activated ' +cb.settings.tags+" #cute #hairy #young #daddy #petite #dildo #smalltits #skinny #shy #stocking #sweet"); } init();
© Copyright Chaturbate 2011- 2024. All Rights Reserved.