Apps Home
|
Create an App
ress
Author:
boobez
Description
Source Code
Launch App
Current Users
Created by:
Boobez
/** Super HiLo Exposer Created By: MabelNude General Pubic License This is free software: you can redistribute it, masturbate to it or cause others to masturbate to you with it. Any modifications require a thorough genital examination by the author before they can be approved. **/ // vars var round = 1; var maxnum=50; var mode=0; var rnum=0; var modetimeout=1; var winner=0; var anyguess=0; var tid=0; var userlist = []; var bcp = { aqua: "#00FFFF", black: "#000000", blue: "#0000FF", fuchsia: "#FF00FF", gray: "#808080", grey: "#808080", green: "#008000", lime: "#00FF00", maroon: "#800000", navy: "#000080", olive: "#808000", orange: "#FFA500", purple: "#800080", red: "#FF0000", silver: "#C0C0C0", teal: "#008080", white: "#FFFFFF", yellow: "#FFFF00" }; cb.settings_choices = [ {name: 'roomsubject', type: 'str', minLength: 1, maxLength: 255, defaultValue: 'Super #HILO Exposer - FREE Game - #Strip the Player #Naked', label: "Room Subject: "}, {name: 'maxrandom', type: 'int', minValue: 2, maxValue: 500, defaultValue: 20, label: "Largest Lucky Number: "}, {name: 'rounddelay', type: 'int', minValue: 1, maxValue: 500, defaultValue: 20, label: "Delay Between Rounds (seconds): "}, {name: 'windelay', type: 'int', minValue: 1, maxValue: 500, defaultValue: 30, label: "Delay After Winning Rounds (seconds): "}, {name: 'roundtimer', type: 'int', minValue: 10, maxValue: 500, defaultValue: 30, label: "Round Timer (seconds): "}, {name: 'numberofguesses', type: 'int', minValue: 5, maxValue: 500, defaultValue: 5, label: "Number of Guesses allowed per Player for each round: "} ]; var tasks = []; tasks[0]={text:"", dependency:0, completed:1, excludeif:0}; tasks[1]={text:"", dependency:0, completed:0, excludeif:0}; tasks[2]={text:"Take off Socks", dependency:0, completed:0, excludeif:1}; tasks[3]={text:"Turn around and shake ass", dependency:0, completed:0, excludeif:1}; tasks[4]={text:"Show underwear", dependency:0, completed:0, excludeif:19}; tasks[5]={text:"Flash Chest", dependency:0, completed:0, excludeif:12}; tasks[6]={text:"Put hand in pants", dependency:0, completed:0, excludeif:9}; tasks[7]={text:"Turn around and bend over", dependency:0, completed:0, excludeif:1}; tasks[8]={text:"Turn around and show bare ass", dependency:0, completed:0, excludeif:1}; tasks[9]={text:"Remove Pants", dependency:0, completed:0, excludeif:1}; tasks[10]={text:"Rub Ass", dependency:0, completed:0, excludeif:1}; tasks[11]={text:"Show pubic hair", dependency:9, completed:0, excludeif:19}; tasks[12]={text:"Remove Shirt", dependency:0, completed:0, excludeif:1}; tasks[13]={text:"Play with nipples", dependency:12, completed:0, excludeif:1}; tasks[14]={text:"Show armpits", dependency:12, completed:0, excludeif:1}; tasks[15]={text:"Do a little tease show in underwear", dependency:9, completed:0, excludeif:19}; tasks[16]={text:"Turn around and pull down underwear for 10 seconds", dependency:9, completed:0, excludeif:19}; tasks[17]={text:"Pull underwear down and cover penis for 10 seconds", dependency:9, completed:0, excludeif:19}; tasks[18]={text:"Rub penis beneath underwear", dependency:9, completed:0, excludeif:19}; tasks[19]={text:"Take off underwear", dependency:18, completed:0, excludeif:1}; tasks[20]={text:"Turn around and bend over", dependency:19, completed:0, excludeif:1}; tasks[21]={text:"Rub Naked Ass", dependency:19, completed:0, excludeif:1}; tasks[22]={text:"Turn around and expose anus", dependency:19, completed:0, excludeif:1}; tasks[23]={text:"Show close up of penis", dependency:19, completed:0, excludeif:1}; tasks[24]={text:"Stroke penis for 30 seconds", dependency:19, completed:0, excludeif:1}; tasks[25]={text:"Lube up penis", dependency:24, completed:0, excludeif:1}; tasks[26]={text:"Tuck penis between legs and show off man pussy", dependency:19, completed:0, excludeif:1}; tasks[27]={text:"Put on panties", dependency:19, completed:0, excludeif:1}; tasks[28]={text:"Take off panties", dependency:27, completed:0, excludeif:1}; function picktask() { var tav = []; var ct = 0; for (i = 0; i != tasks.length; i++) { if(!tasks[i].completed & tasks[tasks[i].dependency].completed & !tasks[tasks[i].excludeif].completed) tav.push(i); } ct=getRandomNumber(0,tav.length-1); cb.chatNotice("-------------------------------------------------------------","","#111111",bcp.yellow,"bold"); cb.chatNotice("- Performer must now: " + tasks[tav[ct]].text + " " ,"","#111111",bcp.yellow,"bold"); cb.chatNotice("-------------------------------------------------------------","","#111111",bcp.yellow,"bold"); cb.cancelTimeout(tid); tid=cb.setTimeout(StartRound,cb.settings.windelay*1000); tasks[tav[ct]].completed=1; } cb.onMessage( function (msg) { // if ( String.toUpper(msg['m']) == '/RULES') { No toUpper on CB? var msgArray = msg['m'].split(" "); //Split each word into an array if(msgArray[0] == "/max" & msg['user']==cb.room_slug) { cb.settings.maxrandom=msgArray[1]; } if ( msg['m'] == '/rules') { msg['X-Spam'] = true; // ShowRules(msg['user']); } if(isANumber(msg['m']) & mode) { testNumber(msg); } return msg; }); function testNumber(msg) { anyguess=1; if(!userlist[msg['user']] ) userlist[msg['user']]=0; var user=msg['user']; if(userlist[user]++ >= cb.settings.numberofguesses) { cb.chatNotice("You've exceeded the maximum number of guesses for this round.\n",msg['user'],"",bcp.grey,"bold"); return; } if(+msg['m'] > rnum) cb.chatNotice("-- " + +msg['m'] + " is too HIGH ","",bcp.gray,"#ffcccc","bold"); if(+msg['m'] < rnum) cb.chatNotice("-- " + +msg['m'] + " is too LOW ","",bcp.gray,bcp.lime,"bold"); if(+msg['m'] == rnum) { cb.chatNotice("-- " + +msg['m'] + " is the LUCKY NUMBER! FUCK! --","","#777777","#eeeeee","bold"); winner=1; mode=0; picktask(); } } var getParam = function(str, cmd) { var params = str.trim().replace('!'+cmd+' ', ''); params = params.replace(/\s+/g, ',').replace(/,+/g, ','); cb.log('param::' + params); return params; }; // Helpers function getRandomNumber(min, max) { return (Math.floor(((Math.random() * (max - min + 1)) + min) )) ; } cb.onLeave(function(user) { cb.chatNotice('Bye ' + user['user'] + '!',cb.room_slug,"#222222","#eeeeee","bold"); }); cb.onEnter(function(user) { cb.chatNotice('Welcome ' + user['user'] + '!'); cb.chatNotice("Welcome " + user['user'] + " to Super #HiLo Exposer!\n" + "GUESS the right number to WIN\n"+ "Just type in a number in chat to play",user['user'],"",bcp.blue,"bold"); cb.chatNotice("User: " + user['user'] + " | Fan: " + user['in_fanclub'] + " | Sex: " + user['gender'],cb.room_slug,"#222222","#eeeeee","bold"); }); function ShowIntro() { cb.chatNotice("Welcome to Super #HiLo Exposer!\n" + "GUESS the right number to WIN\n"+ "Just type in a number in chat to play","","",bcp.blue,"bold"); cb.setTimeout(ShowIntro, 900000); } function isANumber(str){ return !/\D/.test(str); } function StartRound() { if(mode==1) { if(!anyguess) { cb.setTimeout(StartRound,cb.settings.roundtimer*1000); return; } //mode=0; round++; if(!winner) { cb.chatNotice("-- ROUND ENDED -- Nobody guessed the number. It was " + rnum ,"","",bcp.green,"bold"); mode=0; rnum=0; tid=cb.setTimeout(StartRound,cb.settings.rounddelay*1000); return; } } if(mode==0) { if(winner==1) { winner=0; mode=0; tid=cb.setTimeout(StartRound,cb.settings.windelay*1000); return; } rnum=getRandomNumber(1,cb.settings.maxrandom); anyguess=0; mode=1; userlist = []; cb.chatNotice("--- ROUND #" + round + " --- Guess a number between 1 and " + cb.settings.maxrandom ,"","",bcp.green,"bold"); cb.chatNotice("Each Player has " + cb.settings.numberofguesses + " attempts to guess the lucky number","","",bcp.gray,"bold"); cb.chatNotice("Start typing in your guesses.","","",bcp.gray,"bold"); cb.chatNotice("Lucky Number is: " + rnum ,cb.room_slug,"#000000","#eeeeee","bold"); tid=cb.setTimeout(StartRound, cb.settings.roundtimer*1000); } } function Init() { cb.changeRoomSubject(cb.settings.roomsubject); ShowIntro(); StartRound(0); } Init();
© Copyright Chaturbate 2011- 2025. All Rights Reserved.