Apps Home
|
Create an App
5 Naked Clues Extended Subject
Author:
greywet93
Description
Source Code
Launch App
Current Users
Created by:
Greywet93
var qindex=0;var mode=0;var playerscores=Array();var msgtimer=0;var msgflag=0;var goal1=10;var goal2=15;var panel_top_player="nobody(0)";var panel_answers_goal="(0)";var panel_level="1/3";var total_score=0;var prize_won="None Yet";var t_goal=0;var prizecnt=1;var cluepnt=1;var gamescore=0;cb.settings_choices= [{name:"qdelay",label:"Delay before next question (seconds)",type:"int",minValue:1,maxValue:9999,default:5},{name:"qtimeout",label:"Time to wait for answer (seconds)",type:"int",minValue:1,maxValue:9999,default:20},{name:"ranlet",label:"Number of random letters to add to scramble clue",type:"int",minValue:1,maxValue:9999,default:3},{name:"subject",label:"Room subject",type:"str",minLength:1,maxLength:200,default:"Smart enough to #Strip me Naked?"},{name:"prize1",type:"str",minLength:1,maxLength:255,label:"Goal 1",default:"Remove Socks"},{name:"prize2",type:"str",minLength:1,maxLength:255,label:"Goal 2",default:"Remove Shorts for 20 seconds"},{name:"prize3",type:"str",minLength:1,maxLength:255,label:"Goal 3",default:"Do a Spin"},{name:"prize4",type:"str",minLength:1,maxLength:255,label:"Goal 4",default:"Show ass in underwear"},{name:"prize5",type:"str",minLength:1,maxLength:255,label:"Goal 5",default:"Remove Shorts"},{name:"prize6",type:"str",minLength:1,maxLength:255,label:"Goal 6",default:"Flash Ass"},{name:"prize7",type:"str",minLength:1,maxLength:255,label:"Goal 7",default:"Rub Ass"},{name:"prize8",type:"str",minLength:1,maxLength:255,label:"Goal 8",default:"Flash Chest"},{name:"prize9",type:"str",minLength:1,maxLength:255,label:"Goal 9",default:"Drop underwear/show ass - 10 seconds"},{name:"prize10",type:"str",minLength:1,maxLength:255,label:"Goal 10",default:"Rub cock thru underwear - 20 seconds"},{name:"prize11",type:"str",minLength:1,maxLength:255,label:"Goal 11",default:"Play with nipples - 20 seconds"},{name:"prize12",type:"str",minLength:1,maxLength:255,label:"Goal 12",default:"Flash head of cock"},{name:"prize13",type:"str",minLength:1,maxLength:255,label:"Goal 13",default:"Remove shirt"},{name:"prize14",type:"str",minLength:1,maxLength:255,label:"Goal 14",default:"Play with nipples"},{name:"prize15",type:"str",minLength:1,maxLength:255,label:"Goal 15",default:"Rub cock beneath underwear"},{name:"prize16",type:"str",minLength:1,maxLength:255,label:"Goal 16",default:"Show Feet"},{name:"prize17",type:"str",minLength:1,maxLength:255,label:"Goal 17",default:"Naked for 10 seconds"},{name:"prize18",type:"str",minLength:1,maxLength:255,label:"Goal 18",default:"Rub Butt"},{name:"prize19",type:"str",minLength:1,maxLength:255,label:"Goal 19",default:"Remove underwear"},{name:"prize20",type:"str",minLength:1,maxLength:255,label:"Goal 20",default:"Lube up cock"},{name:"prize21",type:"str",minLength:1,maxLength:255,label:"Goal 21",default:"Show close up of cock"},{name:"prize22",type:"str",minLength:1,maxLength:255,label:"Goal 22",default:"Show feet"},{name:"prize23",type:"str",minLength:1,maxLength:255,label:"Goal 23",default:"Show ass"},{name:"prize24",type:"str",minLength:1,maxLength:255,label:"Goal 24",default:"Game Over! Anything you say for 2 minutes"}];var questions=[["wedding","flowers","union","ceremony","present","rings"],["bank","note","crisis","security","deposit","vault"],["clear","glasses","window","thoughts","conscience","water"],["police","traffic","force","cuffs","weapons","order"],["hospital","injury","patient","building","beds","doctors"],["letter","writing","seal","character","alphabet","symbol"],["rock","drinks","solid","music","stone","sway"],["spirit","alcohol","ghost","essence","energy","soul"],["capture","wild","hunter","zoo","trap","cage"],["tear","lacerate","drop","crocodile","rip","duct"],["close","conclusion","door","book","proximity","shut"],["sign","language","omen","traffic","mathematics","astrology"],["wind","instrument","pipe","energy","weather","mill"],["honeymoon","two","luggage","romantic","island","celebration"],["geometry","compass","shape","pencil","paper","mathematics"],["vacation","trip","family","relaxation","exploration","pleasure"],["time","spend","waste","schedule","share","zone"],["souvenir","seashell","shopping","vacation","memory","gift"],["gambling","cards","money","machine","casino","poker"],["precious","baby","gems","life","diamond","treasure"],["politics","vote","laws","plebiscite","referendum","campaign"],["liquid","blood","nitrogen","boiling","honey","tear"],["beer","stein","stale","keg","foam","barley"],["eggs","boiled","soft","scrambled","chicken","easter"],["sticky","tape","fingers","mess","honey","gum"],["junk","waster","food","ship","garbage","worthless"],["snail","tentacle","shell","foot","chalk","slow"],["vitamin","deficiency","nutrient","complex","therapy","supplement"],["line","bottom","infantry","railroad","telephone","waist"],["cocktail","dress","occasion","exotic","drink","shrimp"],["short","movie","trousers","dress","sleeve","hair"],["symbol","visual","infinity","danger","recycling","metaphor"],["fountain","neptune","chocolate","trevi","drinking","water"],["studio","workroom","recording","artist","dance","television"],["puree","baby","sauce","potato","sieve","mash"],["ride","car","horse","thrill","smooth","camel"],["shoes","sole","leather","lace","running","walking"],["phone","speaker","micro","tele","number","cell"],["artist","carver","painter","singer","musician","dancer"],["code","authorization","bar","law","moral","secret"],["stud","man","finder","horse","poker","earring"],["western","hat","film","carriage","cowboy","shirt"],["dracula","teth","blood","cape","night","bite"],["carbohydrate","cookie","pasta","cereal","rice","beans"],["seeds","apple","flax","sunflower","pumpkin","dandelion"],["snowman","carrot","ball","hat","kids","fun"],["solo","music","guitar","drum","jedi","playing"],["bow","knot","curved","decoration","fiddlestick","compound"],["sweet","candy","potatoes","cake","cookie","pastry"],["beans","kidney","black","dry","fava","lima"],["skunk","white","stinky","tail","black","fur"],["boxer","sport","dog","round","weight","professional"],["poppy","seed","flower","california","opium","tree"],["positive","test","number","image","plus","result"],["salad","fruit","vinegar","chop","crisp","pasta"],["sushi","rice","roll","seaweed","japanese","fish"],["heirloom","antique","jewelry","family","gift","inheritance"],["lash","eye","whip","ropework","back","leather"],["beach","view","house","sand","towel","ball"],["bouquet","wine","wedding","toss","flower","fruit"],["primary","school","number","color","need","tense"],["sangria","oranges","fruits","wine","pitcher","sprite"],["grace","Kelly","elegance","Monaco","goodness","prayer"],["rotten","tomato","small","feeling","job","apple"],["spaghetti","metballs","tomatoes","italian","pasta","sauce"],["english","muffin","pub","grammar","dictionary","language"],["beverage","tea","pepsi","water","milk","fanta"],["autumn","orange","season","leaves","rain","harvest"],["camera","optical","memories","instrument","interview","security"],["horse","saw","paint","pommel","gait","wild"],["bus","school","tour","seats","wheels","public"],["element","water","hydrogen","fire","oxygen","air"],["kitchen","stove","knives","plates","fridge","oven"],["chips","snack","BBQ","oil","ketchup","potatoes"],["chess","check","knight","queen","king","game"],["guest","room","island","mystery","book","river"],["hair","long","blond","short","black","cut"],["teeth","sharp","saw","broken","clean","yellow"],["silence","theatre","reflection","cinema","meditation","library"],["novel","original","romantic","serial","short","epic"],["compact","dense","car","disc","tight","concentrated"],["farm","labour","dairy","truck","land","house"],["pub","english","beer","country","house","local"],["scavenger","fly","circle","scrap","coyote","crow"],["hero","legend","war","mighty","deed","fallen"],["comic","movie","play","character","book","actor"],["animal","elephant","kingdom","lion","handler","instinct"],["bowling","shoes","pin","alley","game","ball"],["salty","fish","water","pork","joke","taste"],["flat","shoes","screen","apartment","roof","land"],["warmth","sun","feeling","comfort","soothing","friendless"],["under","skin","water","down","bridge","wear"],["smell","burning","earthy","smoke","stale","damp"],["poison","scorpion","arsenic","mushroom","snake","antidote"],["uniform","regular","army","doctor","naval","same"],["pocket","change","flap","watch","pick","knife"],["touch","soft","multi","screen","down","womans"],["piece","musical","chocolate","puzzle","pizza","cake"],["antique","shop","collectable","old","auction","car"],["tool","fastening","cutting","trowel","measuring","box"],["water","bubbly","salty","carbonated","sweet","flat"],["toxic","plant","snake","waste","gas","product"],["medicine","science","treatment","health","diagnosis","medications"],["pass","mobile","season","qualify","press","boarding"],["cream","whip","beauty","cheese","heavy","ice"],["jewels","ring","crown","bracelet","necklace","pearls"],["calendar","advent","reform","astronomy","solar","chinese"],["market","farmer","stock","economy","commodity","trade"],["corn","syrup","meal","sweet","pop","bread"],["music","country","sheet","box","romantic","chamber"],["pastel","crayons","soft","dry","pencils","stick"],["script","screenplay","language","life","movie","behavior"],["fish","net","raw","stick","hook","market"],["pad","cushion","shoulder","writing","heating","gauze"],["green","lime","light","grass","olive","party"],["school","law","book","library","sunday","public"],["picture","big","frame","movie","album","drawing"],["bee","platform","box","frame","canopy","flower"],["milk","goat","chocolate","breast","almond","cow"],["green","olives","yogurt","salad","language","feta"],["foot","note","ball","table","unit","support"],["coffee","cup","grinder","shop","beans","filter"],["round","steak","number","grand","funding","belly"],["chest","treasure","hair","hope","pain","pound"],["burn","skin","tire","toast","gas","heart"],["movement","social","sliding","art","circular","labor"],["heavy","cream","load","foot","weight","metal"],["wreck","car","truck","ship","train","old"],["ship","battle","nuclear","cruise","container","wreck"],["leaf","flat","green","maple","orange","falling"],["holiday","christmas","samhain","hanukkah","diwali","ramadan"],["slice","tomato","bread","cake","pizza","cucumber"],["juice","vegetable","fruit","orange","vitamins","sweet"],["white","snow","swan","milk","bear","cloud"],["paint","oil","brush","color","acrylic","bucket"],["coach","bus","basketball","vehicle","football","class"],["charm","luck","bracelet","attract","magic","irresistable"],["shake","milk","hand","camera","martini","rattle"],["shape","circle","sport","perfect","pear","figure"],["cuisine","french","local","hotel","fine","italian"],["house","summer","bird","victorian","boarding","modern"],["chain","reaction","saw","iron","bicycle","store"],["shell","nut","sea","casing","turtle","egg"],["spray","paint","bottle","tan","shower","gunfire"],["grand","piano","canyon","production","hotel","magnificent"],["pinch","salt","point","marks","hitter","sugar"],["grill","dental","hot","car","outdoor","gas"],["score","test","music","board","card","game"],["bowl","soup","ceramic","yogurt","super","cereal"],["whole","food","milk","wheat","number","complete"],["check","box","cross","mark","pattern","rain"],["album","record","photo","compilation","stamp","cover"],["cross","greek","fingers","shape","armenian","red"],["smoke","scondhand","salmon","corrosion","spices","signal"],["clock","pendulum","face","railway","water","grandfather"],["grain","salt","dry","cereal","hard","oat"],["guide","tv","tour","mountain","wilderness","safari"],["press","machine","shoulder","printing","pass","perma"],["knife","butcher","swiss","butter","blade","pocket"],["dream","bad","house","catcher","interpretation","day"],["frost","bite","snow","white","fern","wind"],["sleep","refreshing","walker","daytime","deep","deprivation"],["badge","police","collection","sheriff","pinning","military"],["prize","consolation","grand","third","first","winning"],["chain","high","person","lift","office","lounge"],["red","rose","color","tomato","cross","blood"],["shield","wind","round","kite","knight","ballistic"],["bread","white","pita","wheat","crumbs","sourdough"],["magic","night","kingdom","show","number","tricks"],["bird","exotic","badminton","call","migration","song"],["dog","training","hot","bull","domestic","show"],["cheese","blue","cake","cream","wedge","grilled"],["bog","marsh","lily","water","curlew","moss"],["floor","wood","cork","floating","sub","medallion"],["ceiling","cathedral","painted","dropped","coffered","height"],["butter","garlic","apple","fat","salted","milk"],["rooster","fighter","singer","morning","heel","leader"],["cable","tv","telegraph","electrical","flexible","copper"],["spoon","silver","tea","table","souvenir","wooden"],["assets","house","car","land","furniture","money"],["love","arrow","flowers","heart","kiss","dream"],["cotton","white","light","cloth","gunpowder","fiber"],["column","iron","monument","rustless","ancient","delhi"],["ball","flying","jumping","round","spinning","elastic"],["biathlon","ski","circuit","targets","rifle","race"],["drum","round","loud","empty","timpani","stick"],["sheepdog","sheep","flock","meadow","shepherd","helper"],["tombac","alloy","copper","zinc","yellow","brass"],["yacht","sea","waves","sun","sail","race"],["icicle","cone","transparent","sparkling","high","dangerous"],["knot","rope","speed","thickening","mark","tie"],["silk","mulberry","gossamer","strong","thread","cocoon"],["safe","box","steel","lock","secret","code"]];questions= shuffle(questions);loadcalls();updatepanels();showq();cb.changeRoomSubject(cb.settings["subject"]+ " [Goal: "+ cb.settings["prize"+ prizecnt]+ "]");function showq(){if(!msgflag&& cluepnt== 6){cb.setTimeout(showq,5000);return};if(mode== 1){mode= 0}else {if(cluepnt== 1){cb.chatNotice(" \u2605 "+ "New Secret Word - Can you guess it?"+ " \u2605","","#00CC22","#FFFFFF");cb.chatNotice(" \u2605 "+ "Word has some of these letters: "+ scramble(questions[qindex][0],cb.settings["ranlet"]).toUpperCase()+ " \u2605","","#00CC22","#FFFFFF");msgflag= 0;mode= 0};if(cluepnt!= 6){cb.chatNotice(" \u2605 "+ "Clue # "+ cluepnt+ ": "+ questions[qindex][cluepnt]+ " \u2605","","#666699","#FFFFFF");cb.setTimeout(showq,(5000+ (cluepnt* 1200)));cb.drawPanel();cluepnt++}else {mode= 2;cb.chatNotice(" \u2605 "+ "ClueBot: "+ noanswer()+ " Correct answer is: "+ questions[qindex][0]+ " \u2605","","#666699","#FFFFFF");cluepnt= 1;qindex++;if(qindex== questions.length){qindex= 0;questions= shuffle(questions)};cb.setTimeout(showq,5000)}}}function welcome(user){cb.chatNotice("Welcome "+ user+ "!",null,"#006699","#FFFFFF");cb.chatNotice("We're playing 5 Naked Clues.",user);cb.chatNotice("Guess (type) the secret word from 5 clues that are slowly revealed.",user);cb.chatNotice("Get it right and see what happens next.",user)}function evalmsg(msg){msgflag= 1;if(msg.m== "/z"& msg.user== cb.room_slug){mode= 2;cb.drawPanel()};if(msg.m== "/h"){welcome(msg.user)};if(msg.m== "/g"& msg.user== cb.room_slug){mode= 0;cb.drawPanel()};if(msg["m"].match(/\/p/i)){msg["X-Spam"]= true;if(msg["m"].match(/all/i)&& ((msg["is_mod"]== true)|| (msg["user"]== cb.room_slug))){showPrizes()}else {showPrizes(msg["user"])}};if(msg["m"].match(/\/s/i)){msg["X-Spam"]= true;if(msg["m"].match(/all/i)&& ((msg["is_mod"]== true)|| (msg["user"]== cb.room_slug))){showScores()}else {showScores(msg["user"])}};if(!mode){if(msg.m.toLowerCase().indexOf(questions[qindex][0].toLowerCase())!= -1){mode= 3;if(!playerscores[msg["user"]]){playerscores[msg["user"]]= 0};playerscores[msg["user"]]++;cb.chatNotice("\u2605"+ " TriviaBot: "+ praise(msg["user"])+ " "+ questions[qindex][0]+ " is correct! "+ "\u2605","","#229900","#FFFFFF");cluepnt= 1;qindex++;if(qindex== questions.length){qindex= 0;questions= shuffle(questions)};prize_won= cb.settings["prize"+ prizecnt];cb.chatNotice(" \u2605 "+ "TriviaBot: Model will now: "+ prize_won+ " \u2605","","#AA0000","#FFFFFF");cb.chatNotice(" \u2605 "+ "Score: "+ prize_won+ " \u2605","","#AA0000","#FFFFFF");prizecnt++;cb.changeRoomSubject(cb.settings["subject"]+ " [Goal: "+ cb.settings["prize"+ prizecnt]+ "]");addscores();updatepanels();mode= 1;cb.setTimeout(showq,5000)}}}drawings= {1:":tdr1",2:":tdr2",3:":tdr3",4:":tdr4",5:":tdr5",6:":tdr6"};function noanswer(){var res=Array("Hmmm.. Nobody can get this?","Not even a guess?","Well.. I guess that's too hard.","No Guesses?","You know.. you could just type in guesses!","Ok. On the next question..");return res[Math.floor(Math.random()* res.length)]}function praise(user){var res=Array("Way to go "+ user+ "!",user+ ", that's right!",user+ ", you must be a genius.",user+ ", Very nice!","That was a tough one "+ user+ ".","Wow "+ user+ ".","Where did you do to school "+ user+ "?");rnditem= res[Math.floor(Math.random()* res.length)];return rnditem}function drawDice(dice1,dice2,dice3){switch(cb.settings.nbDice){case "1":cb.chatNotice(drawings[dice1]);break;case "2":cb.chatNotice(drawings[dice1]+ " "+ drawings[dice2]);break;case "3":cb.chatNotice(drawings[dice1]+ " "+ drawings[dice2]+ " "+ drawings[dice3]);break}}function addscores(){total_score++;var tuples=[];for(var key in playerscores){tuples.push([key,playerscores[key]])};tuples.sort(function(a,b){a= a[1];b= b[1];tuples.sort(function(a,b){return b[1]- a[1]})});panel_top_player= tuples[0][0]+ "("+ tuples[0][1]+ ")";updatepanels()}function rollDice(){var triple=0;switch(cb.settings.nbDice){case "1":var dice1=Math.floor(Math.random()* 6+ 1);score= dice1;break;case "2":var dice1=Math.floor(Math.random()* 6+ 1);var dice2=Math.floor(Math.random()* 6+ 1);score= dice1+ dice2;break;case "3":var dice1=Math.floor(Math.random()* 6+ 1);var dice2=Math.floor(Math.random()* 6+ 1);var dice3=Math.floor(Math.random()* 6+ 1);score= dice1+ dice2+ dice3;break};drawDice(dice1,dice2,dice3)}function showScores(user){var tuples=[];for(var key in playerscores){tuples.push([key,playerscores[key]])};tuples.sort(function(a,b){a= a[1];b= b[1];tuples.sort(function(a,b){return b[1]- a[1]})});var msg="###### Top 10 Scores ######";for(var i=0;i< tuples.length& i< 10;i++){var key=tuples[i][0];var value=tuples[i][1];msg+= "\x0A"+ key+ " ("+ value+ ")"};cb.chatNotice(msg,user,"#DBFBFF","#008596","bold")}function showPrizes(user){var msg="###### Prizes ######";var i=1;msg+= "\x0A"+ "1 -"+ cb.settings["prize1"];msg+= "\x0A"+ "2 -"+ cb.settings["prize2"];msg+= "\x0A"+ "3 -"+ cb.settings["prize3"];msg+= "\x0A"+ "4 -"+ cb.settings["prize4"];msg+= "\x0A"+ "5 -"+ cb.settings["prize5"];msg+= "\x0A"+ "6 -"+ cb.settings["prize6"];msg+= "\x0A"+ "7 -"+ cb.settings["prize7"];msg+= "\x0A"+ "8 -"+ cb.settings["prize8"];msg+= "\x0A"+ "9 -"+ cb.settings["prize9"];msg+= "\x0A"+ "10 -"+ cb.settings["prize10"];msg+= "\x0A"+ "11 -"+ cb.settings["prize11"];msg+= "\x0A"+ "12 -"+ cb.settings["prize12"];msg+= "\x0A"+ "13 -"+ cb.settings["prize13"];msg+= "\x0A"+ "14 -"+ cb.settings["prize14"];msg+= "\x0A"+ "15 -"+ cb.settings["prize15"];msg+= "\x0A"+ "16 -"+ cb.settings["prize16"];msg+= "\x0A"+ "17 -"+ cb.settings["prize17"];msg+= "\x0A"+ "18 -"+ cb.settings["prize18"];msg+= "\x0A"+ "19 -"+ cb.settings["prize19"];msg+= "\x0A"+ "20 -"+ cb.settings["prize20"];msg+= "\x0A"+ "21 -"+ cb.settings["prize21"];msg+= "\x0A"+ "22 -"+ cb.settings["prize22"];msg+= "\x0A"+ "23 -"+ cb.settings["prize23"];msg+= "\x0A"+ "24 -"+ cb.settings["prize24"];cb.chatNotice(msg,user,"#DBFBFF","#008596","bold")}function loadcalls(){cb.onMessage(function(msg){evalmsg(msg)});cb.onEnter(function(user){welcome(user["user"])});cb.onDrawPanel(function(user){if(user== cb.room_slug){return {"template":"3_rows_of_labels","row1_label":"Keep It Going:","row1_value":0,"row2_label":"Total Tokens Earned:","row2_value":""+ " Tokens","row3_label":"Last Prize:","row3_value":prize_won}}else {return {"template":"3_rows_of_labels","row1_label":"Top Player","row1_value":panel_top_player,"row2_label":"Correct Answers","row2_value":panel_answers_goal,"row3_label":"Next Goal: ","row3_value":cb.settings["prize"+ prizecnt]}}})}function updatepanels(){cb.drawPanel()}function shuffle(array){for(var i=array.length- 1;i> 0;i--){var j=Math.floor(Math.random()* (i+ 1));var temp=array[i];array[i]= array[j];array[j]= temp};return array}ArraySort= function(array,sortFunc){var tmp=[];var aSorted=[];var oSorted={};for(var k in array){if(array.hasOwnProperty(k)){tmp.push({key:k,value:array[k]})}};tmp.sort(function(o1,o2){return sortFunc(o1.value,o2.value)});if(Object.prototype.toString.call(array)=== "[object Array]"){$.each(tmp,function(index,value){aSorted.push(value.value)});return aSorted};if(Object.prototype.toString.call(array)=== "[object Object]"){$.each(tmp,function(index,value){oSorted[value.key]= value.value});return oSorted}};function getKey(data){for(var prop in data){return prop}}function scramble(word,n){var possible="abcdefghijklmnopqrstuvwxyz";for(var i=0;i< n;i++){word+= possible.charAt(Math.floor(Math.random()* possible.length))};var shuffledWord="";var charIndex=0;word= word.split("");while(word.length> 0){charIndex= word.length* Math.random()<< 0;shuffledWord+= word[charIndex];word.splice(charIndex,1)};return shuffledWord}function init(){}
© Copyright Chaturbate 2011- 2026. All Rights Reserved.