Bots Home
|
Create an App
Spanks (For Thor)
Author:
thor_almighty
Description
Source Code
Launch Bot
Current Users
Created by:
Thor_Almighty
// Title: SPANKS (for Thor) // Author: Iamthor (modified from AshleyVex [vexashley@gmail.com]) // Version: 1.0 (06/05/2013) // Description: var colorChoices = ['red', 'green', 'orange', 'blue', 'purple', 'pink']; cb.settings_choices = [ {name: 'min_tokens', type: 'int', minValue: 1, maxValue: 10, defaultValue: 10, label: "Minimum Tips to make it rain"}, {name: 'rain_amount', type: 'int', minValue: 1, maxValue: 500, 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']) === 10) { 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.