Bots Home
|
Create an App
sexyyyy
Author:
sexyhungmasterofkink
Description
Source Code
Launch Bot
Current Users
Created by:
Sexyhungmasterofkink
// Preloaded Dom/Alpha-themed hashtags const domHashtags = [ "#Master", "#Obey", "#Alpha", "#Control", "#Domination", "#Submit", "#Loyalty", "#Respect", "#Discipline", "#PowerExchange", "#Command", "#Protector", "#Dominant", "#Serve", "#Guidance", "#Obedience", "#Punishment", "#Reward", "#Authority", "#Ownership" ]; // App settings for rotation interval and custom hashtags cb.settings_choices = [ { name: 'rotation_interval', type: 'int', minValue: 10, maxValue: 120, defaultValue: 30, label: 'Rotation Interval (in seconds)' }, { name: 'additional_hashtags', type: 'str', minLength: 0, maxLength: 200, label: 'Add Custom Hashtags (comma-separated)', defaultValue: '' } ]; // Settings to enable/disable each preloaded hashtag domHashtags.forEach((tag, index) => { cb.settings_choices.push({ name: `hashtag${index}`, type: "choice", label: `Include ${tag}?`, choice1: "Yes", choice2: "No", defaultValue: "Yes" // Default to "Yes" for all preloaded hashtags }); }); let selectedHashtags = []; let currentIndex = 0; // Load selected hashtags based on user settings function loadSelectedHashtags() { // Add enabled preloaded hashtags selectedHashtags = domHashtags.filter((tag, index) => cb.settings[`hashtag${index}`] === "Yes"); // Add custom hashtags provided by the user, if any if (cb.settings.additional_hashtags) { const customHashtags = cb.settings.additional_hashtags.split(',').map(tag => tag.trim()).filter(tag => tag.length > 0); selectedHashtags = selectedHashtags.concat(customHashtags); } if (selectedHashtags.length === 0) { cb.chatNotice("No hashtags selected. Using default Dom/Alpha-themed hashtags."); selectedHashtags = domHashtags.slice(0, 5); // Use first 5 as fallback if none are selected } } // Rotate the selected hashtags function rotateHashtag() { if (selectedHashtags.length > 0) { cb.chatNotice(`🔥 Hashtag: ${selectedHashtags[currentIndex]}`); currentIndex = (currentIndex + 1) % selectedHashtags.length; } cb.setTimeout(rotateHashtag, cb.settings.rotation_interval * 1000); // Rotate based on interval setting } // Start rotating hashtags when app launches cb.onStart(function() { cb.chatNotice("Dom/Alpha-Themed Rotating Hashtag App started!"); loadSelectedHashtags(); rotateHashtag(); });
© Copyright Chaturbate 2011- 2026. All Rights Reserved.