Bots Home
|
Create an App
EvaElla's AiO Bot
Author:
dave1983dd2
Description
Source Code
Launch Bot
Current Users
Created by:
Dave1983dd2
var userName = []; var nickName = []; var ind; var nick; var user; var i = 1; var z; var MAXITEMS1 = 15; var pause; var HEART = '\u2665'; // ♥ BDIAMOND = '\u2666'; // ♦ BSTAR = '\u2605'; // ★ var tip_amt = 0; var separator_char = "| "; var msg; var MAXITEMS2 = 20; var tipmenuprice = []; var tipmenuitem= []; var MAXSEP = 9; separators = [ {label:'Hearts',shortcut:':heart2'}, {label:'Glitter',shortcut:':pixelglitter'}, {label:'Flowers',shortcut:':tinyflower2'}, {label:'Bow',shortcut:':bluebow'}, {label:'Hearts2',shortcut:':pixelheart'}, {label:'Smiley',shortcut:':smile'}, {label:'Text Heart',shortcut:HEART}, {label:'Text Diamond',shortcut:BDIAMOND}, {label:'Text Star',shortcut:BSTAR}, {label:'New Line',shortcut:'\n'}, ] cb.settings_choices = [ {name: 'userName[0]', type: 'str', required: false, label: '-- Nicknames -- 1. - Username', defaultValue: 'evaella',}, {name: 'nickName[0]', type: 'str', required: false, label: 'Nickname', defaultValue: 'devil queen',}, {name: 'userName[1]', type: 'str', required: false, label: '2. - Username', defaultValue: '',}, {name: 'nickName[1]', type: 'str', required: false, label: 'Nickname', defaultValue: '',}, {name: 'userName[2]', type: 'str', required: false, label: '3. - Username', defaultValue: '',}, {name: 'nickName[2]', type: 'str', required: false, label: 'Nickname', defaultValue: '',}, {name: 'userName[3]', type: 'str', required: false, label: '4. - Username', defaultValue: '',}, {name: 'nickName[3]', type: 'str', required: false, label: 'Nickname', defaultValue: '',}, {name: 'userName[4]', type: 'str', required: false, label: '5. - Username', defaultValue: '',}, {name: 'nickName[4]', type: 'str', required: false, label: 'Nickname', defaultValue: '',}, {name: 'userName[5]', type: 'str', required: false, label: '6. - sername', defaultValue: '',}, {name: 'nickName[5]', type: 'str', required: false, label: 'Nickname', defaultValue: '',}, {name: 'userName[6]', type: 'str', required: false, label: '7. - Username', defaultValue: '',}, {name: 'nickName[6]', type: 'str', required: false, label: 'Nickname', defaultValue: '',}, {name: 'userName[7]', type: 'str', required: false, label: '8. - Username', defaultValue: '',}, {name: 'nickName[7]', type: 'str', required: false, label: 'Nickname', defaultValue: '',}, {name: 'userName[8]', type: 'str', required: false, label: '9. - Username', defaultValue: '',}, {name: 'nickName[8]', type: 'str', required: false, label: 'Nickname', defaultValue: '',}, {name: 'userName[9]', type: 'str', required: false, label: '10. - Username', defaultValue: '',}, {name: 'nickName[9]', type: 'str', required: false, label: 'Nickname', defaultValue: '',}, // -Rotating Notifiere- {name: 'msgonentry', type: 'choice', choice1: 'yes', choice2: 'no', defaultValue: 'yes', label: "Display Message 1 privately on entry - set to no for busy rooms"}, {name: 'msg1', type: 'str', required: true, label: '-- Rotating Notifiere -- Notice 1 - WellcomeNotice*', defaultValue: 'Welcome at EvaEllas Chatroom',}, {name: 'msg2', type: 'str', required: false, label: 'Notice 2', defaultValue: '[:evasidtwitter] / [:eva3lla]',}, {name: 'msg3', type: 'str', required: false, label: 'Notice 3', defaultValue: '[:pixelglitter] buy lesbo video for only 777 token',}, {name: 'msg4', type: 'str', required: false, label: 'Notice 4', defaultValue: '[:pixelglitter] buy your 20 custom photos for only 270 token',}, {name: 'msg5', type: 'str', required: false, label: 'Notice 5', defaultValue: '[:pixelgliiter] buy your custom video for only 888 token',}, {name: 'msg6', type: 'str', required: false, label: 'Notice 6', defaultValue: '[:pixelgliiter] buy a package: 1 video, 1 lesbo photoset (baywatch ), 1 hallowen lesbo photoset',}, {name: 'msg7', type: 'str', required: false, label: 'Notice 7', defaultValue: '[:pixelgliiter] have a 30 min romantic date for only 1269 token',}, {name: 'msg8', type: 'str', required: false, label: 'Notice 8', defaultValue: '[:pixelgliiter] buy panties (cummy or parfumed) for only 1500 token',}, {name: 'msg9', type: 'str', required: false, label: 'Notice 9', defaultValue: '[:pixelgliiter] buy a surprise package for only 1699 token',}, {name: 'msg10', type: 'str', required: false, label: 'Notice 10', defaultValue: '[:pixelgliiter] be in my bio / be my apple for only 6000',}, {name: 'msg11', type: 'str', required: false, label: 'Notice 11', defaultValue: '[:pixelglitter] contact me: 1000 - whatsapp / 500 - snapchat / 555 - kik',}, {name: 'msg12', type: 'str', required: false, label: 'Notice 12', defaultValue: '[:pixelglitter] Don\'t forget to follow me!!!',}, {name: 'msg13', type: 'str', required: false, label: 'Notice 13', defaultValue: '[:pixelgliiter] Come in my fanclub!!!',}, {name: 'msg14', type: 'str', required: false, label: 'Notice 14', defaultValue: '[:pixelgliiter] If you have tipped 25 or more token, please give me your feedback!!! ',}, {name: 'msg15', type: 'str', required: false, label: 'Notice 15', defaultValue: '',}, {name: 'msgcolor', type: 'str', label: 'Notice color (html code default dark red #9F000F)', defaultValue: '#9F000F'}, {name: 'noti_time', type: 'int', minValue: 1, maxValue: 999, defaultValue: 2, label: 'Delay in minutes between notices being displayed (minimum 1)'}, // Tip Menu {name: 'sepchar', type: 'choice', choice1: 'Vertical Bar', choice2: 'Hearts', choice3:'Glitter',choice4:'Flowers',choice5:'Bow',choice6:'Hearts2',choice7:'Smiley',choice8:'Text Heart', choice9:'Text Diamond', choice10:'Text Star', choice11:'New Line',defaultValue: 'Vertical Bar', label: "Separator character"}, {name:'item1', type:'str', required: false, label:'Item 1 (eg 10--flash tits)', defaultValue: '19--like Eva',}, {name:'item2', type:'str', required: false, label:'Item 2', defaultValue: '30--5 Spanks',}, {name:'item3', type:'str', required: false, label:'Item 3', defaultValue: '49--finger pussy',}, {name:'item4', type:'str', required: false, label:'Item 4', defaultValue: '59--finger ass',}, {name:'item5', type:'str', required: false, label:'Item 5', defaultValue: '60--flash boobs',}, {name:'item6', type:'str', required: false, label:'Item 6', defaultValue: '69--doggystle',}, {name:'item7', type:'str', required: false, label:'Item 7', defaultValue: '70--lotion body',}, {name:'item8', type:'str', required: false, label:'Item 8', defaultValue: '75--flash ass',}, {name:'item9', type:'str', required: false, label:'Item 9', defaultValue: '79--buttplug',}, {name:'item10', type:'str', required: false, label:'Item 10', defaultValue: '90--flash pussy',}, {name:'item11', type:'str', required: false, label:'Item 11', defaultValue: '99-- juggling ball anal',}, {name:'item12', type:'str', required: false, label:'Item 12', defaultValue: '100--cam2cam',}, {name:'item13', type:'str', required: false, label:'Item 13', defaultValue: '101--big dildo pussy / suck',}, {name:'item14', type:'str', required: false, label:'Item 14', defaultValue: '102--anal red dildo',}, {name:'item15', type:'str', required: false, label:'Item 15', defaultValue: '110--deepthroat',}, {name:'item16', type:'str', required: false, label:'Item 16', defaultValue: '150--black dildo fuck / suck',}, {name:'item17', type:'str', required: false, label:'Item 17', defaultValue: '199--double dildo',}, {name:'item18', type:'str', required: false, label:'Item 18', defaultValue: '200--fuck ejakulator dildo',}, {name:'item19', type:'str', required: false, label:'Item 19', defaultValue: '250--put on heels',}, {name:'item20', type:'str', required: false, label:'Item 20', defaultValue: '',}, {name:'noticecolor', type:'str', label:'Notice color (html code default red #FF0000)', defaultValue: '#FF0000'}, {name: 'chat_ad', type:'int', minValue: 1, maxValue: 999, defaultValue: 1, label: 'Delay in minutes between notice being displayed (minimum 1)'} ]; // Nickname userName.push(cb.settings['userName[0]'], cb.settings['userName[1]'], cb.settings['userName[2]'], cb.settings['userName[3]'], cb.settings['userName[4]'], cb.settings['userName[5]'], cb.settings['userName[6]'], cb.settings['userName[7]'], cb.settings['userName[8]'], cb.settings['userName[9]']); nickName.push(cb.settings['nickName[0]'], cb.settings['nickName[1]'], cb.settings['nickName[2]'], cb.settings['nickName[3]'], cb.settings['nickName[4]'], cb.settings['nickName[5]'], cb.settings['nickName[6]'], cb.settings['nickName[7]'], cb.settings['nickName[8]'], cb.settings['nickName[9]']); pause = cb.settings['noti_time'] * 10000 // Nickname function checkName(name) { return name == user; } cb.onMessage(function (msg) { user = msg['user']; if(userName.some(checkName)) { ind = userName.indexOf(msg['user']); nick = nickName[ind]; msg['m'] = "[" + nick + "]: " + msg['m']; return msg; } else { return msg; } }); // Rotating Notifiere cb.onEnter(function(user) { if (cb.settings['msgonentry'] == 'yes') { cb.sendNotice('Welcome ' + user['user'] + '! ' + cb.settings['msg1'],user['user'],'',cb.settings['msgcolor'],'bold'); } }); function notifiere() { var msg; while (cb.settings['msg' + (i + 1)] == 0) { //skip empty messages i++; i %= MAXITEMS1; } msg = cb.settings['msg' + (i + 1)]; i++; i %= MAXITEMS1; cb.sendNotice(msg,'','',cb.settings['msgcolor'],'bold'); cb.setTimeout(notifiere, (cb.settings.noti_time * 60000)); } cb.setTimeout(notifiere, (cb.settings.noti_time * 60000)); // Tip Menu cb.onTip(function (tip) { tip_amt=parseInt(tip['amount']); for (var i = 1; i <= MAXITEMS2; i++) { if (tip_amt == tipmenuprice[i]) { cb.sendNotice(tip['from_user'] + ' tipped for ' + tipmenuitem[i],'','',cb.settings['noticecolor'],'bold'); } } }); function chatAd() { if (msg!='Tip Menu: ') { cb.sendNotice(msg,'','',cb.settings['noticecolor'],'bold'); } cb.setTimeout(chatAd, (cb.settings.chat_ad * 60000)); } cb.setTimeout(chatAd, (cb.settings.chat_ad * 60000)); function init() { for (z=0;z<=MAXSEP-1;z++) { if (cb.settings['sepchar'] == separators[z].label) { separator_char = separators[z].shortcut + ' '; } } msg = 'Tip Menu: '; for (i=1;i<=MAXITEMS2;i++) { var tmp; tmp=cb.settings['item' + i]; if (tmp) { var arr= tmp.split('--'); if (arr[1]===undefined) { cb.sendNotice('Error-You need two dashes to separate the tip amount and menu item for item no '+ i,'','',cb.settings['noticecolor'],'bold'); } else { var amt=parseInt(arr[0]); if (amt>0) { tipmenuprice[i]=amt; tipmenuitem[i]=arr[1]; if (i>=2) { msg += separator_char; } msg += arr[1] + '(' + amt + ') '; } } } } if (msg!= 'Tip Menu: ') { cb.sendNotice(msg,'','',cb.settings['noticecolor'],'bold'); } else { cb.sendNotice('Error-No menu items found','','',cb.settings['noticecolor'],'bold'); } } init();
© Copyright Chaturbate 2011- 2024. All Rights Reserved.