Bots Home
|
Create an App
Hello World Bot
Author:
pussyhunter1001
Description
Source Code
Launch Bot
Current Users
Created by:
Pussyhunter1001
var total_tipped = 0; cb.settings_choices = [ {name: 'welcome', type: 'str', label: 'Welcome Message', defaultValue: 'Hello World'}, {name: 'tipthank', type: 'str', label: 'Thank you message to tipper', defaultValue: 'Thank you so much !'} ]; cb.onEnter(function(user) { cb.sendNotice('Welcome '+user['user']+' '+cb.settings['welcome'],user['user']); //cb.sendNotice('Welcome ' + user['user'] + '! ' + cb.settings['msg1'],user['user'],'',cb.settings['msgcolor'],'bold'); }); cb.onTip(function(tip) { total_tipped += tip['amount'] cb.sendNotice(cb.settings['tipthank']); if(total_tipped >= 25) { cb.sendNotice('Thank you '+tip['from_user']+' for tipping 25 or more, Please rate thumbs up if you haven\'t already and if you are satisfied with the show ',tip['from_user']); } }); function init() { } init();
© Copyright Chaturbate 2011- 2024. All Rights Reserved.