Bots Home
|
Create an App
littlebonnie hugs and kisses
Author:
ganja_babe
Description
Source Code
Launch Bot
Current Users
Created by:
Ganja_Babe
/** * App: littlebonnie Hugs and Kisses * Version: 1.0 * Author: ganja_babe * Date: 2018-4-28 */ cb.settings_choices = [ {name: 'min_tokens', type: 'int', minValue: 1, maxValue: 300, defaultValue: 100, label: "Minimum Tips to send hugs and kisses"} ]; var total_tipped = 0; var i; cb.onTip(function (tip) { total_tipped = parseInt(tip['amount']); if(total_tipped >= cb.settings.min_tokens) { cb.sendNotice("$$$ " + tip['from_user'] + " made it rain! $$$", '', '#000000', '#00ff00', 'bolder'); for(i=0;i<cb.settings.rain_amount;i++) { var dollars = Math.ceil(Math.random() * 21); var msg = ''; while(dollars) { msg += "$"; dollars--; } cb.sendNotice(msg, '', '#000000', '#00ff00', 'bolder'); } cb.sendNotice(tip['from_user'] + " tipped " + total_tipped + " for hugs and kisses!", '', '#000000', '#00ff00', 'bolder'); cb.sendNotice(" :mthankss " + tip['from_user'] + " for tipping :pkisses", '', '#FFFFFF', '#ff0000', 'bolder'); cb.log(tip['from_user'] + " Tipped " + total_tipped); } }); function roomNotify() { cb.sendNotice("Tip " + cb.settings.min_tokens + " to send Bonnie hugs and kisses! :hugsk " + ":kissesforyou ", '', '#FFFFFF', '#D4AF37', 'bold'); cb.setTimeout(roomNotify, 600000) } function init() { roomNotify(); } init();
© Copyright Chaturbate 2011- 2024. All Rights Reserved.