Bots Home
|
Create an App
Finley's Wolf Pack 2.0
Author:
finleyblake
Description
Source Code
Launch Bot
Current Users
Created by:
Finleyblake
// Wolf Pack bot // CB app settings cb.settings_choices = [ { name: 'doColoring', type: 'choice', label: 'Change text and background coloring for Wolf Pack & King Wolf (choose colours below)?', choice1: 'Yes', choice2: 'No', defaultValue: 'Yes' }, { name: 'doText', type: 'choice', label: 'Add text labels in front of Wolf Pack & King Wolf messages (choose text below)?', choice1: 'Yes', choice2: 'No', defaultValue: 'Yes' }, { name: 'aaText', label: 'Text to put in front of Wolf Pack members messages (e.g. Wolf Pack), the text will be put inside square brackets [ ]', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'Wolf Pack' }, { name: 'aaIcon', label: 'Icon to put in front of Wolf Pack members messages', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'wolfie' }, { name: 'aaMinTip', label: 'Minimum tip to become Wolf Pack member', type: 'int', minValue: 1, defaultValue: 777 }, { name: 'aaAnnounce', label: 'Text to show when someone tips to become a Wolf Pack 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 the Wolf Pack <3 <3' }, { name: 'aaRainText', label: 'Text to use for Unicornland rain lines', type: 'str', minLength: 0, maxLength: 80, required: false, defaultValue: '<3 <3 777 <3 <3 WOLF PACK <3 <3 777 <3 <3' }, { name: 'aaRainCount', label: 'Number of lines of Unicornland rain', type: 'int', minValue: 1, maxValue: 15, defaultValue: 10 }, { name: 'aaTextColor', label: 'Wolf Pack members text color - HTML colour code without starting \'#\' e.g. (FFFFFF is white)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '000000' }, { name: 'aaBGColor', label: 'Wolf Pack members background color - HTML colour code without starting \'#\' e.g. (000000 is black)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '8cb59a' }, { name: 'aaMemberList', label: 'List of current Wolf Packmembers, separated by commas (and they need to be the CB username exactly)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: '' }, { name: 'abText', label: 'Text to put in front of Queen Wolf messages (e.g. QU), the text will be put inside square brackets [ ]', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'Queen Wolf' }, { name: 'abIcon', label: 'Icon to put in front of Queen Wolf members messages', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'love' }, { name: 'abTextColor', label: 'Queen Unicorns text color - HTML colour code without starting \'#\' e.g. (FFFFFF is white)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '000000' }, { name: 'abBGColor', label: 'Queen Unicorns background color - HTML colour code without starting \'#\' e.g. (000000 is black)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: 'dfffcc' }, { name: 'abMemberList', label: 'List of current Queen Wolf users, separated by commas (and they need to be the CB username exactly)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: 'finleyblake' }, { name: 'acText', label: 'Text to put in front of King Wolf messages (e.g. GU), the text will be put inside square brackets []', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'King Wolf' }, { name: 'acIcon', label: 'Icon to put in front of King Wolf members messages', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'love' }, { name: 'acMinTip', label: 'Minimum tip to become King Wolf member', type: 'int', minValue: 1, defaultValue: 7777 }, { name: 'acAnnounce', label: 'Text to show when someone tips to become a King Wolf 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 King Wolf <3 <3' }, { name: 'acRainText', label: 'Text to use for King Wolf rain lines', type: 'str', minLength: 0, maxLength: 80, required: false, defaultValue: '<3 <3 7777 <3 <3 King Wolf <3 <3 7777 <3 <3' }, { name: 'acRainCount', label: 'Number of lines of King Wolf rain', type: 'int', minValue: 1, maxValue: 15, defaultValue: 10 }, { name: 'acTextColor', label: 'King Wolf text color - HTML colour code without starting \'#\' e.g. (FFFFFF is white)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '000000' }, { name: 'acBGColor', label: 'King Wolf background color - HTML colour code without starting \'#\' e.g. (000000 is black)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: 'fff8cc' }, { name: 'acMemberList', label: 'List of current King Wolf users, separated by commas (and they need to be the CB username exactly)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: 'username' }, { name: 'adText', label: 'Text to put in front of Invited messages (e.g. GU), the text will be put inside square brackets []', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'Invited' }, { name: 'adIcon', label: 'Icon to put in front of Invited members messages', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'smile' }, { name: 'adMinTip', label: 'Minimum tip to become Invited member', type: 'int', minValue: 1, defaultValue: 999 }, { name: 'adAnnounce', label: 'Text to show when someone tips to become a Invited 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 Invited <3 <3' }, { name: 'adRainText', label: 'Text to use for Invited rain lines', type: 'str', minLength: 0, maxLength: 80, required: false, defaultValue: '<3 <3 1244 <3 <3 Invited <3 <3 1244 <3 <3' }, { name: 'adRainCount', label: 'Number of lines of Invited rain', type: 'int', minValue: 1, maxValue: 15, defaultValue: 10 }, { name: 'adTextColor', label: 'Invited text color - HTML colour code without starting \'#\' e.g. (FFFFFF is white)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '000000' }, { name: 'adBGColor', label: 'Invited background color - HTML colour code without starting \'#\' e.g. (000000 is black)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: 'ffefcc' }, { name: 'adMemberList', label: 'List of current Invited users, separated by commas (and they need to be the CB username exactly)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: '' }, { name: 'aeText', label: 'Text to put in front of VIP messages (e.g. GU), the text will be put inside square brackets []', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'VIP' }, { name: 'aeIcon', label: 'Icon to put in front of VIP members messages', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'smile' }, { name: 'aeMinTip', label: 'Minimum tip to become VIP member', type: 'int', minValue: 1, defaultValue: 999 }, { name: 'aeAnnounce', label: 'Text to show when someone tips to become a VIP 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 VIP <3 <3' }, { name: 'aeRainText', label: 'Text to use for VIP rain lines', type: 'str', minLength: 0, maxLength: 80, required: false, defaultValue: '<3 <3 2444 <3 <3 VIP <3 <3 2444 <3 <3' }, { name: 'aeRainCount', label: 'Number of lines of VIP rain', type: 'int', minValue: 1, maxValue: 15, defaultValue: 10 }, { name: 'aeTextColor', label: 'VIP text color - HTML colour code without starting \'#\' e.g. (FFFFFF is white)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '000000' }, { name: 'aeBGColor', label: 'VIP background color - HTML colour code without starting \'#\' e.g. (000000 is black)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: 'ffefcc' }, { name: 'aeMemberList', label: 'List of current VIP users, separated by commas (and they need to be the CB username exactly)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: '' }, { name: 'afText', label: 'Text to put in front of Custom One messages (e.g. GU), the text will be put inside square brackets []', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'Custom One' }, { name: 'afIcon', label: 'Icon to put in front of Custom One members messages', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'smile' }, { name: 'afTextColor', label: 'Custom One text color - HTML colour code without starting \'#\' e.g. (FFFFFF is white)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '000000' }, { name: 'afBGColor', label: 'Custom One background color - HTML colour code without starting \'#\' e.g. (000000 is black)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: 'ffefcc' }, { name: 'afMemberList', label: 'List of current Custom One users, separated by commas (and they need to be the CB username exactly)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: '' }, { name: 'agText', label: 'Text to put in front of Custom Two messages (e.g. GU), the text will be put inside square brackets []', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'Custom Two' }, { name: 'agIcon', label: 'Icon to put in front of Custom Two members messages', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'smile' }, { name: 'agTextColor', label: 'Custom Two text color - HTML colour code without starting \'#\' e.g. (FFFFFF is white)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '000000' }, { name: 'agBGColor', label: 'Custom Two background color - HTML colour code without starting \'#\' e.g. (000000 is black)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: 'ffefcc' }, { name: 'agMemberList', label: 'List of current Custom Two users, separated by commas (and they need to be the CB username exactly)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: '' }, { name: 'ahText', label: 'Text to put in front of Custom Three messages (e.g. GU), the text will be put inside square brackets []', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'Custom Three' }, { name: 'ahIcon', label: 'Icon to put in front of Custom Three members messages', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'smile' }, { name: 'ahTextColor', label: 'Custom Three text color - HTML colour code without starting \'#\' e.g. (FFFFFF is white)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '000000' }, { name: 'ahBGColor', label: 'Custom Three background color - HTML colour code without starting \'#\' e.g. (000000 is black)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: 'ffefcc' }, { name: 'ahMemberList', label: 'List of current Custom Three users, separated by commas (and they need to be the CB username exactly)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: '' }, { name: 'aiText', label: 'Text to put in front of Custom Four messages (e.g. GU), the text will be put inside square brackets []', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'Custom Four' }, { name: 'aiIcon', label: 'Icon to put in front of Custom Four members messages', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'smile' }, { name: 'aiTextColor', label: 'Custom Four text color - HTML colour code without starting \'#\' e.g. (FFFFFF is white)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '000000' }, { name: 'aiBGColor', label: 'Custom Four background color - HTML colour code without starting \'#\' e.g. (000000 is black)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: 'ffefcc' }, { name: 'aiMemberList', label: 'List of current Custom Four users, separated by commas (and they need to be the CB username exactly)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: '' }, { name: 'ajText', label: 'Text to put in front of Custom Five messages (e.g. GU), the text will be put inside square brackets []', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'Custom Five' }, { name: 'ajIcon', label: 'Icon to put in front of Custom Five members messages', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'smile' }, { name: 'ajTextColor', label: 'Custom Five text color - HTML colour code without starting \'#\' e.g. (FFFFFF is white)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '000000' }, { name: 'ajBGColor', label: 'Custom Five background color - HTML colour code without starting \'#\' e.g. (000000 is black)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: 'ffefcc' }, { name: 'ajMemberList', label: 'List of current Custom Five users, separated by commas (and they need to be the CB username exactly)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: '' }, { name: 'akText', label: 'Text to put in front of Custom Six messages (e.g. GU), the text will be put inside square brackets []', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'Custom Six' }, { name: 'akIcon', label: 'Icon to put in front of Custom six members messages', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'smile' }, { name: 'akTextColor', label: 'Custom Six text color - HTML colour code without starting \'#\' e.g. (FFFFFF is white)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '000000' }, { name: 'akBGColor', label: 'Custom Six background color - HTML colour code without starting \'#\' e.g. (000000 is black)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: 'ffefcc' }, { name: 'akMemberList', label: 'List of current Custom Six users, separated by commas (and they need to be the CB username exactly)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: '' }, { name: 'alText', label: 'Text to put in front of Custom 7 messages (e.g. GU), the text will be put inside square brackets []', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'Custom 7' }, { name: 'alIcon', label: 'Icon to put in front of Custom 7 members messages', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'smile' }, { name: 'alTextColor', label: 'Custom 7 text color - HTML colour code without starting \'#\' e.g. (FFFFFF is white)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '000000' }, { name: 'alBGColor', label: 'Custom 7 background color - HTML colour code without starting \'#\' e.g. (000000 is black)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: 'ffefcc' }, { name: 'alMemberList', label: 'List of current Custom 7 users, separated by commas (and they need to be the CB username exactly)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: '' }, { name: 'amText', label: 'Text to put in front of Custom 8 messages (e.g. GU), the text will be put inside square brackets []', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'Custom 8' }, { name: 'amIcon', label: 'Icon to put in front of Custom 8 members messages', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'smile' }, { name: 'amTextColor', label: 'Custom 8 text color - HTML colour code without starting \'#\' e.g. (FFFFFF is white)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '000000' }, { name: 'amBGColor', label: 'Custom 8 background color - HTML colour code without starting \'#\' e.g. (000000 is black)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: 'ffefcc' }, { name: 'amMemberList', label: 'List of current Custom 8 users, separated by commas (and they need to be the CB username exactly)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: '' }, { name: 'anText', label: 'Text to put in front of Finley Fans messages (e.g. GU), the text will be put inside square brackets []', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'Wolf' }, { name: 'anIcon', label: 'Icon to put in front of Finley Fnas messages', type: 'str', minLength: 0, maxLength: 15, required: false, defaultValue: 'smile' }, { name: 'anTextColor', label: 'Ashley Fans text color - HTML colour code without starting \'#\' e.g. (FFFFFF is white)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: '000000' }, { name: 'anBGColor', label: 'Ashley Fans background color - HTML colour code without starting \'#\' e.g. (000000 is black)', type: 'str', minLength: 0, maxLength: 6, required: false, defaultValue: 'ccfffb' }, { name: 'anMemberList', label: 'List of current Finley Fans, separated by commas (and they need to be the CB username exactly)', type: 'str', minLength: 0, maxLength: 10240, required: false, defaultValue: '' }, { name: 'roomAD', label: 'Room Advertisement here', type: 'str', minLength: 1, maxLength: 2000, required: false, defaultValue: '' }, { name: 'roomADMin', label: 'Number of Minutes for Room Ad', type: 'int', minValue: 1, maxValue: 40, defaultValue: 10 }, { name: 'roomADS', label: 'Second Room Advertisement here', type: 'str', minLength: 1, maxLength: 2000, required: false, defaultValue: '' }, { name: 'roomADSMin', label: 'Number of Minutes for Second Room Ad', type: 'int', minValue: 1, maxValue: 40, defaultValue: 10 }, ]; var aaMembers = {}; var abMembers = {}; var acMembers = {}; var adMembers = {}; var aeMembers = {}; var afMembers = {}; var agMembers = {}; var ahMembers = {}; var aiMembers = {}; var ajMembers = {}; var akMembers = {}; var alMembers = {}; var amMembers = {}; var anMembers = {}; // var CONFIG_AD_MINUTES = 8; // var CONFIG_ADS_MINUTES = 5; // For auto-silencing at least some of token_wh*re_c*nts usernames var twcRegex = /t.?k.?n.?wh.?r.?_c.?nt.?/i; cb.onMessage(function (msg) { // vars for ease of use var u = msg['user']; if ( isAN(u) ) { msg['background'] = '#' + cb.settings.anBGColor; msg['c'] = '#' + cb.settings.anTextColor; msg['m'] = ':' + cb.settings.anIcon + " " + msg['m']; } else if ( isAM(u) ) { msg['background'] = '#' + cb.settings.amBGColor; msg['c'] = '#' + cb.settings.amTextColor; msg['m'] = ':' + cb.settings.amIcon + " " + msg['m']; } else if ( isAL(u) ) { msg['background'] = '#' + cb.settings.alBGColor; msg['c'] = '#' + cb.settings.alTextColor; msg['m'] = ':' + cb.settings.alIcon + " " + msg['m']; } else if ( isAK(u) ) { msg['background'] = '#' + cb.settings.akBGColor; msg['c'] = '#' + cb.settings.akTextColor; msg['m'] = ':' + cb.settings.akIcon + " " + msg['m']; } else if ( isAJ(u) ) { msg['background'] = '#' + cb.settings.ajBGColor; msg['c'] = '#' + cb.settings.ajTextColor; msg['m'] = ':' + cb.settings.ajIcon + " " + msg['m']; } else if ( isAI(u) ) { msg['background'] = '#' + cb.settings.aiBGColor; msg['c'] = '#' + cb.settings.aiTextColor; msg['m'] = ':' + cb.settings.aiIcon + " " + msg['m']; } else if ( isAH(u) ) { msg['background'] = '#' + cb.settings.ahBGColor; msg['c'] = '#' + cb.settings.ahTextColor; msg['m'] = ':' + cb.settings.ahIcon + " " + msg['m']; } else if ( isAG(u) ) { msg['background'] = '#' + cb.settings.agBGColor; msg['c'] = '#' + cb.settings.agTextColor; msg['m'] = ':' + cb.settings.agIcon + " " + msg['m']; } else if ( isAF(u) ) { msg['background'] = '#' + cb.settings.afBGColor; msg['c'] = '#' + cb.settings.afTextColor; msg['m'] = ':' + cb.settings.afIcon + " " + msg['m']; } else if ( isAE(u) ) { msg['background'] = '#' + cb.settings.aeBGColor; msg['c'] = '#' + cb.settings.aeTextColor; msg['m'] = ':' + cb.settings.aeIcon + " " + msg['m']; } else if ( isAD(u) ) { msg['background'] = '#' + cb.settings.adBGColor; msg['c'] = '#' + cb.settings.adTextColor; msg['m'] = ':' + cb.settings.adIcon + " " + msg['m']; } else if ( isAC(u) ) { msg['background'] = '#' + cb.settings.acBGColor; msg['c'] = '#' + cb.settings.acTextColor; msg['m'] = ':' + cb.settings.acIcon + " " + msg['m']; } else if ( isAB(u) ) { msg['background'] = '#' + cb.settings.abBGColor; msg['c'] = '#' + cb.settings.abTextColor; msg['m'] = ':' + cb.settings.abIcon + " " + msg['m']; } else if ( isAA(u) ) { msg['background'] = '#' + cb.settings.aaBGColor; msg['c'] = '#' + cb.settings.aaTextColor; msg['m'] = ':' + cb.settings.aaIcon + " " + 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.aaMinTip) { // Make Unicornland and announce it var announcement = cb.settings.aaAnnounce.replace("MEMBERNAME", tip['from_user']); makeAA(tip['from_user']); for (var i = 0; i < cb.settings.aaRainCount; i++) { cb.sendNotice(cb.settings.aaRainText); } cb.sendNotice(announcement); } }); function ad() { cb.sendNotice(cb.settings.roomAD); cb.setTimeout(follow, (cb.settings.roomADMin * 60000)); } function ads() { cb.sendNotice(cb.settings.roomADS); cb.setTimeout(twitter, (cb.settings.roomADSMin * 60000)); } function init() { cb.sendNotice(cb.settings.roomAD); cb.setTimeout(ad, (cb.settings.roomADMin * 60000)); cb.sendNotice(cb.settings.roomADS); cb.setTimeout(ads, (cb.settings.roomADSMin * 60000)); } init(); function isAA(username) { return (username in aaMembers); } function isAB(username) { return (username in abMembers); } function isAC(username) { return (username in acMembers); } function isAD(username) { return (username in adMembers); } function isAE(username) { return (username in aeMembers); } function isAF(username) { return (username in afMembers); } function isAG(username) { return (username in agMembers); } function isAH(username) { return (username in ahMembers); } function isAI(username) { return (username in aiMembers); } function isAJ(username) { return (username in ajMembers); } function isAK(username) { return (username in akMembers); } function isAL(username) { return (username in alMembers); } function isAM(username) { return (username in amMembers); } function isAN(username) { return (username in anMembers); } function makeAA(username) { aaMembers[username] = {'u': 1}; } function makeAB(username) { abMembers[username] = {'u': 1}; } function makeAC(username) { acMembers[username] = {'u': 1}; } function makeAD(username) { adMembers[username] = {'u': 1}; } function makeAE(username) { aeMembers[username] = {'u': 1}; } function makeAF(username) { afMembers[username] = {'u': 1}; } function makeAG(username) { agMembers[username] = {'u': 1}; } function makeAH(username) { ahMembers[username] = {'u': 1}; } function makeAI(username) { aiMembers[username] = {'u': 1}; } function makeAJ(username) { ajMembers[username] = {'u': 1}; } function makeAK(username) { akMembers[username] = {'u': 1}; } function makeAL(username) { alMembers[username] = {'u': 1}; } function makeAM(username) { amMembers[username] = {'u': 1}; } function makeAN(username) { anMembers[username] = {'u': 1}; } function grabSettings() { cb.log("starting grabbing settings"); // Get Unicornland members if (cb.settings.aaMemberList) { var aaMemberSettings = cb.settings.aaMemberList.split(','); for (var ii = 0; ii < aaMemberSettings.length; ii++) { var clean = aaMemberSettings[ii].toLowerCase().replace(/ /g,""); aaMembers[clean] = {'u': 1}; } } // Get Queen Unicorns if (cb.settings.abMemberList) { var abMemberSettings = cb.settings.abMemberList.split(','); for (var ii = 0; ii < abMemberSettings.length; ii++) { var clean = abMemberSettings[ii].toLowerCase().replace(/ /g,""); abMembers[clean] = {'u': 1}; } } // Get Golden Unicorns if (cb.settings.acMemberList) { var acMemberSettings = cb.settings.acMemberList.split(','); for (var ii = 0; ii < acMemberSettings.length; ii++) { var clean = acMemberSettings[ii].toLowerCase().replace(/ /g,""); acMembers[clean] = {'u': 1}; } } // Get Invited Members if (cb.settings.adMemberList) { var adMemberSettings = cb.settings.adMemberList.split(','); for (var ii = 0; ii < adMemberSettings.length; ii++) { var clean = adMemberSettings[ii].toLowerCase().replace(/ /g,""); adMembers[clean] = {'u': 1}; } } // Get VIP Members if (cb.settings.aeMemberList) { var aeMemberSettings = cb.settings.aeMemberList.split(','); for (var ii = 0; ii < aeMemberSettings.length; ii++) { var clean = aeMemberSettings[ii].toLowerCase().replace(/ /g,""); aeMembers[clean] = {'u': 1}; } } // Get Custom 1 if (cb.settings.afMemberList) { var afMemberSettings = cb.settings.afMemberList.split(','); for (var ii = 0; ii < afMemberSettings.length; ii++) { var clean = afMemberSettings[ii].toLowerCase().replace(/ /g,""); afMembers[clean] = {'u': 1}; } } // Get Custom 2 if (cb.settings.agMemberList) { var agMemberSettings = cb.settings.agMemberList.split(','); for (var ii = 0; ii < agMemberSettings.length; ii++) { var clean = agMemberSettings[ii].toLowerCase().replace(/ /g,""); agMembers[clean] = {'u': 1}; } } // Get Custom 3 if (cb.settings.ahMemberList) { var ahMemberSettings = cb.settings.ahMemberList.split(','); for (var ii = 0; ii < ahMemberSettings.length; ii++) { var clean = ahMemberSettings[ii].toLowerCase().replace(/ /g,""); ahMembers[clean] = {'u': 1}; } } // Get Custom 4 if (cb.settings.aiMemberList) { var aiMemberSettings = cb.settings.aiMemberList.split(','); for (var ii = 0; ii < aiMemberSettings.length; ii++) { var clean = aiMemberSettings[ii].toLowerCase().replace(/ /g,""); aiMembers[clean] = {'u': 1}; } } // Get Custom 5 if (cb.settings.ajMemberList) { var ajMemberSettings = cb.settings.ajMemberList.split(','); for (var ii = 0; ii < ajMemberSettings.length; ii++) { var clean = ajMemberSettings[ii].toLowerCase().replace(/ /g,""); ajMembers[clean] = {'u': 1}; } } // Get Custom 6 if (cb.settings.akMemberList) { var akMemberSettings = cb.settings.akMemberList.split(','); for (var ii = 0; ii < akMemberSettings.length; ii++) { var clean = akMemberSettings[ii].toLowerCase().replace(/ /g,""); akMembers[clean] = {'u': 1}; } } // Get Custom 7 if (cb.settings.alMemberList) { var alMemberSettings = cb.settings.alMemberList.split(','); for (var ii = 0; ii < alMemberSettings.length; ii++) { var clean = alMemberSettings[ii].toLowerCase().replace(/ /g,""); alMembers[clean] = {'u': 1}; } } // Get Custom 8 if (cb.settings.amMemberList) { var amMemberSettings = cb.settings.amMemberList.split(','); for (var ii = 0; ii < amMemberSettings.length; ii++) { var clean = amMemberSettings[ii].toLowerCase().replace(/ /g,""); amMembers[clean] = {'u': 1}; } } // Get Custom 9 if (cb.settings.anMemberList) { var anMemberSettings = cb.settings.anMemberList.split(','); for (var ii = 0; ii < anMemberSettings.length; ii++) { var clean = anMemberSettings[ii].toLowerCase().replace(/ /g,""); anMembers[clean] = {'u': 1}; } } cb.log("finished grabbing settings"); } grabSettings();
© Copyright Chaturbate 2011- 2026. All Rights Reserved.