Apps Home
|
Create an App
Xmas Naughty Lovense Machine
Author:
garterxxx
Description
Source Code
Launch App
Current Users
Created by:
Garterxxx
// ====================================== // π SANTAβS NAUGHTY LOVENSE FUCK MACHINE // Christmas Edition by bad Santa βοΈπ // Long-distance tip-activated goal app // ====================================== // Settings cb.settings_choices = [ {name: 'goalMode', type: 'choice', label: 'Goal Mode', choice1: 'SINGLE', choice2: 'MULTI', choice3: 'COUNTER', choice4: 'NO', defaultValue: 'SINGLE'}, {name: 'levelMode', type: 'choice', label: 'Level Mode', choice1: 'LIST', choice2: 'SINGLE', choice3: 'NO', defaultValue: 'LIST'}, {name: 'messColor', type: 'choice', label: 'Message Color', choice1: 'Red', choice2: 'Green', choice3: 'Gold', defaultValue: 'Red'}, {name: 'tags', type: 'str', label: 'Tags (auto adds #Lovense)', defaultValue: 'Christmas, Santa, Holiday, Lovense'}, {name: 'levelTitle', type: 'str', label: 'Level Title', defaultValue: 'π MY LOVENSE FUCK MACHINE IS SET TO REACT TO YOUR TIPS. THERE ARE 5 LEVELS OF INTENSITY βοΈ'} ]; // Variables var goalOn = false; var goalReached = false; var goalSum = 0; var remaining = 0; var setRemaining = 500; // default goal amount var goalNb = 0; var lastTipper = ""; var lastTip = 0; var mvpName = ""; var mvpSum = 0; var userList = {}; var higherTipName = ""; var higherTip = 0; // Festive auto thank you function autoThankYou(tokens, user) { var msg = ""; if (tokens >= 1000) msg = "OMG!!! I love it!! THANK YOU SO MUCH!! πβοΈ"; else if (tokens >= 500) msg = "Thank you so much for giving me this pleasure!! π "; else if (tokens >= 200) msg = "Thank you for the random level surprise!! βοΈ"; else if (tokens >= 100) msg = "You know how to make me happy! Thank you!! π"; else if (tokens >= 15) msg = "I love it, thank you!! β€οΈ"; if (msg) { cb.sendNotice("π " + user + " " + msg, '', '#FF0000', 'bold'); } } function init() { // Force Lovense tags var tags = cb.settings.tags ? cb.settings.tags.trim() : ""; if (!tags.toLowerCase().includes("lovense")) { tags += (tags ? " " : "") + "Lovense"; } cb.changeRoomSubject("π Santaβs Naughty Lovense Fuck Machine - Tip to make it vibrate harder! βοΈ " + tags); runGoal(cb.room_slug); cb.sendNotice("π Santaβs Naughty Lovense Fuck Machine is now active! Ho Ho Hoβ¦ tip to make it stroke and vibrate! βοΈ", '', '#ff0000', 'bold'); } function runGoal(e) { goalOn = true; goalReached = false; remaining = setRemaining; goalNb = 0; goalSum = 0; lastTipper = ""; lastTip = 0; mvpName = ""; mvpSum = 0; userList = {}; higherTipName = ""; higherTip = 0; changeSubject(); changePanel(); } function changeSubject() { var subj = "π Santaβs Naughty Lovense Fuck Machine"; if (goalOn) { subj += " - Goal: " + goalSum + " / " + setRemaining + " [" + remaining + " left] βοΈ"; } cb.changeRoomSubject(subj); } function changePanel() { if (goalReached) { cb.drawPanel({ 'template': '3_rows_of_labels', 'row1_label': 'π Goal Reached!', 'row1_value': 'Thanks everyone! π ', 'row2_label': '', 'row2_value': '', 'row3_label': 'MVP', 'row3_value': mvpName + ' (' + mvpSum + ')' }); } else if (goalOn) { cb.drawPanel({ 'template': '3_rows_of_labels', 'row1_label': 'π Current Goal', 'row1_value': goalSum + ' / ' + setRemaining + ' [' + remaining + ' left]', 'row2_label': 'π Latest Tip', 'row2_value': lastTipper + ' (' + lastTip + ')', 'row3_label': 'MVP', 'row3_value': mvpName + ' (' + mvpSum + ')' }); } } cb.onTip(function(tip) { var amount = parseInt(tip.amount) || 0; var user = tip.from_user || "Secret Elf"; if (goalOn) { goalSum += amount; lastTipper = user; lastTip = amount; if (amount > higherTip) { higherTip = amount; higherTipName = user; } if (goalSum >= setRemaining) { goalReached = true; goalOn = false; cb.sendNotice("π GOAL REACHED! Thank you so much! Merry Christmas! πβοΈ", '', '#ff0000', 'bold'); } changePanel(); changeSubject(); if (amount >= 15) { autoThankYou(amount, user); } } }); init();
© Copyright Chaturbate 2011- 2026. All Rights Reserved.