Apps Home
|
Create an App
MC_TOB
Author:
aerari
Description
Source Code
Launch App
Current Users
Created by:
Aerari
// vars var last_tip_username = null; var next_tip_amount = 1; var goal_reached = false; var goal_count = 0; var goal_count_sq = 1; var goal_count1 = 1; var goal_add = ''; var total_tokens = 0; var goal_total = 0; var left_goal = 0; var rr_tip = 18; var rr_max = 999; var rr_win = 15; var rr_random = 0; var rr_c_triger = 0; var rr_c_win = 0; var tits_count = 0; var tits_total = 0; var trip_count = 0; var trip_total = 0; var trip1_total = 0; var car_count = 0; var car_total = 0; var tip_note = ''; var diff = 0; var check_stop = 0; var rr_list =[]; //vote var vote_name = []; var vote_count = []; var vote_total = 0; var s_x = 1; var i_vid=1; var inatrer_vidname = ''; var AcionName = ''; 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: '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 }, //voting { name: 'sep_line_vote', label: '------------------------------------------------------Voting----------------------', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name0', label: 'name1', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count0', label: 'votes1', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name1', label: 'name2', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count1', label: 'votes2', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name2', label: 'name3', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count2', label: 'votes3', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name3', label: 'name4', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count3', label: 'votes4', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name4', label: 'name5', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count4', label: 'votes5', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name5', label: 'name6', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count5', label: 'votes6', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name6', label: 'name7', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count6', label: 'votes7', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name7', label: 'name8', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count7', label: 'votes8', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name8', label: 'name9', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count8', label: 'votes9', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name9', label: 'name10', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count9', label: 'votes10', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name10', label: 'name11', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count10', label: 'votes11', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name11', label: 'name12', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count11', label: 'votes12', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name12', label: 'name13', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count12', label: 'votes13', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name13', label: 'name14', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count13', label: 'votes14', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name14', label: 'name15', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count14', label: 'votes15', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name15', label: 'name16', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count15', label: 'votes16', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name16', label: 'name17', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count16', label: 'votes17', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name17', label: 'name18', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count17', label: 'votes18', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name18', label: 'name19', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count18', label: 'votes19', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name19', label: 'name20', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count19', label: 'votes20', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name20', label: 'name21', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count20', label: 'votes21', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name21', label: 'name22', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count21', label: 'votes22', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name22', label: 'name23', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count22', label: 'votes23', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name23', label: 'name24', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count23', label: 'votes24', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name24', label: 'name25', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count24', label: 'votes25', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name25', label: 'name26', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count25', label: 'votes26', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name26', label: 'name27', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count26', label: 'votes27', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name27', label: 'name28', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count27', label: 'votes28', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name28', label: 'name29', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count28', label: 'votes29', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name29', label: 'name30', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count29', label: 'votes30', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name30', label: 'name31', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count30', label: 'votes31', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name31', label: 'name32', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count31', label: 'votes32', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name32', label: 'name33', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count32', label: 'votes33', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name33', label: 'name34', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count33', label: 'votes34', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name34', label: 'name35', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count34', label: 'votes35', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name35', label: 'name36', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count35', label: 'votes36', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name36', label: 'name37', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count36', label: 'votes37', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name37', label: 'name38', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count37', label: 'votes38', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name38', label: 'name39', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count38', label: 'votes39', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'vote_name39', label: 'name40', type: 'str', required: false, minLength: 0, maxLength: 190 }, { name: 'vote_count39', label: 'votes40', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, //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 }, //videos { name: 'sep_line_Action', label: '------------------------------------------------------Actions----------------------', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name0', label: 'Action 1 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price0', label: 'Action 1 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name1', label: 'Action 2 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price1', label: 'Action 2 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name2', label: 'Action 3 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price2', label: 'Action 3 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name3', label: 'Action 4 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price3', label: 'Action 4 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name4', label: 'Action 5 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price4', label: 'Action 5 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name5', label: 'Action 6 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price5', label: 'Action 6 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name6', label: 'Action 7 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price6', label: 'Action 7 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name7', label: 'Action 8 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price7', label: 'Action 8 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name8', label: 'Action 9 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price8', label: 'Action 9 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name9', label: 'Action 10 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price9', label: 'Action 10 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name10', label: 'Action 11 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price10', label: 'Action 11 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name11', label: 'Action 12 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price11', label: 'Action 12 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name12', label: 'Action 13 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price12', label: 'Action 13 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name13', label: 'Action 14 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price13', label: 'Action 14 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name14', label: 'Action 15 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price14', label: 'Action 15 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name15', label: 'Action 16 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price15', label: 'Action 16 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name16', label: 'Action 17 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price16', label: 'Action 17 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name17', label: 'Action 18 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price17', label: 'Action 18 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name18', label: 'Action 19 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price18', label: 'Action 19 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name19', label: 'Action 20 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price19', label: 'Action 20 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name20', label: 'Action 21 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price20', label: 'Action 21 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name21', label: 'Action 22 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price21', label: 'Action 22 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name22', label: 'Action 23 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price22', label: 'Action 23 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name23', label: 'Action 24 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price23', label: 'Action 24 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name24', label: 'Action 25 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price24', label: 'Action 25 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name25', label: 'Action 26 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price25', label: 'Action 26 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name26', label: 'Action 27 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price26', label: 'Action 27 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name27', label: 'Action 28 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price27', label: 'Action 28 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name28', label: 'Action 29 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price28', label: 'Action 29 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name29', label: 'Action 30 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price29', label: 'Action 30 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name30', label: 'Action 31 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price30', label: 'Action 31 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name31', label: 'Action 32 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price31', label: 'Action 32 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name32', label: 'Action 33 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price32', label: 'Action 33 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name33', label: 'Action 34 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price33', label: 'Action 34 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name34', label: 'Action 35 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price34', label: 'Action 35 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name35', label: 'Action 36 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price35', label: 'Action 36 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name36', label: 'Action 37 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price36', label: 'Action 37 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name37', label: 'Action 38 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price37', label: 'Action 38 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name38', label: 'Action 39 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price38', label: 'Action 39 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'Action_name39', label: 'Action 40 description', type: 'str', required: false, minLength: 0, maxLength: 500 }, { name: 'Action_price39', label: 'Action 40 Price', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'tits_today', label: 'tits_today', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'tits', label: 'tits', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'trip_today', label: 'trip_today', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'trip', label: 'trip', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'car_today', label: 'car_today', type: 'int', required: false, minValue: 0, maxValue: 200000, default: 0 }, { name: 'car', label: 'car', 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; notice_Inatrer(); thank_you(); actionlist() tipmenu(); vote(); //tits(); car(); trip(); // sequence(); russianr(); // video(); multigoal (); cb.drawPanel(); } ); function notice_Inatrer() { if (tip_note != '') {cb.sendNotice (tip_note,'inatrer','#FFFF66'); } } function thank_you() { cb.sendNotice ('Thank you, '+last_tip_username+' :moonkiss1','','#FFFF66'); } function actionlist() { if (check_stop == 0) { for (i=0;i<40;i++) { if (diff == cb.settings['Action_price' + i] && check_stop == 0) { //check_stop = 1; ActionName = cb.settings['Action_name' + i]; cb.sendNotice (last_tip_username+ ' Tipped for: '+ActionName,'','#99FF99'); } } } } function video() { if (check_stop == 0) { for (i=0;i<40;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 == 111) {check_stop = 1};//Whatsappgroup if (diff == 288) {check_stop = 1};//Squirtforme } } function vote () { var city_name = tip_note.toLowerCase(); var vote_name_low = ''; if (check_stop == 0) { for (i=0;i<vote_name.length;i++) { vote_name_low = vote_name[i].toLowerCase(); if (city_name.indexOf(vote_name_low)!=-1 && check_stop == 0) { check_stop = 1; vote_count[i] += diff; cb.sendNotice ('Thank you, ' + last_tip_username+ ', for voting for "'+vote_name[i]+'", your '+ diff+' votes added to "'+vote_name[i]+'"!','','#9999FF'); vote_total += diff; trip_total = trip_total1 + vote_total; } } } } function multigoal () { 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_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();} } } } 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++; goal_count_sq++; 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 tits() { var tip_note1 = tip_note.toLowerCase(); if (tip_note1 == 'tits' && check_stop == 0) { check_stop = 1; tits_count = tits_count + diff; tits_total = tits_count+cb.settings.tits; cb.sendNotice ('Thank you, ' + last_tip_username+ ', for tipping for tits!(collected:'+tits_count+' today/'+tits_total+' total)','','#FF7CDA') } } function trip() { var tip_note1 = tip_note.toLowerCase(); if (tip_note1 == 'trip' && check_stop == 0) { check_stop = 1; trip_count = trip_count + diff; trip_total1 = trip_count+cb.settings.trip; trip_total = trip_total1 + vote_total; cb.sendNotice ('Thank you, ' + last_tip_username+ ', for tipping for trip!(collected:'+trip_count+' today/'+trip_total+' total.'+trip_total1+'/'+vote_total+')','','#72C2FF') } } function car() { var tip_note1 = tip_note.toLowerCase(); if (tip_note1 == 'car' && check_stop == 0) { check_stop = 1; car_count = car_count + diff; car_total = car_count+cb.settings.car; cb.sendNotice ('Thank you, ' + last_tip_username+ ', for tipping for car!(collected:'+car_count+' today/'+car_total+' total)','','#FAFF7F') } } 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++; rr_list.push (last_tip_username); //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'] == '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] == '/w' && msg['user'] == 'moonchristine') { 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'] == 'inatrer' || msg['user'] == 'moonchristine')) { 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] == '/win' && (msg['user'] == 'inatrer' || msg['user'] == 'moonchristine')) { msg['X-Spam'] = true; cb.sendNotice (rr_list,'inatrer','#FFFF66'); } if(message[0] == '/add' && msg['user'] == 'inatrer') { msg['X-Spam'] = true; if (message[1] == 'tits' && parseInt(message[2])!=0) { tits_total += parseInt(message[2]); tits_count += parseInt(message[2]); cb.sendNotice (parseInt(message[2])+' added to "tits"! Write tipnote carefully next time, please.(collected:'+tits_count+' today/'+tits_total+' total)','','#FF7CDA') } if (message[1] == 'trip' && parseInt(message[2])!=0) { trip_total1 += parseInt(message[2]); trip_total = trip_total1 + vote_total; trip_count += parseInt(message[2]); cb.sendNotice (parseInt(message[2])+' added to "trip"! Write tipnote carefully next time, please.(collected:'+trip_count+' today/'+trip_total+' total.'+trip_total1+'/'+vote_total+')','','#72C2FF') } if (message[1] == 'car' && parseInt(message[2])!=0) { car_total += parseInt(message[2]); car_count += parseInt(message[2]); cb.sendNotice (parseInt(message[2])+' added to "car"! Write tipnote carefully next time, please.(collected:'+car_count+' today/'+car_total+' total)','','#FAFF7F') } if (message[1] == 'vote' && parseInt(message[2])!=0) { if (message[3] != 'new_vote') { var city_name_m = message.slice(3); var city_name = city_name_m.join(' '); for (i=0;i<vote_name.length;i++) { if (city_name.indexOf(vote_name[i])!=-1) { vote_count[i] += parseInt(message[2]); vote_total += parseInt(message[2]); trip_total = trip_total1 + vote_total; cb.sendNotice (parseInt(message[2])+' votes added to "'+city_name+'"! Write tipnote carefully next time, please.','','#9999FF') } } } else { var city_name_m = message.slice(4); var city_name = city_name_m.join(' '); var new_city_count = vote_name.length; vote_count[new_city_count] = parseInt(message[2]); vote_name[new_city_count] = city_name; cb.sendNotice ('Added new city "'+city_name+'"! Added '+parseInt(message[2])+' votes to it.','','#9999FF'); vote_total += parseInt(message[2]); trip_total = trip_total1 + vote_total; } } } if(message[0] == '/vote') { msg['X-Spam'] = true; var city_list = 'My city voting list:\n'; var j=vote_name.length; for (i=0;i<j;i++) { city_list = city_list+vote_name[i]+' - '+vote_count[i]+' votes\n'; } city_list = city_list+'just write your USA city in tipnote to vote for it\nAsk me to add city if you need.'; cb.sendNotice (city_list,msg['user'],'#9999FF'); } if(message[0] == '/video') { msg['X-Spam'] = true; var video_list = 'My videos list:\n'; for (i=0;i<40;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] == '/action') { msg['X-Spam'] = true; var action_list = 'My action list:\n'; for (i=0;i<40;i++) { if (cb.settings['Action_name' + i] != '') {action_list = action_list+cb.settings['Action_name' + i]+' - '+cb.settings['Action_price' + i]+' tokens\n';} } action_list = action_list+'Just tip needed amound to see the action!'; cb.sendNotice (action_list,msg['user'],'#99FF99'); } if(message[0] == '/videop' && msg['user'] == 'inatrer') { msg['X-Spam'] = true; var video_list = 'My videos list:\n'; for (i=0;i<40;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': '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': 'Total tokens:', 'row3_value': total_tokens + ' tokens' }; } } ); // 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 // +'/'+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 chatAd() { var msg; while (cb.settings['vid_name' + i_vid] == '') { if (i_vid<40) {i_vid++;} else {i_vid = 1;} } 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<40) {i_vid++;} else {i_vid = 1;} } /* if (goal_reached != true) {msg = ':next' + next_tip_amount; //cb.sendNotice(msg,'','',cb.settings['msgcolor'],'bold') }; switch(s_x) { case 1: cb.sendNotice ('Russian Roulette is running. Shoot yourself and Win all my vids or 10 min SkpShow with me!\nTip '+rr_tip+' tk to pull the trigger next('+rr_c_win+'/'+rr_win+' found, '+rr_c_triger+'/'+rr_max+' tried)','','#ff00b2'); break; case 2: */ cb.sendNotice ('Write /video to see my videos list, Write /action to see my action list','','#99FF99'); /* break; case 3: cb.sendNotice ('Tip for my trip to USA! Write "trip" it tipnote!(collected:'+trip_count+' today/'+trip_total+' total.'+trip_total1+'/'+vote_total+')','','#72C2FF'); break; case 4: cb.sendNotice ('Russian Roulette is running. Shoot yourself and Win all my vids!\nTip '+rr_tip+' tk to pull the trigger next('+rr_c_win+'/'+rr_win+' found, '+rr_c_triger+'/'+rr_max+' tried)','','#ff00b2'); break; case 5: cb.sendNotice ('Write /vote to see my city voting list','','#9999FF'); break; case 6: cb.sendNotice ('Tip for my new car! Write "car" it tipnote!(collected:'+car_count+' today/'+car_total+' total)','','#FAFF7F'); s_x=0; break; case 7: //cb.sendNotice ('Tip for my new tits! Write "tits" it tipnote!(collected:'+tits_count+' today/'+tits_total+' total)','','#FF7CDA'); break; default: break; }; s_x++; */ 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]; tits_total = cb.settings.tits+cb.settings.tits_today; tits_count = cb.settings.tits_today; trip_total1 = cb.settings.trip+cb.settings.trip_today; trip_count = cb.settings.trip_today; car_total = cb.settings.car+cb.settings.car_today; car_count = cb.settings.car_today; 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; // goal_add = cb.setings.goal_add + '/'; //voting for (i=0;i<40;i++) { if (cb.settings['vote_name'+i] != '') { vote_count[i] = cb.settings['vote_count'+i]; vote_name[i] = cb.settings['vote_name'+i]; vote_total += cb.settings['vote_count'+i]; } } //vids trip_total=trip_total1+vote_total; update_subject(); } init();
© Copyright Chaturbate 2011- 2024. All Rights Reserved.