Apps Home
|
My Uploads
|
Create an App
shack_test
Author:
shackleford
Description
Source Code
Launch App
Current Users
Created by:
Shackleford
App Images
const highTip = { amount: 0, userName: null }; const lastTip = { amount: 0, userName: null } cb.onMessage(message => { const { f, // FONT gender, // m: male, f: female, s: trans, c: couple is_mod, // is the user a moderator in_fanclub, // is the user in the broadcasters fan club tipped_tons_recently, // is the user DARK PURPLE tipped_alot_recently, // is the user PURPLE tipped_recently, // is the user DARK BLUE user, // userName c, // Message Color has_tokens, // Does the user have at least 1 token m // Message Text } = message; cb.chatNotice(m); const msg = has_tokens ? `${user} is LOADED` : `${user} is BROKE`; cb.chatNotice(msg); }); cb.onTip( tip => { cb.chatNotice(tip); }); // Draw Panel (ONLY FOR APPS) cb.onDrawPanel(user => { cb.chatNotice(user); return build_12_22_32(user); }); function build_12_22_32(user) { return { template: '3_rows_of_labels', row1_label: 'Tip Received / Goal:', row1_value: '0', row2_label: `Higest Tip:`, row2_value: `${highTip.userName} | ${highTip.amount}`, row3_label: 'Latest Tip Received:', row3_value: `${lastTip.userName} | ${lastTip.amount}`, } }
© Copyright Chaturbate 2011- 2025. All Rights Reserved.