Bots Home
|
Create an App
Clara1
Author:
andreibaboi
Description
Source Code
Launch Bot
Current Users
Created by:
Andreibaboi
var userdata = {}; var myusername = ''; cb.onEnter(function(user) { cb.chatNotice('Welcome ' + user['user'] + '!'); myusername = user['user']; cb.chatNotice(myusername); }); var total_tipped = 0; cb.onTip(function (tip) { total_tipped += parseInt(tip['amount']) cb.chatNotice("Total Tipped: " + total_tipped); cb.chatNotice(tip); cb.chatNotice(myusername); if(myusername == tip['from_user']) alert('thanks '+myusername); });
© Copyright Chaturbate 2011- 2024. All Rights Reserved.