Bots Home
|
Create an App
cd-Lush Settings
Author:
prurient
Description
Source Code
Launch Bot
Current Users
Created by:
Prurient
cb.settings_choices = [ {name:'Level1', type:'str', minLength:1, maxLength:255, label:'Level #1'}, {name:'Level2', type:'str', minLength:1, maxLength:255, label:'Level #2 (optional)', required:false}, {name:'Level3', type:'str', minLength:1, maxLength:255, label:'Level #3 (optional)', required:false}, {name:'Level4', type:'str', minLength:1, maxLength:255, label:'Level #4 (optional)', required:false}, {name:'Level5', type:'str', minLength:1, maxLength:255, label:'Level #5 (optional)', required:false}, {name:'Level6', type:'str', minLength:1, maxLength:255, label:'Random Level (optional)', required:false}, {name:'advertisement_wait_time', type:'choice', label:'Notification Time (in minutes)', choice1:5, choice2:10, choice3:15, choice4:20, choice5:25, choice6:30, choice7:45, choice8:60, defaultValue:15} ]; var meanBroadcasters = ['_']; cb.onEnter(function(user) { if(meanBroadcasters.indexOf(cb.room_slug) < 0) { cb.sendNotice('Welcome to my room, ' + user['user'] + '. MY LOVENSE LUSH VIBRATOR IS SET TO REACT TO YOUR TIPS. THERE ARE 5 LEVELS OF INTENSITY OR RANDOMLY CHOOSE A LEVEL FROM 3-5', user['user'], '#DBFFDB', '', 'bold'); displayLevels(user); } }); function displayLevels(user) { var username = ''; if(user) username = user['user']; var notices = '###### Vibrator Level ######'; for(var i=1; i<=10;i++) { if(cb.settings['Level' + i]) notices += '\n 💦'+ cb.settings['Level'+i]; } notices += '\n######################'; cb.sendNotice(notices, username, '#E6FFFF', '#003399', 'bold'); if(!user || user == null) cb.setTimeout(displayLevels, cb.settings.advertisement_wait_time * 60000); } function init() { if(meanBroadcasters.indexOf(cb.room_slug) < 0) displayLevels(); } init();
© Copyright Chaturbate 2011- 2024. All Rights Reserved.