Apps Home
|
My Uploads
|
Create an App
Poke.app
Author:
pokexxhunter
Description
Source Code
Launch App
Current Users
Created by:
Pokexxhunter
App Images
var backgroundImage = '1eef3f72-1690-4d9c-a87e-67d740d1ef84'; var subj = '#cumshow #8teen #dick #18 #pvt #socks #underwear #gay #russia #russian #cum #daddy #hairy #uncut' var tipmenu = [ {amount: 2, name: 'Private message'}, {amount: 10, name: 'Flash armpits'}, {amount: 15, name: 'Flash feet/socks'}, {amount: 30, name: 'Flash dick'}, {amount: 40, name: 'Hard dick'}, {amount: 20, name: 'Flash ass'}, {amount: 32, name: 'Underwear off'}, {amount: 50, name: 'Fingering my ass'}, {amount: 5, name: 'Select song'}, {amount: 500, name: 'Cumshot right now'}, ] // Tips var tipsReceived = 0; var highestTip = {user: undefined, tip: 0}; var lastTipReceived = {user: undefined, tip: 0}; var fontSize = 10; // Initial setup of room cb.changeRoomSubject(subj) sendTipMenuMessage() // Setup tip menu cb.tipOptions(function(user) { var result = {options: [], label: 'What are you tiping for?'} for (var idx = 0; idx < tipmenu.length; idx++) { var item = tipmenu[idx] result.options.push({label: item.amount + ' tokens - ' + item.name}) } return result; }); // OnTip callback cb.onTip(function (tip) { var amount = parseInt(tip['amount']) tipsReceived += amount lastTipReceived.user = tip['from_user'] lastTipReceived.tip = amount if (highestTip.user == undefined || highestTip.tip < amount) { highestTip.user = tip['from_user'] highestTip.tip = amount } cb.drawPanel(); }); cb.onDrawPanel(function(user) { return { "template": "image_template", "layers": [ { 'type': 'image', 'fileID': backgroundImage }, { 'type': 'text', 'text': 'TIPS RECEIVED', 'top': 13, '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': 44, 'left': 28, 'font-size': fontSize, 'color': 'orange', }, { 'type': 'text', 'text': tipsReceived, 'top': 13, 'left': 137, 'font-size': fontSize, 'color': 'white', }, { 'type': 'text', 'text': highestTip.user ? highestTip.user + ', '+ highestTip.tip +' tk' : 'Tip to see your name', 'top': 29, 'left': 137, 'font-size': fontSize, 'color': 'white', }, { 'type': 'text', 'text': lastTipReceived.user ? lastTipReceived.user + ', '+ lastTipReceived.tip +' tk' : 'Tip to see your name', 'top': 44, 'left': 137, 'font-size': fontSize, 'color': 'white', }, ], }; }); function sendTipMenuMessage() { var notice = 'HERE IS MY TIP MENU:\n' for (var idx = 0; idx < tipmenu.length; idx++) { var item = tipmenu[idx] notice += item.amount + ' tokens - ' + item.name + ' | ' } notice = notice.slice(0, -3) notice += '\nDon\'t forget to follow if you like me! Looking for moderators too.' cb.sendNotice(notice, '', '#FFFFFF', '#FF0000', 'bold') cb.setTimeout(sendTipMenuMessage, 1000 * 3 * 60) // 3 minutes }
© Copyright Chaturbate 2011- 2025. All Rights Reserved.