Bots Home
|
Create an App
Spanks time!
Author:
ashleyvex
Description
Source Code
Launch Bot
Current Users
Created by:
Ashleyvex
// Title: SPANKS // Author: AshleyVex (vexashley@gmail.com) // Version: 1.0 (01/08/2013) // Description: var colorChoices = ['red', 'green', 'orange', 'blue', 'purple', 'pink']; cb.settings_choices = [ {name: 'min_tokens', type: 'int', minValue: 44, maxValue: 44, defaultValue: 44, label: "Minimum Tips to make it rain"}, {name: 'rain_amount', type: 'int', minValue: 1, maxValue: 100, defaultValue: 20, label: "Number of lines you want it to rain"}, {name: 'rain_color', type: 'choice', choice1:'Randomize Colors', choice2:'red', choice3:'green', choice4:'orange', choice5:'blue', choice6:'purple', choice7:'pink', defaultValue: 'Randomize Colors', label: 'Color of Rain (SOON)'} ]; cb.onTip(function(tip) { if(parseInt(tip['amount']) === 44) { globalMessage('spanks '+ tip['from_user'] +' spanks', ''); for(i=0;i<cb.settings.rain_amount;i++) { var dollars = Math.floor((Math.random()*5)+1), color = cb.settings.rain_color, msg = ' spanks time '; if(color == 'Randomize Colors') { color = colorChoices[Math.floor((Math.random()*6)+1)]; } while(dollars) { msg += ' spanks time '; dollars--; } globalMessage(msg, color); } globalMessage(' spanks from '+ tip['from_user'] + ' spanks time ', ''); } }); function globalMessage(message, color) { //Unfortunately color isn't supported yet. Soon! cb.chatNotice(message); }
© Copyright Chaturbate 2011- 2026. All Rights Reserved.