Apps Home
|
Create an App
FREE DIRTY DARES !!!!
Author:
rynosaurus2985
Description
Source Code
Launch App
Current Users
Created by:
Rynosaurus2985
/** * App: Random Dares * Version: 0.1 * Author: gargoyle1 * Date: 09.10.15 */ 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 goalcount = 1; var goalslots = 0; var remaining; var n = 1; cb.settings_choices = [ {name:'tip', type:'int', label:'Tokens for dare', minValue:1, defaultValue: 50}, {name:'dance', type:'choice', label:'Do you dance?', choice1:'Yes', choice2:'No', defaultValue:'Yes'}, {name:'showboobs', type:'choice', label:'Do you show... BOOBS?', choice1:'Yes', choice2:'No', defaultValue:'Yes'}, {name:'showass', type:'choice', label:'ASS?', choice1:'Yes', choice2:'No', defaultValue:'Yes'}, {name:'showpussy', type:'choice', label:'PUSSY?', choice1:'Yes', choice2:'No', defaultValue:'Yes'}, {name:'closeup', type:'choice', label:'Do you show close-ups?', choice1:'Yes', choice2:'No', defaultValue:'Yes'}, {name:'oil', type:'choice', label:'Do you oil/cream?', choice1:'Yes', choice2:'No', defaultValue:'Yes'}, {name:'rub', type:'choice', label:'Do you rub?', choice1:'Yes', choice2:'No', defaultValue:'Yes'}, {name:'spread', type:'choice', label:'Do you spread?', choice1:'Yes', choice2:'No', defaultValue:'Yes'}, {name:'fingerpussy', type:'choice', label:'Do you finger in pussy?', choice1:'No', choice2:'1', choice3:'2', choice4:'3', choice5:'4', choice6:'5', defaultValue:'3'}, {name:'fingerass', type:'choice', label:'Do you finger in ass?', choice1:'No', choice2:'1', choice3:'2', choice4:'3', choice5:'4', choice6:'5', defaultValue:'1'}, {name:'toypussy', type:'choice', label:'Do you toying pussy?', choice1:'Yes', choice2:'No', defaultValue:'Yes'}, {name:'toyass', type:'choice', label:'Do you toying ass?', choice1:'Yes', choice2:'No', defaultValue:'Yes'}, {name: 'goal', type:'int', minValue:0, label:'Tips for Strip Goal', defaultValue:200}, {name: 'goal1', type:'str', minLength:1, maxLength:255, label:'multi-goal order', defaultValue:'Take off shirt', required:false }, {name: 'goal2', type:'str', minLength:1, maxLength:255, label:'', defaultValue:'Take off trousers', required:false }, {name: 'goal3', type:'str', minLength:1, maxLength:255, label:'', defaultValue:'Take off stockings', required:false }, {name: 'goal4', type:'str', minLength:1, maxLength:255, label:'', defaultValue:'Take off bra', required:false }, {name: 'goal5', type:'str', minLength:1, maxLength:255, label:'', defaultValue:'take off panties', required:false }, ]; cb.onEnter(function(user) { cb.sendNotice('Tip ' + cb.settings.tip + ' tokens for random dares!', user['user'], '', '#990000', 'bold'); if (cb.settings.goal > 0) { cb.sendNotice('Next goal is: ' + cb.settings['goal'+goalcount] + '!', user['user'], '', '#009900', 'bold'); } }); cb.onTip(function (tip) { total_tipped += tip['amount'] goalcheck(); 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'] } cb.drawPanel(); username = tip['from_user']; roomsubject(); }); function rolldice() { var dieRoll = Math.floor((Math.random() * n) + 1); } cb.onDrawPanel(function(user) { return { 'template': '3_rows_of_labels', 'row1_label': 'Tip Received / Goal :', 'row1_value': '' + total_tipped + ' / ' + cb.settings.goal, '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 format_username(val) { if (val === null) { return "--"; } else { return val.substring(0, 12); } } function goalcheck() { if (cb.settings.goal > 0) { if (total_tipped >= cb.settings.goal) { total_tipped = total_tipped - cb.settings.goal; cb.sendNotice('GOAL REACHED!!! ' + cb.settings['goal'+goalcount] + '!', '', '', '#009900', 'bold'); goalcount = goalcount +1; cb.sendNotice('Next goal is: ' + cb.settings['goal'+goalcount] + '!', '', '', '#009900', 'bold'); if (goalcount > goalslots) { goalcount = 1; } goalcheck(); } } } function countslots() { for(var i=1;i<=5;i++) { if (cb.settings['goal'+i] != '') { goalslots = goalslots + 1; } } } function roomsubject() { var remaining = cb.settings.goal - total_tipped; cb.changeRoomSubject('Tip ' + cb.settings.tip + ' tokens for random dares! Next goal is: ' + cb.settings['goal'+goalcount] + ' [' + remaining + ' token remaining]'); } roomsubject(); countslots();
© Copyright Chaturbate 2011- 2026. All Rights Reserved.