Apps Home
|
My Uploads
|
Create an App
inatereresongoqw
Author:
inatrer
Description
Source Code
Launch App
Current Users
Created by:
Inatrer
App Images
// vars var last_tip_username = ''; var backgroundImage = 'eff82333-6548-44ad-80fe-b20bdf0822a7'; var fontSize = 11; var next_tip_amount = 1; var goal_reached = false; var goal_count = 0; var goal_count_sq = 0; var goal_count1 = 1; var goal_add = ''; var total_tokens = 0; var goal_total = 0; var goal_total_all = 0; var goal50_left = 0; var left_goal = 0; var rr_tip = 25; var rr_max = 999; var rr_win = 15; var rr_random = 0; var rr_c_triger = 0; var rr_c_win = 0; var tip_note = ''; var diff = 0; var check_stop = 0; var s_x = 1; var i_vid=1; var inatrer_vidname = ''; var check_goal=0; var heart='\u2661 \u2661 \u2661 \u2661 \u2661 \u2661 \u2661 \u2661 \u2661 \u2661'; var heart_count=0; var mc_notice=''; cb.settings_choices = [ {name:'msgcolor', type:'str', label:'Notice color (html code default dark red #9F000F)', defaultValue: '#9F000F'}, {name: 'chat_ad', type:'int', minValue: 1, maxValue: 999, defaultValue: 2, label: 'Delay in minutes between notices being displayed (minimum 1)'}, { name: 'rr_tip', label: 'RussianR cost', type: 'int', required: false, minValue: 1, maxValue: 100000, default: 1 }, { name: 'goal50_goal', label: 'Goal amount', type: 'int', required: false, minValue: 1, maxValue: 100000, default: 1 }, { name: 'next_tip', label: 'Next Tip', type: 'int', required: false, minValue: 1, maxValue: 100000, default: 1 }, { name: 'goal_count', label: 'Goal_reached', type: 'int', required: false, minValue: 0, maxValue: 100000, default: 1 }, { name: 'rr_triger', label: 'RR Tries', type: 'int', required: false, minValue: 0, maxValue: 100000, default: 1 }, { name: 'rr_win', label: 'RR Win', type: 'int', required: false, minValue: 0, maxValue: 100000, default: 1 }, { name: 'total_tokens', label: 'Total Tokens', type: 'int', required: false, minValue: 0, maxValue: 100000, default: 1 }, { name: 'goal_total', label: 'Goal total', type: 'int', required: false, minValue: 0, maxValue: 100000, default: 1 }, { name: 'goal_add', label: 'goal_add', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value0', label: 'goal1_first', type: 'int', minValue: 1, maxValue: 200, default: 50 }, { name: 'goal_value0', label: 'goal1_last', type: 'int', minValue: 1, maxValue: 20000, default: 50 }, { name: 'goal_description0', label: 'goal1', type: 'str', minLength: 1, maxLength: 190 }, { name: 'goal_start_value1', label: 'goal2_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value1', label: 'goal2', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description1', label: 'goal2', type: 'str', required: false, minLength: 0, maxLength: 190 }, /*{ name: 'goal_start_value2', label: 'goal3_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value2', label: 'goal3', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description2', label: 'goal3', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value3', label: 'goal4_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value3', label: 'goal4', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description3', label: 'goal4', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value4', label: 'goal5_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value4', label: 'goal5', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description4', label: 'goal5', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value5', label: 'goal6_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value5', label: 'goal6', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description5', label: 'goal6', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value6', label: 'goal7_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value6', label: 'goal7', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description6', label: 'goal7', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value7', label: 'goal8_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value7', label: 'goal8', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description7', label: 'goal8', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value8', label: 'goal9_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value8', label: 'goal9', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description8', label: 'goal9', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value9', label: 'goal10_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value9', label: 'goal10', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description9', label: 'goal10', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value10', label: 'goal11_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value10', label: 'goal11', type: 'int',required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description10', label: 'goal11', type: 'str',required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value11', label: 'goal12_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value11', label: 'goal12', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description11', label: 'goal12', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value12', label: 'goal13_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value12', label: 'goal13', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description12', label: 'goal13', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value13', label: 'goal14_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value13', label: 'goal14', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description13', label: 'goal14', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value14', label: 'goal15_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value14', label: 'goal15', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description14', label: 'goal15', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value15', label: 'goal16_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value15', label: 'goal16', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description15', label: 'goal16', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value16', label: 'goal17_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value16', label: 'goal17', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description16', label: 'goal17', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value17', label: 'goal18_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value17', label: 'goal18', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description17', label: 'goal18', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value18', label: 'goal19_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value18', label: 'goal19', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description18', label: 'goal19', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'goal_start_value19', label: 'goal20_start', type: 'int', required: false, minValue: 1, maxValue: 100, default: 0 }, { name: 'goal_value19', label: 'goal20', type: 'int', required: false, minValue: 0, maxValue: 10000, default: 0 }, { name: 'goal_description19', label: 'goal20', type: 'str', required: false, minLength: 0, maxLength: 190 }, */ //videos { name: 'sep_line_vid', label: '------------------------------------------------------Videos----------------------', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name0', label: 'Video 1 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price0', label: 'Video 1 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name1', label: 'Video 2 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price1', label: 'Video 2 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name2', label: 'Video 3 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price2', label: 'Video 3 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name3', label: 'Video 4 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price3', label: 'Video 4 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name4', label: 'Video 5 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price4', label: 'Video 5 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name5', label: 'Video 6 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price5', label: 'Video 6 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name6', label: 'Video 7 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price6', label: 'Video 7 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name7', label: 'Video 8 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price7', label: 'Video 8 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name8', label: 'Video 9 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price8', label: 'Video 9 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name9', label: 'Video 10 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price9', label: 'Video 10 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name10', label: 'Video 11 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price10', label: 'Video 11 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name11', label: 'Video 12 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price11', label: 'Video 12 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name12', label: 'Video 13 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price12', label: 'Video 13 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name13', label: 'Video 14 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price13', label: 'Video 14 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name14', label: 'Video 15 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price14', label: 'Video 15 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name15', label: 'Video 16 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price15', label: 'Video 16 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name16', label: 'Video 17 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price16', label: 'Video 17 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name17', label: 'Video 18 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price17', label: 'Video 18 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name18', label: 'Video 19 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price18', label: 'Video 19 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name19', label: 'Video 20 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price19', label: 'Video 20 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name20', label: 'Video 21 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price20', label: 'Video 21 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name21', label: 'Video 22 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price21', label: 'Video 22 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name22', label: 'Video 23 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price22', label: 'Video 23 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name23', label: 'Video 24 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price23', label: 'Video 24 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name24', label: 'Video 25 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price24', label: 'Video 25 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name25', label: 'Video 26 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price25', label: 'Video 26 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name26', label: 'Video 27 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price26', label: 'Video 27 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name27', label: 'Video 28 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price27', label: 'Video 28 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name28', label: 'Video 29 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price28', label: 'Video 29 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name29', label: 'Video 30 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price29', label: 'Video 30 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name30', label: 'Video 31 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price30', label: 'Video 31 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name31', label: 'Video 32 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price31', label: 'Video 32 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name32', label: 'Video 33 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price32', label: 'Video 33 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name33', label: 'Video 34 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price33', label: 'Video 34 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name34', label: 'Video 35 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price34', label: 'Video 35 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name35', label: 'Video 36 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price35', label: 'Video 36 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name36', label: 'Video 37 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price36', label: 'Video 37 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name37', label: 'Video 38 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price37', label: 'Video 38 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name38', label: 'Video 39 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price38', label: 'Video 39 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name39', label: 'Video 40 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price39', label: 'Video 40 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name40', label: 'Video 41 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price40', label: 'Video 41 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name41', label: 'Video 42 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price41', label: 'Video 42 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name42', label: 'Video 43 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price42', label: 'Video 43 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name43', label: 'Video 44 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price43', label: 'Video 44 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name44', label: 'Video 45 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price44', label: 'Video 45 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name45', label: 'Video 46 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price45', label: 'Video 46 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name46', label: 'Video 47 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price46', label: 'Video 47 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name47', label: 'Video 48 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price47', label: 'Video 48 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name48', label: 'Video 49 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price48', label: 'Video 49 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name49', label: 'Video 50 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price49', label: 'Video 50 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name50', label: 'Video 51 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price50', label: 'Video 51 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name51', label: 'Video 52 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price51', label: 'Video 52 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name52', label: 'Video 53 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price52', label: 'Video 53 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name53', label: 'Video 54 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price53', label: 'Video 54 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name54', label: 'Video 55 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price54', label: 'Video 55 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name55', label: 'Video 56 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price55', label: 'Video 56 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name56', label: 'Video 57 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price56', label: 'Video 57 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name57', label: 'Video 58 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price57', label: 'Video 58 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name58', label: 'Video 59 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price58', label: 'Video 59 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name59', label: 'Video 60 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price59', label: 'Video 60 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vid_name60', label: 'Video 61 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'vid_price60', label: 'Video 61 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, ]; cb.onTip( function (tip) { check_stop = 0; diff = tip['amount']; tip_note = tip['message']; last_tip_username = tip['from_user']; total_tokens = total_tokens + diff; thank_you(); // tipmenu(); // sequence(); russianr(); video(); multigoal (); // goal50 (); hearts (); cb.drawPanel(); notice_Inatrer(); } ); function notice_Inatrer() { if (tip_note != '') {cb.sendNotice (tip_note,'inatrer','#FFFF66'); } mc_notice = goal_total_all+' total tokens' cb.sendNotice (mc_notice,'moonchristine','#FFFF66'); } function thank_you() { cb.sendNotice ('Thank you :kiss4u',last_tip_username,'#FFFF66'); } function video() { if (check_stop == 0) { for (i=0;i<61;i++) { if (diff == cb.settings['vid_price' + i] && check_stop == 0) { check_stop = 1; cb.sendNotice ('Thank you, ' + last_tip_username+ ', for bying video!','','#99FF99'); inatrer_vidname = cb.settings['vid_name' + i]; cb.sendNotice (inatrer_vidname,'inatrer','','#99FF99'); } } } } function tipmenu() { if (check_stop == 0) { if (diff == 25) {check_stop = 1};//insert if (diff == 100) {check_stop = 1};//ride if (diff == 89) {check_stop = 1};//bj if (diff == 103) {check_stop = 1};//Smoke by my pussy if (diff == 105) {check_stop = 1};//gape if (diff == 96) {check_stop = 1};//feetlick if (diff == 27) {check_stop = 1};//insert if (diff == 141) {check_stop = 1};//cervix if (diff == 99) {check_stop = 1};//ps2 if (diff == 149) {check_stop = 1};//ps3 if (diff == 77) {check_stop = 1};//tits if (diff == 1111) {check_stop = 1};//squirt if (diff == 42) {check_stop = 1};//feet if (diff == 333) {check_stop = 1}; if (diff == 10000) {check_stop = 1};//husband } } function multigoal () { goal_total_all += diff; if (goal_reached != true && check_stop == 0) { check_stop = 1; goal_total += diff; left_goal = cb.settings.goal_value-goal_total; if (goal_total >= cb.settings.goal_value ) { goal_total = cb.settings.goal_value; //cb.settings.goal_description = '\u2764'; // update_subject(); /* goal_count++; goal_count_sq++; cb.settings.goal_value = cb.settings['goal_value' + goal_count]; cb.settings.goal_description = cb.settings['goal_description' + goal_count]; left_goal = cb.settings.goal_value; goal_total = 0; update_subject(); if (cb.settings['goal_value' + goal_count ] == 0 || cb.settings['goal_value' + goal_count ] == undefined) { goal_reached = true; sreset();} else{ } */ }} } function goal50 () { goal_total_all += diff; if (goal_reached != true && check_stop == 0) { check_stop = 1; goal_total += diff; left_goal = cb.settings.goal_value-goal_total; //goal50_left -= diff; if (goal50_left <= 0) { goal_reached = true; update_subject(); } if (goal_total >= cb.settings.goal_value ) { goal_total = cb.settings.goal_value; goal_count++; goal_count_sq++; cb.settings.goal_value = cb.settings['goal_value' + goal_count]; //cb.settings.goal_description = cb.settings['goal_description' + goal_count]; left_goal = cb.settings.goal_value; goal_total = 0; update_subject(); if (cb.settings['goal_value' + goal_count ] == 0 || cb.settings['goal_value' + goal_count ] == undefined) { sreset();} else{ } }} } function hearts () { if (goal_reached != true) { heart = ''; heart_count = goal_total / cb.settings.goal_value*10; for (i=0;i<heart_count;i++) {heart = heart + '\u2665 ';} //2665 for (i=10;i>heart_count;i--) {heart = heart + '\u2661 ';} } else{heart = '\u2665 \u2665 \u2665 \u2665 \u2665 \u2665 \u2665 \u2665 \u2665 \u2665 ';} //2661 } function sreset() { goal_count = 0; cb.settings.goal_value = cb.settings['goal_value' + goal_count]; cb.settings.goal_description = cb.settings['goal_description' + goal_count]; next_tip_amount = cb.settings['goal_start_value' + goal_count]; goal_total = 0; goal_reached = false; update_subject(); cb.drawPanel(); } function sequence() { if (diff == next_tip_amount && (goal_reached != true && check_stop == 0)) { check_stop = 1; if (diff == cb.settings.goal_value ) { goal_count++; cb.settings.goal_value = cb.settings['goal_value' + goal_count]; cb.settings.goal_description = cb.settings['goal_description' + goal_count]; next_tip_amount = cb.settings['goal_start_value' + goal_count]; next_tip_amount--; if (cb.settings['goal_value' + goal_count ] == 0 || cb.settings['goal_value' + goal_count ] == undefined) { goal_reached = true;} } next_tip_amount++; update_subject(); } if (goal_reached != true) { var msg1; msg1 = ':next' + next_tip_amount; cb.sendNotice(msg1,'','',cb.settings['msgcolor'],'bold'); } } function russianr() { if (diff == rr_tip && check_stop == 0) { check_stop = 1; rr_random = Math.floor(Math.random() * (rr_max-rr_c_triger)); rr_c_triger++; if (rr_random<(rr_win-rr_c_win)) { rr_c_win++; //if (Math.random()>0.6) //{ //cb.sendNotice (last_tip_username + ' won 10 min SkpShow with me, Congratulations! Please, write your email in a tipnote.','','#00FF00'); //} //else //{ cb.sendNotice (last_tip_username + ' won all my vids, Congratulations! Please, write your email in a tipnote.','','#00FF00'); //} } else { cb.sendNotice (last_tip_username + ' pulls the trigger (#'+rr_c_triger+') ... *click* -- No luck this time.\nTip '+rr_tip+' tk to pull the trigger next('+rr_c_win+'/'+rr_win+' found, '+rr_c_triger+'/'+rr_max+' tried)'); } } } cb.onMessage(function (msg) { var message = msg['m'].split(' '); /* if (message[0] == '/w' (msg['user'] == 'moonchristine' || msg['user'] == 'inatrer')) { msg['X-Spam'] = true; var user = message[1]; var message_snd = message.slice(2); var notice = message_snd.join(' '); if (user == '') {notice = 'Public: '+notice;} else {notice = 'Private: '+notice;} cb.sendNotice (notice,user,'#FF59AC'); } */ if (message[0] == '/sreset' && (msg['user'] == 'moonchristine' || msg['user'] == 'inatrer')) { msg['X-Spam'] = true; goal_count = 0; cb.settings.goal_value = cb.settings['goal_value' + goal_count]; cb.settings.goal_description = cb.settings['goal_description' + goal_count]; next_tip_amount = cb.settings['goal_start_value' + goal_count]; goal_total = 0; goal_reached = false; update_subject(); cb.drawPanel(); } /*if (message[0] == '/goal' && (msg['user'] == 'moonchristine' || msg['user'] == 'inatrer')) { msg['X-Spam'] = true; goal_count++; goal_count_sq++; cb.settings.goal_value = cb.settings['goal_value' + goal_count]; cb.settings.goal_description = cb.settings['goal_description' + goal_count]; left_goal = cb.settings.goal_value; goal_total = 0; update_subject(); if (cb.settings['goal_value' + goal_count ] == 0 || cb.settings['goal_value' + goal_count ] == undefined) { goal_reached = true; sreset();} cb.drawPanel(); }*/ if (message[0] == '/newgoal' && (msg['user'] == 'moonchristine' || msg['user'] == 'inatrer')) { msg['X-Spam'] = true; var amount = message[1]; var message_snd = message.slice(2); var newgoal = message_snd.join(' '); cb.settings.goal_description = newgoal; goal50_left = amount; cb.settings.goal_value = amount; goal_total = 0; goal_reached = false; update_subject(); hearts (); cb.drawPanel(); } if(message[0] == '/video') { msg['X-Spam'] = true; var video_list = 'My videos list:\n'; for (i=0;i<61;i++) { if (cb.settings['vid_name' + i] != '') {video_list = video_list+cb.settings['vid_name' + i]+' - '+cb.settings['vid_price' + i]+' tokens\n';} } video_list = video_list+'Just tip needed amound and do not forget to write your email in tipnote!'; cb.sendNotice (video_list,msg['user'],'#99FF99'); } if(message[0] == '/videop' && (msg['user'] == 'moonchristine' || msg['user'] == 'inatrer')) { msg['X-Spam'] = true; var video_list = 'My videos list:\n'; for (i=0;i<61;i++) { if (cb.settings['vid_name' + i] != '') {video_list = video_list+cb.settings['vid_name' + i]+' - '+cb.settings['vid_price' + i]+' tokens\n';} } video_list = video_list+'Just tip needed amound and do not forget to write your email in tipnote!'; cb.sendNotice (video_list,'','#99FF99'); } return msg; }); cb.onDrawPanel( function (user) { if (goal_reached) { return { /*'template': '3_rows_11_21_31', 'row1_value': 'Goal reached!', 'row2_value': 'Thanks to all tippers', 'row3_value': 'Goal reached: ' + goal_count_sq + ' times' */ }; } else { return { "template": "image_template", "layers": [ {'type': 'image', 'fileID': backgroundImage}, { 'type': 'text', 'text': 'Goal#'+(goal_count_sq+1)+': '+goal_total + '/' + cb.settings.goal_value +'['+(cb.settings.goal_value-goal_total)+' to goal]', 'top': 5, 'left': 30, 'font-size': fontSize, 'color': 'red', }, { 'type': 'text', 'text': 'Last kiss: ' + last_tip_username + '['+diff+' kisses]', 'top': 29, 'left': 30, 'font-size': fontSize, 'color': 'red', }, { 'type': 'text', 'text': heart, 'top': 40, 'left': 30, 'font-size': 24, 'color': 'red', }, { 'type': 'text', 'text': ' ', 'top': 5, 'left': 150, 'font-size': fontSize, 'color': 'white', }, { 'type': 'text', 'text': ' ', 'top': 29, 'left': 150, 'font-size': fontSize, 'color': 'white', }, /* { 'type': 'text', 'text': ', please', 'top': 51, 'left': 147, 'font-size': fontSize, 'color': 'white', },*/ ], /* 'template': '3_rows_of_labels', // 'row1_label': 'Next tip needed:', 'row1_label': 'Tokens (Needed):', // 'row1_value': next_tip_amount + '(' + cb.settings.goal_value +')', 'row1_value': goal_total + '(' + cb.settings.goal_value +')', 'row2_label': 'Goal reached:', 'row2_value': goal_count_sq + ' times', 'row3_label': 'Write tipnote', 'row3_value': ', please' */ }; } } ); // helper functions function update_subject() { var new_subject = ""; if (goal_reached) { new_subject = cb.settings.goal_description + " [Goal reached! Thanks to all tippers.]"; } else { new_subject = cb.settings.goal_description /*+ " [Tokens left: " + goal50_left + "]"*/; // +'/'+goal_add+ '[Left '+left_goal+' from ' + cb.settings.goal_value + ' tokens]' ; // +" [Tip in ascending order from 1 to " + cb.settings.goal_value + ". Next tip needed: " + next_tip_amount + "]"; } cb.changeRoomSubject(new_subject); } function getRandomInt(max) { return Math.floor(Math.random() * Math.floor(max)); } function chatAd() { var msg; i_vid=getRandomInt(61); while (cb.settings['vid_name' + i_vid] == '') { i_vid=getRandomInt(61); } if (cb.settings['vid_name' + i_vid] != '') {msg = cb.settings['vid_name' + i_vid]+' - '+cb.settings['vid_price' + i_vid]+' tokens\n'; cb.sendNotice (msg,'','#99FF99'); //if (i_vid<61) {i_vid++;} //else {i_vid = 1;} } cb.sendNotice ('Write /video to see my videos list','','#99FF99'); cb.setTimeout(chatAd, (cb.settings.chat_ad * 60000)); } cb.setTimeout(chatAd, (cb.settings.chat_ad * 60000)); function init() { rr_tip = cb.settings.rr_tip; next_tip_amount = cb.settings.next_tip; goal_count = cb.settings.goal_count; goal_count_sq = cb.settings.goal_count; cb.settings.goal_value = cb.settings['goal_value' + goal_count]; cb.settings.goal_description = cb.settings['goal_description' + goal_count]; rr_c_triger = cb.settings.rr_triger; rr_c_win = cb.settings.rr_win; total_tokens = cb.settings.total_tokens; goal_total = cb.settings.goal_total; left_goal = cb.settings.goal_value-goal_total; goal50_left = cb.settings.goal50_goal; cb.settings.goal_description = cb.settings.goal_description0; // goal_add = cb.setings.goal_add + '/'; //vids update_subject(); } init();
© Copyright Chaturbate 2011- 2024. All Rights Reserved.