Apps Home
|
Create an App
welcome
Author:
80proof
Description
Source Code
Launch App
Current Users
Created by:
80proof
/** * Bot: Holly Rules * Version: 1.12 * Author: hollycute * Date: 01.18.14 */ cb.settings_choices = [ {name:'rule1', type:'str', minLength:1, maxLength:255, label:'Rule #1'}, {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} ]; cb.onEnter(function(user) { cb.sendNotice('HEY, ' + user['user'] + '. ', user['user'], 'GREEN', '', 'bold'); displayRules(user); }); function displayRules(user) { var username = ''; if(user) username = user['user']; var notices = '80PROOF'; for(var i=1; i<=10;i++) { if(cb.settings['rule' + i]) notices += '\nRule #'+ i +': ' + cb.settings['rule'+i]; } cb.sendNotice(notices, username, '', '#ff00ff', 'bold'); if(!user || user == null) cb.setTimeout(displayRules, cb.settings.advertisement_wait_time * 60000); } function init() { displayRules(); } init();
© Copyright Chaturbate 2011- 2026. All Rights Reserved.