Bots Home
|
Create an App
Tina's CLUBs
Author:
play_blackjack
Description
Source Code
Launch Bot
Current Users
Created by:
Play_Blackjack
// Tina's Club Bot // CB app settings cb.settings_choices = [ {name: 'doColoring', type: 'choice', label: 'Change text and background coloring for members (choose colors below)?', choice1: 'Yes', choice2: 'No', defaultValue: 'Yes'}, {name: 'doText', type: 'choice', label: 'Add text labels in front of members messages (choose text below)?', choice1: 'Yes', choice2: 'No', defaultValue: 'Yes'}, {name: 'sfText', label: 'Text to put in front of 420 Club members messages (e.g. smoke), the text will be put inside square brackets []', type: 'str', minLength: 0, maxLength: 10, required: false, defaultValue: 'smokin'}, {name: 'sfTextColor', label: '420 Club members text color - HTML colour code without starting \'#\' e.g. (000000 is black)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '000000'}, {name: 'sfBGColor', label: '420 Club members background color - HTML colour code without starting \'#\' e.g. (7FFF00 is chartreuse)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '7FFF00'}, {name: 'sfMinTip', label: 'Minimum tip to become 420 Club member', type: 'int', minValue: 1, defaultValue: 420}, {name: 'sfAnnounce', label: 'Text to show when someone tips to become a 420 club member, the text MEMBERNAME will be replaced with the username of the new (Note: graphics don\'t work in this text)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: 'MEMBERNAME just joined SmokerFetishs 420 Club, HELL YEAH!'}, {name: 'sfMemberList', label: 'List of current 420 members, separated by commas (and they need to be the CB username exactly)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: 'MELODYKUSH, SYNCROPRISM, JUST4FUN_VEGAS, RAMAIRV8, MISTYNYMPHO, MERVINDUDE, ALEXALUV, XXFLAVORKILLERXX, PUSSYLOVER_247, 420_KRONIK_420, FIONAFAE, CORONA2380, XZITE, JACKTELE, LAUREN323, CHRONICLOVE, PURPLE_STAR, TIMBER5, THATSFAPTASTIC, SILVERGHOST, J4C0BJ3NNING5, SWEALEX, DAROBG, SUBMISSIVEME, BRUSSELSMIX, CELLERON, BACONPUNK, IVYSTONE1019, PERVERTEDCOMIC, ARMYSTRONGISBACK, SUSIEQXXX, BORPAT61, RKINBAKKEN, MYSTICWOLF420, SPANKME222, ILOVEGIRLSWHOSMOKE, MRSGREENEYES, HIPPIEFREAKS, SLIMJIM_420, BETTYDREADFUL, BIGCHRIS0918, BIGMAC74, DENTEDCAN, ABIGGATH'}, {name: 'sfRainText', label: 'Text to use for 420 Club rain lines', type: 'str', minLength: 0, maxLength: 80, required: false, defaultValue: '420 club 420 club 420 club HELL YEAH'}, {name: 'sfRainCount', label: 'Number of lines of 420 Club rain', type: 'int', minValue: 1, maxValue: 15, defaultValue: 15}, {name: 'hrText', label: 'Text to put in front of High Rollers messages (e.g. hr)', type: 'str', minLength: 0, maxLength: 10, required: false, defaultValue: 'highroller'}, {name: 'hrTextColor', label: 'High Rollers text color - HTML colour code without starting \'#\' e.g. (000000 is black)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '000000'}, {name: 'hrBGColor', label: 'High Rollers background color - HTML colour code without starting \'#\' e.g. (1E90FF is dodger blue)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '1E90FF'}, {name: 'hrMinTip', label: 'Minimum tip to become High Roller', type: 'int', minValue: 1, defaultValue: 1666}, {name: 'hrAnnounce', label: 'Text to show when someone tips to become a High Roller, the text MEMBERNAME will be replaced with the username of the new member (Note: graphics don\'t work in this text)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: 'MEMBERNAME just became a High Roller! FUCK YEAH!'}, {name: 'hrMemberList', label: 'List of current High Rollers, separated by commas (and they need to be the CB username exactly)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: 'PUSSYLOVER_247, JFABULOUS, RAMAIRV8, CUNTTMUFFIN, JUST4FUN_VEGAS, ARMYSTRONGISBACK, XXFLAVORKILLERXX, JD1976, BORED310, JACKTELE, SOMBRETE, SPANKME222, CUTELILBICHICK, RKINBAKKEN, SILVERGHOST, CELLERON, MIKEYARKS, CNEEDJAM, SUSIEQXXX, NUDITYISFUN, SUBMISSIVEME, DAROBG, MALC2480, 420_KRONIK_420, KARL256, XEZAUMM, FIONAFAE, TATTOOED_LOVE, VIPU, BIGMAC74, KAIIIX3'}, {name: 'hrRainText', label: 'Text to use for High Roller rain lines', type: 'str', minLength: 0, maxLength: 80, required: false, defaultValue: 'High Roller High Roller High Roller FUCK YEAH!'}, {name: 'hrRainCount', label: 'Number of lines of High Roller rain', type: 'int', minValue: 1, maxValue: 15, defaultValue: 15} ]; var sfMembers = {}; var hrMembers = {}; var sfNotice = "Tip 420 to become a member of the 420 Club, Tip 1,000 or more to become a High Roller!\nAll your messages will be highlighted in chat and your also get exclusive content./nMade by mistynympho"; // For auto-silencing at least some of token_wh*re_c*nts usernames var twcRegex = /t.?k.?n.?wh.?r.?_c.?nt.?/i; function showSFNotice(){ cb.chatNotice(sfNotice); cb.setTimeout(showSFNotice,900000); } cb.onMessage(function (msg) { // vars for ease of use var u = msg['user']; if (isHR(u)) { msg['background'] = '#' + cb.settings.hrBGColor; msg['c'] = '#' + cb.settings.hrTextColor; msg['m'] = "[" + cb.settings.hrText + "] " + msg['m']; } else if (isSF(u)) { msg['background'] = '#' + cb.settings.sfBGColor; msg['c'] = '#' + cb.settings.sfTextColor; msg['m'] = "[" + cb.settings.sfText + "] " + msg['m']; } if (twcRegex.test(u)) { // Auto-silencing at least some of token_wh*re_c*nts usernames msg['X-Spam'] = true; } return msg; }); cb.onTip(function (tip) { var amountTipped = parseInt(tip['amount']); if (amountTipped >= cb.settings.hrMinTip && !isHR(tip['from_user'])) { // Make High Roller and announce it var announcement = cb.settings.hrAnnounce.replace("MEMBERNAME", tip['from_user']); makeHR(tip['from_user']); for (var i = 0; i < cb.settings.hrRainCount; i++) { cb.chatNotice(cb.settings.hrRainText); } cb.chatNotice(announcement); } else if (amountTipped >= cb.settings.mmMinTip && !isSF(tip['from_user'])) { // Make 420 Club and announce it var announcement = cb.settings.sfAnnounce.replace("MEMBERNAME", tip['from_user']); makeSF(tip['from_user']); for (var i = 0; i < cb.settings.sfRainCount; i++) { cb.chatNotice(cb.settings.sfRainText); } cb.chatNotice(announcement); } }); function isHR(username) { return (username in hrMembers); } function isSF(username) { return (username in sfMembers); } function makeHR(username) { hrMembers[username] = {'u': 1}; } function makeSF(username) { sfMembers[username] = {'u': 1}; } function grabSettings() { cb.log("starting grabbing settings"); // Get 420 members if (cb.settings.sfMemberList) { var sfMemberSettings = cb.settings.sfMemberList.split(','); for (var ii = 0; ii < sfMemberSettings.length; ii++) { var clean = sfMemberSettings[ii].toLowerCase().replace(/ /g, ""); sfMembers[clean] = {'u': 1}; } } // Get high rollers if (cb.settings.hrMemberList) { var hrMemberSettings = cb.settings.hrMemberList.split(','); for (var ii = 0; ii < hrMemberSettings.length; ii++) { var clean = hrMemberSettings[ii].toLowerCase().replace(/ /g, ""); hrMembers[clean] = {'u': 1}; } } cb.log("finished grabbing settings"); } grabSettings(); showSFNotice();
© Copyright Chaturbate 2011- 2026. All Rights Reserved.