Apps Home
|
Create an App
DanielFs7
Author:
danielhotmed
Description
Source Code
Launch App
Current Users
Created by:
Danielhotmed
cb.onBroadcastStart(user => { cb.chatNotice(user['user'] + ' started broadcasting!'); }); cb.onBroadcastStop(user => { cb.chatNotice(user['user'] + ' stopped broadcasting!'); }); cb.onEnter(function(user) { cb.chatNotice('Welcome ' + user['user']); }); cb.onFollow(user => { cb.chatNotice(user['user'] + ' is my new follower!'); }); cb.onMediaPurchase((user, media) => { cb.chatNotice(`${user.user} has purchased media ${media.name}`); }); cb.onTip(function (tip) { var total_tipped = 0; total_tipped += parseInt(tip['amount']) cb.chatNotice("Total Tipped: " + total_tipped); cb.chatNotice(tip); }); cb.onUnFollow(user => { cb.chatNotice(user['user'] + ' has stopped following!'); }); function output(message) { cb.log(message); } cb.onMessage(function (msg) { msg['background'] = '#9F9'; cb.log(msg); return msg; });
© Copyright Chaturbate 2011- 2024. All Rights Reserved.