Apps Home
|
Create an App
Testefrerer
Author:
8520
Description
Source Code
Launch App
Current Users
Created by:
8520
/* Enables the Developer Log inside of the Chatroom */ cb.onMessage(function(msg) { cb.log(msg); }); /* When a User Enters the Chatroom, Send a Chat Message */ cb.onEnter(function(user) { cb.chatNotice('Welcome ' + user['user'] + '! Thank you for stopping by my Chaturbate Webcam Broadcast!'); }); /* When a User Leaves the Chatroom, Send a Chat Message */ cb.onLeave(function(user) { cb.chatNotice(user['user'] + 'has left the chatroom.'); }); /* When a User Follows the Broadcaster, Send a Chat Message */ cb.onFollow(user => { cb.chatNotice(user['user'] + ' is now a follower !'); }); /* When a User Joins the Broadcasters FanClub, Send a Chat Message */ cb.onFanclubJoin(user => { cb.chatNotice(user['user'] + ' has joined my fan club!'); }); /* var backgroundImage = '09494a53-af6f-4418-a2a1-2e18ba56b67d'; var tipsReceived = 3545; var highestTip = 'tipDaddy 135'; var lastTipReceived = 'big_tipper 25'; var fontSize = 11; cb.onDrawPanel(function(user) { return { "template": "image_template", "layers": [ {'type': 'image', 'fileID': backgroundImage}, { 'type': 'text', 'text': 'TIPS RECEIVED', 'top': 5, 'left': 61, 'font-size': fontSize, 'color': 'orange', }, { 'type': 'text', 'text': 'HIGHEST TIP', 'top': 29, 'left': 73, 'font-size': fontSize, 'color': 'orange', }, { 'type': 'text', 'text': 'LATEST TIP RECEIVED', 'top': 52, 'left': 28, 'font-size': fontSize, 'color': 'orange', }, { 'type': 'text', 'text': tipsReceived, 'top': 5, 'left': 147, 'font-size': fontSize, 'color': 'white', }, { 'type': 'text', 'text': highestTip, 'top': 29, 'left': 147, 'font-size': fontSize, 'color': 'white', }, { 'type': 'text', 'text': lastTipReceived, 'top': 51, 'left': 147, 'font-size': fontSize, 'color': 'white', }, ], }; }); cb.drawPanel(); */
© Copyright Chaturbate 2011- 2024. All Rights Reserved.