Bots Home
|
Create an App
Kaypurrrs has a big bot ♥
Author:
kaypurrrs
Description
Source Code
Launch Bot
Current Users
Created by:
Kaypurrrs
// CB app settings cb.settings_choices = [ { name: 'enableMsgColour', label: 'Alter message text colour of club members?', type: 'choice', choice1: 'Yes', choice2: 'No', defaultValue: 'Yes' },{ name: 'enableClubBadge', label: 'Prepend club badge text to member messages?', type: 'choice', choice1: 'Yes', choice2: 'No', defaultValue: 'Yes' },{ name: 'hopClubBadge', label: 'House of Purrs badge', type: 'str', minLength: 1, maxLength: 20, required: true, defaultValue: 'Purrrs' },{ name: 'hopColor',label: 'House of Purrs badge colour text/background', type: 'str', minLength: 13, maxLength: 13, required: true, defaultValue: '070317/8F4DA8' },{ name: 'hopTipRequired', label: 'House of Purrrs Tip Value', type: 'int', minValue: 1, maxValue: 8000, defaultValue: 23 },{ name: 'hopRainText', label: 'Text to use for House of Purrrs rain', type: 'str', minLength: 0, maxLength: 80, required: false, defaultValue: ' - HOUSE OF PURRRS - ' },{ name: 'hopRainCount', label: 'Number of lines of House of Purrrs rain', type: 'int', minValue: 1, maxValue: 3, defaultValue: 3 },{ name: 'hopClubJoinMessage', label: 'House of Purrrs joining message', type: 'str', minLength: 1, maxLength: 200, required: true, defaultValue: 'MEMBERNAME just joined Kays House of Purrrs' },{ name: 'hopMemberList', label: 'House of Purrrs Member List', type: 'str', minLength: 1, maxLength: 2000, required: true, defaultValue: 'bipolabear,sirpurrrs' },{ name: 'adoptedClubBadge', label: 'Adopted Cat badge', type: 'str', minLength: 1, maxLength: 20, required: true, defaultValue: 'Adopted Cat' },{ name: 'adoptedColor', label: 'Adopted Cat badge colour text/background', type: 'str', minLength: 13, maxLength: 13, required: true, defaultValue: '04051C/2B2D8C' },{ name: 'adoptedMemberList', label: 'Adopted Cats Members List', type: 'str', minLength: 1, maxLength: 2000, required: false, defaultValue: 'bipolabear,sirpurrrs' },{ name: 'stText', label: 'Stray Cats Label', type: 'str', minLength: 1, maxLength: 20, required: true, defaultValue: 'Stray Cat' },{ name: 'stColor', label: 'Stray Cats colour text/background', type: 'str', minLength: 13, maxLength: 13, required: true, defaultValue: '04051C/2B2D8C' },{ name: 'stTipRequired', label: 'Stray Cats Tip Value', type: 'int', minValue: 0, maxValue: 8000, defaultValue: 1234 },{ name: 'stRainText', label: 'Text to use for Stray Cats rain', type: 'str', minLength: 0, maxLength: 80, required: false, defaultValue: ' - Stray Cat - ' },{ name: 'stRainCount', label: 'Number of lines of Stray Cats rain', type: 'int', minValue: 1, maxValue: 30, defaultValue: 3 },{ name: 'stJoinMessage', label: 'Stray Cats joining message', type: 'str', minLength: 1, maxLength: 200, required: true, defaultValue: 'MEMBERNAME just became a Stray Cat' },{ name: 'stMemberList', label: 'Stray Cats Members List', type: 'str', minLength: 1, maxLength: 2000, required: false, defaultValue: '' },{ name: 'toText', label: 'Tom Cats Label', type: 'str', minLength: 1, maxLength: 20, required: true, defaultValue: 'Tom Cat' },{ name: 'toColor', label: 'Tom Cats colour text/background', type: 'str', minLength: 13, maxLength: 13, required: true, defaultValue: '04051C/2B2D8C' },{ name: 'toTipRequired', label: 'Tom Cats Tip Value', type: 'int', minValue: 0, maxValue: 8000, defaultValue: 2014 },{ name: 'toRainText', label: 'Text to use for Tom Cats rain', type: 'str', minLength: 0, maxLength: 80, required: false, defaultValue: ' - Tom Cat - ' },{ name: 'toRainCount', label: 'Number of lines of Tom Cats rain', type: 'int', minValue: 1, maxValue: 30, defaultValue: 3 },{ name: 'toJoinMessage', label: 'Tom Cats joining message', type: 'str', minLength: 1, maxLength: 200, required: true, defaultValue: 'MEMBERNAME just became a Tom Cat' },{ name: 'toMemberList', label: 'Tom Cats Members List', type: 'str', minLength: 1, maxLength: 2000, required: false, defaultValue: '' },{ name: 'peText', label: 'Pedigree Cats Label', type: 'str', minLength: 1, maxLength: 20, required: true, defaultValue: 'Pedigree Cat' },{ name: 'peColor', label: 'Pedigree Cats colour text/background', type: 'str', minLength: 13, maxLength: 13, required: true, defaultValue: '04051C/2B2D8C' },{ name: 'peTipRequired', label: 'Pedigree Cats Tip Value', type: 'int', minValue: 0, maxValue: 8000, defaultValue: 3456 },{ name: 'peRainText', label: 'Text to use for Pedigree Cats rain', type: 'str', minLength: 0, maxLength: 80, required: false, defaultValue: ' - Pedigree Cat - ' },{ name: 'peRainCount', label: 'Number of lines of Pedigree Cats rain', type: 'int', minValue: 1, maxValue: 30, defaultValue: 3 },{ name: 'peJoinMessage', label: 'Pedigree Cats joining message', type: 'str', minLength: 1, maxLength: 200, required: true, defaultValue: 'MEMBERNAME just became a Pedigree Cat' },{ name: 'peMemberList', label: 'Pedigree Cats Members List', type: 'str', minLength: 1, maxLength: 2000, required: false, defaultValue: '' },{ name: 'moText', label: 'Monarch Cats Label', type: 'str', minLength: 1, maxLength: 20, required: true, defaultValue: 'Monarch Cat' },{ name: 'moColor', label: 'Monarch Cats colour text/background', type: 'str', minLength: 13, maxLength: 13, required: true, defaultValue: '04051C/2B2D8C' },{ name: 'moTipRequired', label: 'Monarch Cats Tip Value', type: 'int', minValue: 0, maxValue: 8000, defaultValue: 5555 },{ name: 'moRainText', label: 'Text to use for Monarch Cats rain', type: 'str', minLength: 0, maxLength: 80, required: false, defaultValue: ' - Monarch Cat - ' },{ name: 'moRainCount', label: 'Number of lines of Monarch Cats rain', type: 'int', minValue: 1, maxValue: 30, defaultValue: 3 },{ name: 'moJoinMessage', label: 'Monarch Cats joining message', type: 'str', minLength: 1, maxLength: 200, required: true, defaultValue: 'MEMBERNAME just became a Monarch Cat' },{ name: 'moMemberList', label: 'Monarch Cats Members List', type: 'str', minLength: 1, maxLength: 2000, required: false, defaultValue: '' },{ name: 'purrrList', label: 'Cat\'s got your tongue list', type: 'str', minLength: 1, maxLength: 2000, required: false, defaultValue: '' },{ name: 'roomRules', label: 'Rules for room shown when /roomRules is used', type: 'str', minLength: 1, maxLength: 2000, required: false, defaultValue: "1) Be respectful at all times.... 2) No baby/bb/bby... 3) No CAPS........You will be silenced or banned" },{ name: 'vipMemberList', label: 'VIP list', type: 'str', minLength: 1, maxLength: 2000, required: false, defaultValue: '' }, // Room Advert text { name: 'roomADS', label: 'Room Advert Here', type: 'str', minLength: 1, maxLength: 2000, required: false, defaultValue: 'Testing to see if it works' } ]; var hopMemberList = {}; var adoptedMemberList = {}; var purrrList = {}; var vipMemberList = {}; var stMemberList = {}; var toMemberList = {}; var peMemberList = {}; var moMemberList = {}; var CONFIG_ADVERT_MINUTES = 10; var EMOTE_FOLLOW = ' :kayfollow'; var EMOTE_TEAM = ' :followkay'; var CONFIG_TWITTER_MINUTES = 5; cb.onMessage(function (msg) { var u = msg['user']; var m = msg['m']; var isMod = msg['is_mod']; var isFan = msg['in_fanclub']; var isModel = (u == cb.room_slug); var hasTokens = msg['has_tokens']; var hasTipped = msg['tipped_recently']; var isGrey = !(hasTokens || isMod || isModel || isFan); var modsAllowed = true; var exempt = (isModel || isMod); var hopColor = cb.settings.hopColor.match(/[a-z0-9]+/gi); var adoptedColor = cb.settings.adoptedColor.match(/[a-z0-9]+/gi); var stColor = cb.settings.stColor.match(/[a-z0-9]+/gi); var toColor = cb.settings.toColor.match(/[a-z0-9]+/gi); var peColor = cb.settings.peColor.match(/[a-z0-9]+/gi); var moColor = cb.settings.moColor.match(/[a-z0-9]+/gi); if(m[0] == '/'){ // Is a command msg['X-Spam'] = true; if(isModel || (isMod && modsAllowed) ){ // IsModel or Mod var actionArray = m.substr(1).split(' '); if( isModel ){ if( actionArray.length >= 2){ switch(actionArray[0]) { case "addvip": cb.chatNotice('Adding VIP '+actionArray[1]); setVIP(actionArray[1]); break; case "removevip": cb.chatNotice('Removing VIP '+actionArray[1]); unsetVIP(actionArray[1]); break; case "purrrs": cb.chatNotice('Uh oh '+actionArray[1]+', looks like the cat\'s got your tongue!'); setCatHasTounge(actionArray[1],actionArray[2]); break; case "unpurrrs": cb.chatNotice('Kitty got bored of you '+actionArray[1]+', you can have your tongue back!'); unsetCatHasTounge(actionArray[1]); break; default: } }else if( actionArray.length == 1){ switch(actionArray[0].toLowerCase()) { case "showhop": cb.chatNotice('Current House of Purrrs Members', u); var n = ""; for (var user in hopMemberList) { n += "-- "+user+"\n"; } cb.chatNotice(n,u); break; case "showadopted": cb.chatNotice('Current Adopted Members', u); var n = ""; for (var user in adoptedMemberList) { n += "-- "+user+"\n"; } cb.chatNotice(n,u); break; case "showvip": cb.chatNotice('Current VIPs', u); var n = ""; for (var user in vipMemberList) { n += "-- "+user+"\n"; } cb.chatNotice(n,u); break; case "roomrules": msg['X-Spam'] = false; msg['m'] = showRules(); msg['c'] = '#ffffff'; msg['background'] = '#8C1717'; break; case "help": var n = ""; n += "Kaypurrrs Multi Bot Actions\n"; n += "---------------------------\n"; n += "/roomRules: Display the room rules\n"; n += "\n"; n += "/addVIP <membername> : Add VIP\n"; n += "/removeVIP <membername> : Remove VIP\n"; n += "/showVIP: List VIP's\n"; n += "\n"; n += "/purrrs <membername> : Turn on Cat Got Your Tongue\n"; n += "/purrrs <membername> <token_amount> : Turn on Cat Got Your Tongue but allow the user to tip a specified amount to get their tongue back\n"; n += "/unpurrrs <membername> : Turn off Cat Got Your Tongue\n"; cb.chatNotice(n,u); break; default: } } }else{ // Is a mod if( actionArray.length >= 2){ switch(actionArray[0]) { case "purrrs": cb.chatNotice(u+" just purrr'd "+actionArray[1], cb.room_slug); cb.chatNotice('Uh oh '+actionArray[1]+', looks like the cat\'s got your tongue!'); setCatHasTounge(actionArray[1]); break; case "unpurrrs": cb.chatNotice('Kitty got bored of you '+actionArray[1]+', you can have your tongue back!'); unsetCatHasTounge(actionArray[1]); break; default: } }else if( actionArray.length == 1 ){ switch(actionArray[0].toLowerCase()) { case "roomrules": msg['X-Spam'] = false; msg['m'] = showRules(); msg['c'] = '#ffffff'; msg['background'] = '#8C1717'; break; case "help": var n = ""; n += "Kaypurrrs Multi Bot Mod Actions\n"; n += "---------------------------\n"; n += "/roomRules: Display the room rules\n"; n += "\n"; n += "/purrrs <membername> : Turn on Cat Got Your Tongue\n"; n += "/unpurrrs <membername> : Turn off Cat Got Your Tongue\n"; cb.chatNotice(n,u); break; default: } } } } // No else, if its a command and not a model or a mod, do nothing }else{ // Isnt a command so treat is text chat if( isGrey && !isVIP(u) ){ m = stripImages(m); msg['m'] = m; } if( /(E+ *R+ *O* *H+ *O+ *O+ *K+ *U+ *P+|T+ *O+ *P+ *G+ *A+ *M+ *E+ *S+ *C+ *R+ *A+ *C+ *K+|d+ *e+ *a+ *l+ *n+ *e+ *w+ *s+|e+ *r+ *o+ *s+ *b+ *b+|EvaCamSessions|GIRLS4PARTY|NUDE4STRIP|pussy4show|ChaT4FrEE|BEST4CAMS|CAMNAKEDS)/i.test(m) && !exempt ){ cb.chatNotice("You can shove your spam where the sun don't shine!", u); msg['X-Spam'] = true; return msg; } if( m.replace(/[^A-Za-z]/g, "").length > 3 && m.replace(/[^A-Za-z]/g, "").length == m.replace(/[^A-Z]/g, "").length && !exempt ){ cb.chatNotice("There's no need to SHOUT!", u); msg['X-Spam'] = true; } if( /(\w)\1{3,}/gi.test(m) && !exempt){ cb.chatNotice("awww, i guess you must be excited, that's why you are stuttering, right?!", u); msg['X-Spam'] = true; } if( /(\bbb|baby|bby|babay|babe|babz|babes|baaby|babez|babie\b)/i.test(m) && !exempt ){ cb.chatNotice("The name's Kay, not baby!", u); msg['X-Spam'] = true; }else if( /(\bsquirt\b)/i.test(m) && !exempt ){ cb.chatNotice("No Kay does not squirt!", u); msg['X-Spam'] = true; }else if( /(love you)/i.test(m) && !exempt ){ cb.chatNotice("Don't be silly, you don't love me, you don't even know me!", u); msg['X-Spam'] = true; }else if( /((see|watch|view|look at) my cam)/i.test(m) && !exempt ){ cb.chatNotice("No thank you", u); msg['X-Spam'] = true; }else if( /((see|watch|view|look at) my (dick|cock|penis))/i.test(m) && !exempt ){ cb.chatNotice("No thank you", u); msg['X-Spam'] = true; }else if( /((see|watch|view|look at) me (cum))/i.test(m) && !exempt ){ cb.chatNotice("No thank you", u); msg['X-Spam'] = true; }else if( /(show (feet|foot))/i.test(m) && !exempt ){ cb.chatNotice("Your feet are at the end of your legs, just look down", u); msg['X-Spam'] = true; }else if( /(show (pussy))/i.test(m) && !exempt ){ cb.chatNotice("Sorry, Sirrius is busy right now!", u); msg['X-Spam'] = true; }else if( /(nice (pussy))/i.test(m) && !exempt ){ cb.chatNotice("I'm glad you like Sirrius, he's a lovely cat.", u); msg['X-Spam'] = true; }else if( /(show (arse|ass|asshole))/i.test(m) && !exempt ){ cb.chatNotice(u+" is an ass!"); msg['X-Spam'] = true; }else if( /(open (ass|arse|boobs|pussy|feet|foot))/i.test(m) && !exempt ){ cb.chatNotice("May I suggest becoming a surgeon if you want to open body parts!",u); msg['X-Spam'] = true; }else if( /(rasta)/i.test(m) && !exempt ){ cb.chatNotice("Why you gotta bring the Rastafari into this?",u); msg['X-Spam'] = true; }else{ if( catHasTongue(u) ){ msg['m'] = kittyPurrr(m); }else{ if ( isMonarch(u) && isHouseOfPurrrs(u) ) { msg['background'] = '#' + hopColor[1]; msg['c'] = '#' + hopColor[0]; msg['m'] = "[" + cb.settings.moText + " | " + cb.settings.hopClubBadge + "] " + msg['m']; } else if ( isPedigree(u) && isHouseOfPurrrs(u) ) { msg['background'] = '#' + hopColor[1]; msg['c'] = '#' + hopColor[0]; msg['m'] = "[" + cb.settings.peText + " | " + cb.settings.hopClubBadge + "] " + msg['m']; } else if ( isTom(u) && isHouseOfPurrrs(u) ) { msg['background'] = '#' + hopColor[1]; msg['c'] = '#' + hopColor[0]; msg['m'] = "[" + cb.settings.toText + " | " + cb.settings.hopClubBadge + "] " + msg['m']; } else if ( isStray(u) && isHouseOfPurrrs(u) ) { msg['background'] = '#' + hopColor[1]; msg['c'] = '#' + hopColor[0]; msg['m'] = "[" + cb.settings.stText + " | " + cb.settings.hopClubBadge + "] " + msg['m']; } else if ( isAdopted(u) && isHouseOfPurrrs(u) ) { msg['background'] = '#' + hopColor[1]; msg['c'] = '#' + hopColor[0]; msg['m'] = "[" + cb.settings.adoptedClubBadge + " | " + cb.settings.hopClubBadge + "] " + msg['m']; } else if ( isMonarch(u) ) { msg['background'] = '#' + moColor[1]; msg['c'] = '#' + moColor[0]; msg['m'] = "[" + cb.settings.moText + "] " + msg['m']; } else if ( isPedigree(u) ) { msg['background'] = '#' + peColor[1]; msg['c'] = '#' + peColor[0]; msg['m'] = "[" + cb.settings.peText + "] " + msg['m']; } else if ( isTom(u) ) { msg['background'] = '#' + toColor[1]; msg['c'] = '#' + toColor[0]; msg['m'] = "[" + cb.settings.toText + "] " + msg['m']; } else if ( isStray(u) ) { msg['background'] = '#' + stColor[1]; msg['c'] = '#' + stColor[0]; msg['m'] = "[" + cb.settings.stText + "] " + msg['m']; } else if ( isAdopted(u) ) { msg['background'] = '#' + adColor[1]; msg['c'] = '#' + adColor[0]; msg['m'] = "[" + cb.settings.adoptedClubBadge + "] " + msg['m']; } else if ( isHouseOfPurrrs(u) ) { msg['background'] = '#' + hopColor[1]; msg['c'] = '#' + hopColor[0]; msg['m'] = "[" + cb.settings.hopClubBadge + "] " + msg['m']; } else if (isVIP(u)){ msg['in_fanclub'] = true; } } } } return msg; }); cb.onTip(function (tip) { var amountTipped = parseInt(tip['amount']); if (amountTipped == cb.settings.hopTipRequired) { // Make House of Purrrs and announce it var announcement = cb.settings.hopClubJoinMessage.replace("MEMBERNAME", tip['from_user']); setHouseOfPurrrs(tip['from_user']); var n = ""; for (var i = 0; i < cb.settings.hopRainCount; i++) { n += cb.settings.hopRainText+"\n"; } cb.chatNotice(n); cb.chatNotice(announcement); } if (amountTipped == cb.settings.stTipRequired) { // Make Stray and announce it var announcement = cb.settings.stJoinMessage.replace("MEMBERNAME", tip['from_user']); setStray(tip['from_user']); var n = ""; for (var i = 0; i < cb.settings.stRainCount; i++) { n += cb.settings.stRainText+"\n"; } cb.chatNotice(n); cb.chatNotice(announcement); } if (amountTipped == cb.settings.toTipRequired) { // Make Tom and announce it var announcement = cb.settings.toJoinMessage.replace("MEMBERNAME", tip['from_user']); setTom(tip['from_user']); var n = ""; for (var i = 0; i < cb.settings.toRainCount; i++) { n += cb.settings.toRainText+"\n"; } cb.chatNotice(n); cb.chatNotice(announcement); } if (amountTipped == cb.settings.peTipRequired) { // Make Pedigree and announce it var announcement = cb.settings.peJoinMessage.replace("MEMBERNAME", tip['from_user']); setPedigree(tip['from_user']); var n = ""; for (var i = 0; i < cb.settings.peRainCount; i++) { n += cb.settings.peRainText+"\n"; } cb.chatNotice(n); cb.chatNotice(announcement); } if (amountTipped == cb.settings.moTipRequired) { // Make Monarch and announce it var announcement = cb.settings.moJoinMessage.replace("MEMBERNAME", tip['from_user']); setMonarch(tip['from_user']); var n = ""; for (var i = 0; i < cb.settings.moRainCount; i++) { n += cb.settings.moRainText+"\n"; } cb.chatNotice(n); cb.chatNotice(announcement); } var user = tip['from_user']; if( catHasTongue(user) && purrrList[user]["u"] > 0 ){ if( amountTipped >= purrrList[user]["u"] ){ cb.chatNotice("Okay, you are forgiven "+user+", you may have your tongue back."); unsetCatHasTounge(user); }else{ var diff = purrrList[user]["u"] - amountTipped; if( diff > 100 ){ cb.chatNotice("oh "+user+", you're way of the mark there!"); }else if( diff > 50 ){ cb.chatNotice("That's not really much of an apology "+user+", try again!"); }else if( diff > 10 ){ cb.chatNotice("oh no "+user+", you've been naughtier than that, try again!"); }else{ cb.chatNotice("Well "+user+", that's pretty close but not right, try again!"); } } } }); // Adopted Functions function isAdopted(username) { return (username in adoptedMemberList); } function setAdopted(username) { adoptedMemberList[username] = {'u': 1}; } function unsetAdopted(username) { delete adoptedMemberList[username]; } // Stray Functions function isStray(username) { return (username in stMemberList); } function setStray(username) { stMemberList[username] = {'u': 1}; } function unsetStray(username) { delete stMemberList[username]; } // Tom Functions function isTom(username) { return (username in toMemberList); } function setTom(username) { toMemberList[username] = {'u': 1}; } function unsetTom(username) { delete toMemberList[username]; } // Pedigree Functions function isPedigree(username) { return (username in peMemberList); } function setPedigree(username) { peMemberList[username] = {'u': 1}; } function unsetPedigree(username) { delete peMemberList[username]; } // Monarch Functions function isMonarch(username) { return (username in moMemberList); } function setMonarch(username) { moMemberList[username] = {'u': 1}; } function unsetMonarch(username) { delete moMemberList[username]; } // House Of Purrrs Functions function isHouseOfPurrrs(username) { return (username in hopMemberList); } function setHouseOfPurrrs(username) { hopMemberList[username] = {'u': 1}; } function unsetHouseOfPurrrs(username) { delete hopMemberList[username]; } // VIP Functions function isVIP(username) { return (username in vipMemberList); } function setVIP(username) { vipMemberList[username] = {'u': 1}; } function unsetVIP(username) { delete vipMemberList[username]; } // Cat's Got Your Tongue Functions function catHasTongue(username) { return (username in purrrList); } function setCatHasTounge(username, bribe) { if(typeof(bribe)==='undefined'){ bribe = 0; }else{ cb.chatNotice("If you want your tongue back try a token tribute and see if its enough!",username); bribe = parseInt(bribe); } purrrList[username] = {'u': bribe}; } function unsetCatHasTounge(username) { delete purrrList[username]; } function kittyPurrr(m){ var kittySpeak = [ "prr", "purr", "meow" ] var words = m.split(' '); m = ""; for (var i = 0; i < words.length; i++){ var s = Math.floor(Math.random() * kittySpeak.length); m += " "+kittySpeak[s]; } return m.trim(); } function stripImages(m){ var words = m.split(' '); m = ""; for (var i = 0; i < words.length; i++){ if ( /(:[a-z]*)/i.test(words[i]) && words[i].length > 3){ m += "[censpurrred]"+ " "; }else{ m += words[i]+ " "; } } return m.trim(); } function advert() { cb.chatNotice(EMOTE_FOLLOW + EMOTE_TEAM); cb.setTimeout(advert, (CONFIG_ADVERT_MINUTES * 60000)); } function twitter() { cb.chatNotice(cb.settings.roomADS); cb.setTimeout(twitter, (CONFIG_TWITTER_MINUTES * 60000)); } function init() { cb.chatNotice(EMOTE_TEAM + EMOTE_FOLLOW); cb.setTimeout(advert, (CONFIG_ADVERT_MINUTES * 60000)); cb.setTimeout(twitter, (CONFIG_TWITTER_MINUTES * 60000)); } init(); function showRules(){ return "ROOM RULES: "+cb.settings.roomRules; } function grabSettings() { cb.log("starting grabbing settings"); // Get purrrs members if (cb.settings.hopMemberList) { var memberList = cb.settings.hopMemberList.split(','); for (var ii = 0; ii < memberList.length; ii++) { var clean = memberList[ii].toLowerCase().replace(/ /g, ""); hopMemberList[clean] = {'u': 1}; } } // Get Adopted Cats if (cb.settings.adoptedMemberList) { var memberList = cb.settings.adoptedMemberList.split(','); for (var ii = 0; ii < memberList.length; ii++) { var clean = memberList[ii].toLowerCase().replace(/ /g, ""); adoptedMemberList[clean] = {'u': 1}; } } // Get Stray Cats if (cb.settings.stMemberList) { var memberList = cb.settings.stMemberList.split(','); for (var ii = 0; ii < memberList.length; ii++) { var clean = memberList[ii].toLowerCase().replace(/ /g, ""); stMemberList[clean] = {'u': 1}; } } // Get Tom Cats if (cb.settings.toMemberList) { var memberList = cb.settings.toMemberList.split(','); for (var ii = 0; ii < memberList.length; ii++) { var clean = memberList[ii].toLowerCase().replace(/ /g, ""); toMemberList[clean] = {'u': 1}; } } // Get Pedigree Cats if (cb.settings.peMemberList) { var memberList = cb.settings.peMemberList.split(','); for (var ii = 0; ii < memberList.length; ii++) { var clean = memberList[ii].toLowerCase().replace(/ /g, ""); peMemberList[clean] = {'u': 1}; } } // Get Monarch Cats if (cb.settings.moMemberList) { var memberList = cb.settings.moMemberList.split(','); for (var ii = 0; ii < memberList.length; ii++) { var clean = memberList[ii].toLowerCase().replace(/ /g, ""); moMemberList[clean] = {'u': 1}; } } // Get VIP's if (cb.settings.vipMemberList) { var memberList = cb.settings.vipMemberList.split(','); for (var ii = 0; ii < memberList.length; ii++) { var clean = memberList[ii].toLowerCase().replace(/ /g, ""); vipMemberList[clean] = {'u': 1}; } } // Perminantly Purrr'd if (cb.settings.purrrList) { var memberList = cb.settings.purrrList.split(','); for (var ii = 0; ii < memberList.length; ii++) { var clean = memberList[ii].toLowerCase().replace(/ /g, ""); purrrList[clean] = {'u': 1}; } } cb.log("finished grabbing settings"); } grabSettings();
© Copyright Chaturbate 2011- 2026. All Rights Reserved.