Bots Home
|
Create an App
j
Author:
cryptojunkie
Description
Source Code
Launch Bot
Current Users
Created by:
Cryptojunkie
cb.settings_choices = [ {name:'emoticons', type:'str', minLength:1, maxLength:500, defaultValue:":ivy-goy-final", label: "Emoticons to Send, separated by a comma (ex :emoa,:asdasd,:emob"}, {name:'someSpec', type:'choice', choice1:'yes', choice2:'no', defaultValue: 'no', label: "Something special?"} ]; cb.sendNotice(cb.settings['someSpec']); var somethingSpecial = ["Hey, you're beautiful.", "Sexy as always.", "Never forget how amazing you are.", "This is pretty corny, but who cares.", "Damn son, where'd you find that ass?"]; function sendEmoticon() { // Get emoticon to send var emoArr = cb.settings['emoticons'].split(","); var emoticon = emoArr[Math.floor(Math.random() * emoArr.length + 1) - 1]; // Send it on through to the other side var time = Math.floor(Math.random() * (300000 - 180000) + 180000); cb.sendNotice(emoticon); cb.setTimeout(sendEmoticon, time); } function sendSpecialMessage() { var time = Math.floor(Math.random() * (120000 - 60000) + 60000); var ss = somethingSpecial[Math.floor(Math.random() * somethingSpecial.length + 1) - 1]; cb.sendNotice('Something Special\n' + ss, cb.room_slug, '#C8A2C8', "", "bold"); cb.setTimeout(sendSpecialMessage, time); } cb.setTimeout(sendEmoticon, 10000); if (cb.settings['someSpec'] == 'yes') { cb.setTimeout(sendSpecialMessage, 5000); }
© Copyright Chaturbate 2011- 2024. All Rights Reserved.