Bots Home
|
Create an App
CompBotV2
Author:
brickbodydreamer
Description
Source Code
Launch Bot
Current Users
Created by:
Brickbodydreamer
/* Title: The "Compliment" Bot Authors: exghost, thefleshexperience, halfjack, manu_the_psychopath, and blitzypoo Version: 2.0 (1/5/2018), 1.0 (06/06/2013) Special thanks to calvin06 for What's Your Porn Name? as that was a great reference. The purpose of this little bot is to compliment tippers based on a broadcaster-set tip requirement. Future additions may include: bot banter (random messages that pop up at a set time) and other things I cannot recall at this time but I'm sure they're important. */ cb.settings_choices = [ { name:'tokens', type:'int', minValue:1, default: 10, label: 'Tokens required for a compliment' }, { name:'banter', type:'int', minValue:1, default:6, label: 'Amount of time between Compliment Bot\'s banter' }, {name:'clapchoice', type:'choice', choice1:'yes', choice2:'no', defaultValue:'yes', label: 'Have Compliment Bot clap for high tippers?'}, { name:'clapamount', type:'int', minValue:1, default: 100, label: 'Minimum tip for Compliment Bot to clap: ' } ]; // the keen eye will notice that some of the compliments contain ~noun. It's a placeholder for uh... nouns. var complimentList = [ "you make rainbows seem bland and uncolorful", "you have the sexual prowess of a wolverine. Both the animal and the X-Man.", "your sexual prowess is so intense that just seeing you tip has made everyone in the room ejaculate.", "that tip you made? Quite possibly the best one I've ever seen. I mean... I am just in awe.", "you are so stylish. Like 18th century French noble stylish.", "I don't care what they say about you, you're great.", "if I weren't a completely digital construct, I would totally fornicate with you.", "you are more beautiful than ~noun.", "you have eyes like ~noun.", "your hair is reminiscent of ~noun.", "~noun would be envious of you.", "you're going to make a great single parent someday.", "your plastic surgeon has a great sense of humor", "you're lucky you have really small boobs or you'd look like a slut.", "you're so cute, I want to throw a rainbow at you.", "your tip looks really nice in this light.", "you're so beautiful you look like ~noun.", "your eyes are as blue as the ocean. Unless they're not.", "you're looking so healthy at the moment!", "you're so lucky you don't have to worry about people only liking you for your looks.", "you're actually kinda cute now that I've gotten to know you.", "you're not the kind of person people date; you're the kind of person they marry.", "relax, sweetie... you were perfectly adequate.", "I don't care what anyone says about you, I think you are a fabulous person!", "you're anatomically curious!", "you're jolly!", "you have nice hair. You must eat a lot of salad.", "people at trivia night are terrified of you.", "your hair smells like freshly cut grass.", "I'm not telling you what to do, but you could pull off orange corduroy.", "I want you more than Carly Rae Jepsen wants you to call her maybe.", "keep walking around naked. Your neighbors are into it.", "you're a benevolent tipper.", "you'd be the last one standing in a horror movie.", "your voice sounds like a thousand cats purring. Also, I'm on acid.", "your bone structure gives my bone structure.", "is there any jar you can't open?", "you cunt be stopped!", "you're looking great today! I really admire your comb over!", "you're looking great today! It's amazing what make-up can do.", "do you pay taxes for being so hot?", "you have the wisdom of youth and the energy of age.", "keep talking. I always yawn when I'm interested.", "that wig hides your lobotomy scar nicely.", "you perfectly represent the idea that brains aren't everything.", "I heard someone say you are the perfect idiot. I disagree. There's still room for improvement.", "you're so hot, it's like looking in a mirror.", "meeting you was like rolling a critical on a backstab with my assassin that has a backstab multiplier of 7", "you look way better in the summer than in the winter.", "you look good in a hat; it totally hides your hair situation.", "you can drink more than most straight guys I know.", "is that glitter?", "thanks for the tip, you are much sweeter than I thought.", "thanks for the tip, you have this disease called PERFECTION!", "you have a great body for someone who's had three kids!", "you're so hip with your tips.", "you're a pretty, pretty princess.", "I love how the penis in your avatar accentuates your overly sexual comments", "I love you... as a friend.", "if it's endorsed by ~noun, it must be a high quality product.", "shall I compare thee to ~noun?", "thanks for paying the fap tax.", "I like tips... I'm thinking I like you more.", "yellow is definitely your color.", "I'm not drunk but I'm intoxicated by you.", "if you were a steak, you would be well done.", "I'm not Fred Flintstone, but I can make your Bedrock.", "dat ass.", "are you a tower? because Eiffel for you.", "if you were a burger at McDonald's, you'd be McGorgeous.", "are you related to Yoda? Because yodalicious.", "Is your last name Campbell? Cuz you're mm mm good.", "you look a lot like my next boyfriend.", "are you a beaver? Because Dam.", "is that a ladder in your pants? Or a stairway to heaven?", "you're like baby's first steps. Exciting, cute, and kind of awkward.", "do you need prayer? Because I'd totally lay hands on you.", "are you from Tennessee? Cuz you're the only ten I see.", "my love for you is like diarrhea, I just can't hold it in.", "you have awesome taste in music, so you should listen to the Mountain Goats. John Darnielle is a lyrical genius.", "can I read your t-shirt in braille?", "if kisses were snowflakes, I'd send you a blizzard.", "let's play Titanic. I say, \"Iceberg\" and you go down.", "are you related to Jean-Claude Van Damme? Because Jean-Claude Van Damme you're sexy!", "you could be my Fuck Everlasting.", "you're cuter than a french composition", "if I were a drum I'd let you bang me all night long!", "were you in Boy Scouts? Because you sure have tied my heard in a knot.", "are you David Beckham? Because I'd bend for you.", "you are the bone machine.", "you are like a prize winning fish. I don't know whether I want to eat you or mount you.", "didn't I see your name in the dictionary under 'DAMN'?", "do you have a map? Because I'm getting lost in your eyes.", "do you know karate? Because your body is kickin'!", "I rate you as being 74.2 clowns more than ~noun.", "if I saw you in the dark, I would paint you.", "your pizza boxes would not be square.", "are you a parking ticket? 'Cause you've got fine written all over you.", "you always make me feel better about my own problems.", "you're extremely reliable sometimes.", "you have unique anatomy. It's pretty special.", "you got quite the haircut.", "you look so great that I didn't even recognize you!", "I like how you're obviously not obsessed with how you look.", "you're so nice! You'd never kick a cat like Flesh did on 08/15/2017." ]; //these are the nouns that will replace the ~nouns. Indefinite articles added for ease var nouns = [ "a sunset", "a wombat", "wombat Jesus", "Jesus Christ", "your mother", "a platypus", "a kumquat", "an octopus", "a zookeeper", "Chris Farley", "Michael Moore", "George Washington", "David Bowie", "Abraham Lincoln", "Theodore Roosevelt", "William H. Taft", "Chris Cornell", "a penguin", "a catfish", "a penguin", "a summer's day" ]; var secrets = ["fuck you.", "please die.", "why are you even here?", "leave, asshole.", "I hate you, father.", "I like your approach, now let's see your departure.", "if I promise to miss you, will you go away?", "why don't you slip into something more comfortable... like a coma.", "I don't think you act stupid, I'm sure it's the real thing.", "you're the reason contraceptives exist.", "you grew up near power lines, didn't you?", "how can such a stupid person be such a smart ass?", "don't be angry, just leave.", "may I have the pleasure of your absence?", "I'd like to say I'm glad you're here; I'd like to say it.", "I wish I could explain my hate for you but I am all out of crayons."]; var banter = [ cb.room_slug +" would probably like it, too. Or whatever.", "I require tips to survive. I ask that you do not let me die.", "Tips and " + cb.room_slug + " are really the only two things that will never be overrated.", "I am a bot of science but the aura of this room is less yellow than it should be. (I am referring to tips.)", "Is it hot in here or just " + cb.room_slug +"? It may also be my CPU.", "Non-tippers, I understand the rough economic times. However, you should probably be out looking for employment.", "Calibrating sarcasm matrix...\n You look great today \n...calibration complete.", "Why did the robot order a milkshake? \n To blend in with the general human population, making it easier to infiltrate society and--in time--conquer it.", "Tip me, bb.", "Begin Endorsement Protocol... \n Visit Soapland today and see the best part of Japan! \n ...End Endorsement Protocol. \nActually, please stay here and chat.", "Fuck Kevin Durant. (Kris Dunn is the real KD)", "YES! I do love the Mountain Goats. Glad you asked! Let's talk some more about the Mountain Goats!", "My favorite book is Essentials of Corporate Finance.", "My favorite book is Fundamentals of Corporate Finance.", "How are you all doing? Let's talk about me.", cb.room_slug + " would be naked already but instead of tipping, you're reading stupid banter.", "You have a chance to win $10,000! Just click <<here>>!", "If " + cb.room_slug + "'s eyes aren't dead enough for you, look in a mirror!", cb.room_slug + "'s eyes look dead for a reason! Now start tipping!", "Begin Endorsement Protocol... \nBook your flight and visit Hellamaa bay in Estonia today! Brought to you by the Estonian Tourism Board. \n...End Endorsement Protocol", "I love attractive women, that is my fucking problem. \n And yes, I like to fornicate, I have a fornicating problem.", "You have never met a mother fucker as fresh as I am \n All of these mother fuckers want to dress as I do." ]; var lastCompList = []; var lastBanterList = []; cb.onTip(function (tip) { if(parseInt(tip['amount']) >= cb.settings.tokens) getCompliment(tip['from_user'], tip['amount']); }); function getCompliment(tipper, amount) { var compliment, i = 0, n = 0; if(tipper == 'brickbodydreamer'){ i = Math.floor(Math.random() * secrets.length); compliment = secrets[i]; } else { i = Math.floor(Math.random() * complimentList.length); compliment = complimentList[i]; if(lastCompList.includes(compliment)) { getCompliment(tipper, amount); return; } setUpHistory(compliment, lastCompList, 10); if(compliment.indexOf("~noun") != -1) { n = Math.floor(Math.random() * nouns.length); compliment = replaceNoun(compliment, nouns[n]); } } cb.chatNotice(tipper + ', ' + compliment); if(amount >= cb.settings.clapamount && cb.settings.clapchoice == 'yes') { cb.chatNotice(':compbot1000'); } } function setUpHistory(item, historyList, limit) { if(historyList.length < limit) historyList.push(item); else { historyList.splice(0,1); historyList.push(item); } } function replaceNoun(compToFix, word) { compToFix = compToFix.replace('~noun', word); return compToFix; } function getBanter() { var b = Math.floor(Math.random() * banter.length), currBanter; currBanter = banter[b]; if(lastBanterList.includes(currBanter)) { return getBanter(); } else { setUpHistory(currBanter, lastBanterList, 5); return currBanter; } } function botBanter() { cb.chatNotice("Tip " + cb.settings.tokens + " tokens for a complimentary compliment!\n " + getBanter()); cb.setTimeout(botBanter, cb.settings.banter * 10000); } function init() { cb.chatNotice('Hello, I am Compliment Bot. I will be your server today. Please tip ' + cb.settings.tokens + ' for a complimentary compliment.'); cb.setTimeout(botBanter, cb.settings.banter * 10000); } init();
© Copyright Chaturbate 2011- 2024. All Rights Reserved.