Apps Home
|
Create an App
Tip Menu Bot (Emojis & Bright Co
Author:
seattlescarletjojo
Description
Source Code
Launch App
Current Users
Created by:
Seattlescarletjojo
// Bot settings cb.settings_choices = [ {name: 'menu_message', type: 'str', minLength: 1, maxLength: 1024, defaultValue: 'š°āØāØ *Tip Menu* āØāØš°\n\nš 100 tokens: š Outfit Change š\n\nš 200 tokens: š§ø Toy Play š\n\nš 500 tokens: š Private Show š\n\nššš Tip now and enjoy! ššš', label: 'Tip Menu Message'}, {name: 'post_interval', type: 'int', minValue: 1, maxValue: 60, defaultValue: 10, label: 'Menu Post Interval (in minutes)'} ]; // Function to post the tip menu function postTipMenu() { cb.sendNotice(cb.settings.menu_message, '', '#FFD700', '#000000', 'bold'); // Bright yellow background, black text, bold font } // Handle the !menu command from users cb.onMessage(function (msg) { if (msg['m'] === '!menu') { cb.sendNotice(cb.settings.menu_message, msg['user'], '#FF69B4', '#FFFFFF', 'bold'); // Hot pink background, white text msg['X-Spam'] = true; // Prevent the command from showing in chat } return msg; }); // Post the tip menu at regular intervals cb.setTimeout(function repeatMenu() { postTipMenu(); cb.setTimeout(repeatMenu, cb.settings.post_interval * 60000); // Repeat based on the interval in minutes }, cb.settings.post_interval * 60000); // Initial menu post postTipMenu();
© Copyright Freesexcam 2011- 2024. All Rights Reserved.