Bots Home
|
Create an App
douxmsg
Author:
arielmh
Description
Source Code
Launch Bot
Current Users
Created by:
Arielmh
cb.settings_choices = [ { name: 'delay', type: 'int', minValue: 1, maxValue: 99, defaultValue: 3, label: 'delay to print a gif', required: true } ]; let gifDelay = cb.settings['delay'] * 60000; let gifs = [ ":hearts", ":douxjoin", ":tipsshow", ":beau", ":bearkisses", ":beautifullady", ":dancebear-03", ":dance1", ":tipifyoulike", ":youarewelcome", ":welcometippers", ":welcomew", ":welcomeeveryone1", ":WELCOMEGUYSNATSAN", ":hicat", ":hiiii8898", ":hello55", ":spank00", ":yourtips-gr", ":youarebeautiful", ":hearts_bubbling_small", ":youareloved99", ":missyouabby", ":youaresocute_k2", ":menuactive20", ":privateOpen", ":chaturbate111", ":dontbeshyguysjoinin", ":newusersfollow", ":followtips", ":freesignup", ":fOLLOW", ":iloveyou4125", ":crazyL", ":noanal1", ":callmelater", ":workingcat", ":foryou", ":requestintip", ":tipnotes99", ":respecther", ":omgomgomg", ":omgblue", ":hibye2", ":douxangry", ":douxahegao", ":sleepp", ":happykittydance", ":personality1", ":douxsupreme", ":doux1", ":doux2", ":doux3", ":doux4", ":doux5", ":doux6", ":doux7", ":doux8", ":doux9", ":doux10", ":doux11", ":doux12", ":douxrico", ":douxcarajo" ]; let tips = {}; function randomGif() { let num = Math.floor(Math.random() * gifs.length); cb.sendNotice(gifs[num]); //cb.sendNotice("delay "+ gifDelay); cb.setTimeout(randomGif, gifDelay); } cb.setTimeout(randomGif, gifDelay); cb.onFollow(user => { cb.sendNotice('thanks for following '+user['user'] + ' :hearts', '', '#fc62c9'); }); cb.onUnFollow(user => { cb.sendNotice('are you leaving me '+user['user'] + '? :cry', '', '#2eb9e1'); }); cb.onEnter(function(user) { cb.sendNotice('@' + user['user'] + ' Say hi!', user['user']); }); cb.onTip(function(tip){ cb.sendNotice('tip'); if (tips[tip['from_user']] !== undefined){ tips[tip['from_user']] += parseInt(tip['amount']); cb.sendNotice('1'+tips[tip['from_user']]); }else{ tips[tip['from_user']] = parseInt(tip['amount']); cb.sendNotice('2'+tips[tip['from_user']]); } cb.sendNotice(''+tip['from_user']) if(( parseInt(tips[tip['from_user']]) - 100) >= 0){ tips[tip['from_user']] = 0; cb.sendNotice(':pepelepew '); tips[tip['from_user']] = 0; } });
© Copyright Chaturbate 2011- 2024. All Rights Reserved.