Apps Home
|
Create an App
Pastuszek1234
Author:
pastuszek1234
Description
Source Code
Launch App
Current Users
Created by:
Pastuszek1234
// Version con menu 0.1 var CurrentSetting = null; var TotalTips = 0; var LastTipper = null; var GoalsRunning = new Boolean(); var FirstGoal = null; var SecondGoal = null; var ThirdGoal = null; var NextGoalName = null; var NextGoalCost = 0; cb.settings_choices = [ { name: 'StopCost', type: 'int', minValue: 1, required: true, default:40, label:"Cost to stop" }, { name: 'LowCost', type: 'int', minValue: 1, required: true, default: 10, label:"Cost for low" },{ name: 'MedCost', type: 'int', minValue: 1, required: true, default:15, label:"Cost to med" }, { name: 'HighCost', type: 'int', minValue: 1, required: true, default: 20, label:"Cost for high" },{ name: 'UltraCost', type: 'int', minValue: 1, required: true, default: 30, label:"Cost for ultra" },{ name: 'Option1Name', type: 'str', minLength: 1, default:"Dildo in pussy 2 min", label:"Torture Option 1 " },{ name: 'Option1Cost', type: 'int', minValue: 0, required: true, default: 0, label:"Cost for Torture option 1, 0 for disable, better use odd values like 33, 42, 101..." },{ name: 'Option2Name', type: 'str', minLength: 1, default:"Dildo in ass 2 min", label:"Torture Option 2 " },{ name: 'Option2Cost', type: 'int', minValue: 0, required: true, default: 0, label:"Cost for Torture option 2" },{ name: 'Option3Name', type: 'str', minLength: 1, default:"Mute 2 min", label:"Torture Option 3 " },{ name: 'Option3Cost', type: 'int', minValue: 0, required: true, default: 0, label:"Cost for Torture option 3" },{ name: 'Option4Name', type: 'str', minLength: 1, default:"Squirt", label:"Torture Option 4 " },{ name: 'Option4Cost', type: 'int', minValue: 0, required: true, default: 0, label:"Cost for Torture option 4" },{ name: 'RunGoals', type:'choice', label:"Activate Goals?", choice1:'Yes', choice2:'No', defaultValue:'Yes'}, { name: 'FirstGoalName', type: 'str', minLength: 1, label:"First Goal" },{ name: 'FirstGoalCost', type: 'int', minValue: 1, label:"First Goal Cost" },{ name: 'SecondGoalName', type: 'str', minLength: 1, label:"Second Goal" },{ name: 'SecondGoalCost', type: 'int', minValue: 1, label:"Second Goal Cost" },{ name: 'ThirdGoalName', type: 'str', minLength: 1, label:"Third Goal" },{ name: 'ThirdGoalCost', type: 'int', minValue: 1, label:"Third Goal cost" } ]; // Chat Commands cb.onMessage(function (msg) { if (msg['m'] == '!t') { cb.chatNotice('-----' + cb.room_slug + ' Torture Options -----', msg['user']); { cb.chatNotice("Hitachi Speed: Low-"+LowCost+ " Med-"+MedCost+ " High-"+HighCost+ " Ultra-"+UltraCost+ " Stop-"+StopCost , msg['user']); if (Option1Cost != 0) { cb.chatNotice(Option1Name + "-" + Option1Cost + "tokens", msg['user']); } if (Option2Cost != 0) { cb.chatNotice(Option2Name +"-" +Option2Cost+ "tokens" , msg['user']); } if (Option3Cost != 0) { cb.chatNotice(Option3Name + "-" +Option3Cost+ "tokens" , msg['user']); } if (Option4Cost != 0) { cb.chatNotice(Option4Name + "-" +Option4Cost+ "tokens" , msg['user']); } } } return msg; }); cb.onTip(function (tip) { TipAmount = parseInt(tip['amount']); TotalTips += TipAmount; LastTipper = tip['from_user']; if (TipAmount === UltraCost && CurrentSetting !== "Ultra") { CurrentSetting = "Ultra"; cb.chatNotice("Hitachi set to Ultraspeed, Ouch! Ouch! Ouch! " +"\n :hitachii", "", '#D70C31', '#000000', 'bold'); } if (TipAmount === HighCost && CurrentSetting !== "High") { CurrentSetting = "High"; cb.chatNotice("Hitachi set to High! Ouch!", "", '#FAAC58', '#000000', 'bold'); } if (TipAmount === MedCost && CurrentSetting !== "Med") { CurrentSetting = "Med"; cb.chatNotice("Hitachi set to Med! I love this speed " +" :cutedeer", "", '#fcb2bf', '#000000', 'bold'); } if (TipAmount === LowCost && CurrentSetting !== "Low") { CurrentSetting = "Low"; cb.chatNotice("Hitachi set to Low! Sweet pleasure "+ " :cutedeer", "", '#2EC6DA', '#000000', 'bold'); } if (TipAmount === StopCost && CurrentSetting !== "Stop") { CurrentSetting = "Stop"; cb.chatNotice("Hitachi set to Off! Time to rest, thank you " +":heart3", "", '#1EE032', '#000000', 'bold'); } if (TipAmount === Option1Cost && Option1Cost !== 0) { cb.chatNotice("---" +Option1Name +"---"+" (type !t for more options)" , "", '#FFFFFF', '#D70C31', 'bold'); } if (TipAmount === Option2Cost && Option2Cost !== 0) { cb.chatNotice("---"+Option2Name+"---"+" (type !t for more options)" , "", '#FFFFFF', '#D70C31', 'bold'); } if (TipAmount === Option3Cost && Option3Cost !== 0) { cb.chatNotice("---"+Option3Name+"---"+ " (type !t for more options)" , "", '#FFFFFF', '#D70C31', 'bold'); } if (TipAmount === Option4Cost && Option4Cost !== 0) { cb.chatNotice("---"+Option4Name+"---" + " (type !t for more options)", "", '#FFFFFF', '#D70C31', 'bold'); } if (GoalsRunning) { if (NextGoalName === FirstGoalName && NextGoalCost <= TotalTips) { NextGoalName = SecondGoalName; NextGoalCost = SecondGoalCost; cb.chatNotice("Goal Reached for: "+FirstGoalName+"!\n Next Goal: "+NextGoalName+" at "+NextGoalCost+" tokens!", "", '#fcb2bf', '#000000', 'bold'); cb.changeRoomSubject("#Hitachi Torture: Low-" +LowCost+ " Med-" +MedCost+ " High-" +HighCost+ " Ultra-" +UltraCost+ " Stop-" +StopCost+ "[Next Goal: "+NextGoalName+"]"); } if (NextGoalName === SecondGoalName && NextGoalCost <= TotalTips) { NextGoalName = ThirdGoalName; NextGoalCost = ThirdGoalCost; cb.chatNotice("Goal Reached for: "+SecondGoalName+"!\n Next Goal: "+NextGoalName+" at "+NextGoalCost+" tokens!", "", '#fcb2bf', '#000000', 'bold'); cb.changeRoomSubject("#Hitachi Torture: Low-"+LowCost+ " Med-"+MedCost+ " High-"+HighCost+ " Ultra-"+UltraCost+ " Stop-"+StopCost+ "[Next Goal: "+NextGoalName+"]"); } if (NextGoalName === ThirdGoalName && NextGoalCost <= TotalTips) { NextGoalName = "All Goals Reached"; NextGoalCost = "<3"; cb.chatNotice("Goal Reached for: "+ThirdGoalName+"!", "", '#fcb2bf', '#000000', 'bold'); cb.changeRoomSubject("#Hitachi Torture: Low-"+LowCost+ " Med-"+MedCost+ " High-"+HighCost+ " Ultra-"+UltraCost+ " Stop-"+StopCost); } } cb.drawPanel(); }); cb.onDrawPanel(function(user) { if (GoalsRunning) { return { 'template': '3_rows_of_labels', 'row1_label': 'Current Setting: ', 'row1_value': CurrentSetting, 'row2_label': 'Next Goal: ', 'row2_value': NextGoalName + " ("+NextGoalCost+")", 'row3_label': 'Total Tips: ', 'row3_value': TotalTips } } else { return { 'template': '3_rows_of_labels', 'row1_label': 'Current Setting: ', 'row1_value': CurrentSetting, 'row2_label': 'Last Tipper: ', 'row2_value': LastTipper, 'row3_label': 'Total Tips: ', 'row3_value': TotalTips } } }); function init() { HighCost = cb.settings.HighCost; LowCost = cb.settings.LowCost; MedCost = cb.settings.MedCost; UltraCost = cb.settings.UltraCost; StopCost = cb.settings.StopCost; Option1Name = cb.settings.Option1Name; Option1Cost = cb.settings.Option1Cost; Option2Name = cb.settings.Option2Name; Option2Cost = cb.settings.Option2Cost; Option3Name = cb.settings.Option3Name; Option3Cost = cb.settings.Option3Cost; Option4Name = cb.settings.Option4Name; Option4Cost = cb.settings.Option4Cost; RunGoals = cb.settings.RunGoals; FirstGoalName = cb.settings.FirstGoalName; FirstGoalCost = cb.settings.FirstGoalCost; SecondGoalName = cb.settings.SecondGoalName; SecondGoalCost = cb.settings.SecondGoalCost; ThirdGoalName = cb.settings.ThirdGoalName; ThirdGoalCost = cb.settings.ThirdGoalCost; NextGoalName = FirstGoalName; NextGoalCost = FirstGoalCost; if (RunGoals === "Yes") { GoalsRunning = true; cb.changeRoomSubject("#Hitachi Torture: Low-"+LowCost+ " Med-"+MedCost+ " High-"+HighCost+ " Ultra-"+UltraCost+ " Stop-"+StopCost+" [Next Goal: "+FirstGoalName+"]"); cb.chatNotice("Hitachi Torture: Low-"+LowCost+ " Med-"+MedCost+ " High-"+HighCost+ " Ultra-"+UltraCost+ " Stop-"+StopCost+ " (type !t for options)" + "\n Next Goal: "+FirstGoalName+" at "+FirstGoalCost+" tokens!", "", '#fcb2bf', '#000000', 'bold'); } else { GoalsRunning = false; cb.changeRoomSubject("#Hitachi Torture: Low-"+LowCost+ " Med-"+MedCost+ " High-"+HighCost+ " Ultra-"+UltraCost+ " Stop-"+StopCost); cb.chatNotice("Hitachi Torture: Low-"+LowCost+ " Med-"+MedCost+ " High-"+HighCost+ " Ultra-"+UltraCost+ " Stop-"+StopCost+" (type !t for options)" , "", '#fcb2bf', '#000000', 'bold'); } } init()
© Copyright Chaturbate 2011- 2026. All Rights Reserved.