Bots Home
|
Create an App
Wheel Bot
Author:
mykinkydope_
Description
Source Code
Launch Bot
Current Users
Created by:
Mykinkydope_
'use strict'; /** @type {!Array} */ var _0x3afc = ["settings_choices", "spinAmt", "int", "Cost Per Spin (1-1000)", "messageTimer", "Message Timer(minutes) 0=disable", "message", "str", "Message", "Spin the Wheel!! Only [AMOUNT] tokens per spin!!! Type !r or !reward to get a reward listing.", "cntMulti", "How Many Multi-Spins To Allow? 0=disable (1-999)", "reward1", "1st Reward", "Reward 1", "reward1Hid", "1st Reward Details", "Password to Reward 1", "reward2", "2nd Reward", "reward2Hid", "2nd Reward Details", "reward3", "3rd Reward", "reward3Hid", "3nd Reward Details", "reward4", "4th Reward", "reward4Hid", "4th Reward Details", "reward5", "5th Reward", "reward5Hid", "5th Reward Details", "reward6", "6th Reward", "reward6Hid", "6th Reward Details", "reward7", "7th Reward", "reward7Hid", "7th Reward Details", "reward8", "8th Reward", "reward8Hid", "8th Reward Details", "reward9", "9th Reward", "reward9Hid", "9th Reward Details", "reward10", "10th Reward", "reward10Hid", "10th Reward Details", "reward11", "11th Reward", "reward11Hid", "11th Reward Details", "reward12", "12th Reward", "reward12Hid", "12th Reward Details", "reward13", "13th Reward", "reward13Hid", "13th Reward Details", "reward14", "14th Reward", "reward14Hid", "14th Reward Details", "reward15", "15th Reward", "reward15Hid", "15th Reward Details", "reward16", "16th Reward", "reward16Hid", "16th Reward Details", "reward17", "17th Reward", "reward17Hid", "17th Reward Details", "reward18", "18th Reward", "reward18Hid", "18th Reward Details", "reward19", "19th Reward", "reward19Hid", "19th Reward Details", "reward20", "20th Reward", "reward20Hid", "20th Reward Details", "ColorBG", "Room Message Background Color(#8229c1)", "#8229c1", "ColorFC", "Room Message Font Color(#ffffff)", "#ffffff", "bcColorBG", "BroadCaster Message Background Color(#8229c1)", "bcColorFC", "BroadCaster Message Font Color(#ffffff)", "Reward", "Details", "GetReward", "prototype", "GetDetail", "HasDetails", "Name", "GetName", "Print", " WON [", "]", "Disabled", "settings", "3_rows_of_labels", "Tips Received:", "Spin Cost:", "Multi-Spin:", "onDrawPanel", "amount", "from_user", "drawPanel", "onTip", "m", "user", "!", "X-Spam", "trim", "!rewards", "!reward", "!r", "room_slug", "is_mod", "kellynumberfan", "substring", "!room", "!sr", "", "replace", "!user", "!pm", " ", "split", "length", "[", "]: ", "!winners", "!winner", "!w", "onMessage", "random", "floor", "********************************\n*** Spinning the Wheel!!!!\n*** Wheel stopped on : ", "\n********************************", "push", "***** You Won [", "] Details:[", "] *****", "\n", "********** WINNERS **********\n", "\n*****************************", "********** WINNERS **********\nNO WINNERS\n*****************************", "REWARDS:\n", "[AMOUNT]", "sendNotice", "bold", "setTimeout", "round", "pow", "contains", "removeItem", "-----------------------------------------\n--- Cherrycrush's Wheel\n--- Version 1.1\n--- Developed By: KellyNumberFan\n-----------------------------------------"]; /** @type {!Array} */ cb[_0x3afc[0]] = [{ name : _0x3afc[1], type : _0x3afc[2], minValue : 1, maxValue : 1E3, label : _0x3afc[3], defaultValue : 25 }, { name : _0x3afc[4], type : _0x3afc[2], minValue : 0, label : _0x3afc[5], defaultValue : 2 }, { name : _0x3afc[6], type : _0x3afc[7], maxLength : 300, label : _0x3afc[8], defaultValue : _0x3afc[9] }, { name : _0x3afc[10], type : _0x3afc[2], minValue : 0, maxValue : 999, defaultValue : 0, label : _0x3afc[11] }, { name : _0x3afc[12], type : _0x3afc[7], minLength : 1, maxLength : 100, label : _0x3afc[13], defaultValue : _0x3afc[14] }, { name : _0x3afc[15], type : _0x3afc[7], minLength : 1, maxLength : 500, label : _0x3afc[16], defaultValue : _0x3afc[17] }, { name : _0x3afc[18], type : _0x3afc[7], maxLength : 100, label : _0x3afc[19], required : false }, { name : _0x3afc[20], type : _0x3afc[7], maxLength : 500, label : _0x3afc[21], required : false }, { name : _0x3afc[22], type : _0x3afc[7], maxLength : 100, label : _0x3afc[23], required : false }, { name : _0x3afc[24], type : _0x3afc[7], maxLength : 500, label : _0x3afc[25], required : false }, { name : _0x3afc[26], type : _0x3afc[7], maxLength : 100, label : _0x3afc[27], required : false }, { name : _0x3afc[28], type : _0x3afc[7], maxLength : 500, label : _0x3afc[29], required : false }, { name : _0x3afc[30], type : _0x3afc[7], maxLength : 100, label : _0x3afc[31], required : false }, { name : _0x3afc[32], type : _0x3afc[7], maxLength : 500, label : _0x3afc[33], required : false }, { name : _0x3afc[34], type : _0x3afc[7], maxLength : 100, label : _0x3afc[35], required : false }, { name : _0x3afc[36], type : _0x3afc[7], maxLength : 500, label : _0x3afc[37], required : false }, { name : _0x3afc[38], type : _0x3afc[7], maxLength : 100, label : _0x3afc[39], required : false }, { name : _0x3afc[40], type : _0x3afc[7], maxLength : 500, label : _0x3afc[41], required : false }, { name : _0x3afc[42], type : _0x3afc[7], maxLength : 100, label : _0x3afc[43], required : false }, { name : _0x3afc[44], type : _0x3afc[7], maxLength : 500, label : _0x3afc[45], required : false }, { name : _0x3afc[46], type : _0x3afc[7], maxLength : 100, label : _0x3afc[47], required : false }, { name : _0x3afc[48], type : _0x3afc[7], maxLength : 500, label : _0x3afc[49], required : false }, { name : _0x3afc[50], type : _0x3afc[7], maxLength : 100, label : _0x3afc[51], required : false }, { name : _0x3afc[52], type : _0x3afc[7], maxLength : 500, label : _0x3afc[53], required : false }, { name : _0x3afc[54], type : _0x3afc[7], maxLength : 100, label : _0x3afc[55], required : false }, { name : _0x3afc[56], type : _0x3afc[7], maxLength : 500, label : _0x3afc[57], required : false }, { name : _0x3afc[58], type : _0x3afc[7], maxLength : 100, label : _0x3afc[59], required : false }, { name : _0x3afc[60], type : _0x3afc[7], maxLength : 500, label : _0x3afc[61], required : false }, { name : _0x3afc[62], type : _0x3afc[7], maxLength : 100, label : _0x3afc[63], required : false }, { name : _0x3afc[64], type : _0x3afc[7], maxLength : 500, label : _0x3afc[65], required : false }, { name : _0x3afc[66], type : _0x3afc[7], maxLength : 100, label : _0x3afc[67], required : false }, { name : _0x3afc[68], type : _0x3afc[7], maxLength : 500, label : _0x3afc[69], required : false }, { name : _0x3afc[70], type : _0x3afc[7], maxLength : 100, label : _0x3afc[71], required : false }, { name : _0x3afc[72], type : _0x3afc[7], maxLength : 500, label : _0x3afc[73], required : false }, { name : _0x3afc[74], type : _0x3afc[7], maxLength : 100, label : _0x3afc[75], required : false }, { name : _0x3afc[76], type : _0x3afc[7], maxLength : 500, label : _0x3afc[77], required : false }, { name : _0x3afc[78], type : _0x3afc[7], maxLength : 100, label : _0x3afc[79], required : false }, { name : _0x3afc[80], type : _0x3afc[7], maxLength : 500, label : _0x3afc[81], required : false }, { name : _0x3afc[82], type : _0x3afc[7], maxLength : 100, label : _0x3afc[83], required : false }, { name : _0x3afc[84], type : _0x3afc[7], maxLength : 500, label : _0x3afc[85], required : false }, { name : _0x3afc[86], type : _0x3afc[7], maxLength : 100, label : _0x3afc[87], required : false }, { name : _0x3afc[88], type : _0x3afc[7], maxLength : 500, label : _0x3afc[89], required : false }, { name : _0x3afc[90], type : _0x3afc[7], maxLength : 100, label : _0x3afc[91], required : false }, { name : _0x3afc[92], type : _0x3afc[7], maxLength : 500, label : _0x3afc[93], required : false }, { name : _0x3afc[94], type : _0x3afc[7], minLength : 7, maxLength : 7, label : _0x3afc[95], defaultValue : _0x3afc[96] }, { name : _0x3afc[97], type : _0x3afc[7], minLength : 7, maxLength : 7, label : _0x3afc[98], defaultValue : _0x3afc[99] }, { name : _0x3afc[100], type : _0x3afc[7], minLength : 7, maxLength : 7, label : _0x3afc[101], defaultValue : _0x3afc[96] }, { name : _0x3afc[102], type : _0x3afc[7], minLength : 7, maxLength : 7, label : _0x3afc[103], defaultValue : _0x3afc[99] }]; /** @type {!Array} */ var rewards = []; /** @type {!Array} */ var winners = []; /** @type {number} */ var timeMS = 0; /** @type {number} */ var totalTips = 0; /** @type {number} */ var spinAmount = 0; /** * @param {?} formatters * @param {?} customFormatters * @return {undefined} */ function MyRewards(formatters, customFormatters) { this[_0x3afc[104]] = formatters; this[_0x3afc[105]] = customFormatters; } /** * @return {?} */ MyRewards[_0x3afc[107]][_0x3afc[106]] = function() { return this[_0x3afc[104]]; }; /** * @return {?} */ MyRewards[_0x3afc[107]][_0x3afc[108]] = function() { return this[_0x3afc[105]]; }; /** * @return {?} */ MyRewards[_0x3afc[107]][_0x3afc[109]] = function() { return String(this.Details); }; /** * @param {?} formatters * @param {?} customFormatters * @return {undefined} */ function MyUser(formatters, customFormatters) { this[_0x3afc[110]] = formatters; this[_0x3afc[104]] = customFormatters; } /** * @return {?} */ MyUser[_0x3afc[107]][_0x3afc[106]] = function() { return this[_0x3afc[104]]; }; /** * @return {?} */ MyUser[_0x3afc[107]][_0x3afc[111]] = function() { return this[_0x3afc[110]]; }; /** * @return {?} */ MyUser[_0x3afc[107]][_0x3afc[112]] = function() { return this[_0x3afc[110]] + _0x3afc[113] + this[_0x3afc[104]] + _0x3afc[114]; }; cb[_0x3afc[121]](function(canCreateDiscussions) { var _0x4914xc = _0x3afc[115]; /** @type {number} */ var whiteRating = parseInt(cb[_0x3afc[116]][_0x3afc[10]], 0); if (whiteRating > 0) { /** @type {string} */ _0x4914xc = whiteRating.toString(); } return { "template" : _0x3afc[117], "row1_label" : _0x3afc[118], "row1_value" : totalTips.toString(), "row2_label" : _0x3afc[119], "row2_value" : spinAmount.toString(), "row3_label" : _0x3afc[120], "row3_value" : _0x4914xc }; }); cb[_0x3afc[125]](function(p) { /** @type {number} */ var ctlwidth = parseInt(p[_0x3afc[122]], 0); var ry = p[_0x3afc[123]]; /** @type {number} */ var mostHPDone = 1; /** @type {number} */ var dmg = parseInt(cb[_0x3afc[116]][_0x3afc[10]], 0); totalTips = totalTips + ctlwidth; if (ctlwidth >= spinAmount) { for (; ctlwidth >= spinAmount;) { if (dmg == 0) { spinWheel(ry); break; } if (mostHPDone <= dmg) { spinWheel(ry); mostHPDone++; } /** @type {number} */ ctlwidth = ctlwidth - spinAmount; } } cb[_0x3afc[124]](); }); cb[_0x3afc[152]](function(conversations) { var c = conversations[_0x3afc[126]]; var conversation = conversations[_0x3afc[127]]; if (conversations[_0x3afc[126]][0] != _0x3afc[128]) { return conversations; } /** @type {boolean} */ conversations[_0x3afc[129]] = true; if (conversations[_0x3afc[126]][_0x3afc[130]]() == _0x3afc[131] || conversations[_0x3afc[126]][_0x3afc[130]]() == _0x3afc[132] || conversations[_0x3afc[126]][_0x3afc[130]]() == _0x3afc[133]) { if (conversation === cb[_0x3afc[134]] || conversations[_0x3afc[135]] == true) { DisplayRewards(); } else { DisplayRewards(conversation); } } if (conversation === cb[_0x3afc[134]] || conversations[_0x3afc[135]] == true || conversation == _0x3afc[136]) { if (c[_0x3afc[137]](0, 5) == _0x3afc[138] || c[_0x3afc[137]](0, 3) == _0x3afc[139]) { outputColor(c[_0x3afc[141]](_0x3afc[138], _0x3afc[140])[_0x3afc[141]](_0x3afc[139], _0x3afc[140]), _0x3afc[140], cb[_0x3afc[116]].ColorBG, cb[_0x3afc[116]].ColorFC); return conversations; } if (c[_0x3afc[137]](0, 5) == _0x3afc[142] || c[_0x3afc[137]](0, 3) == _0x3afc[143]) { /** @type {!Array} */ var d2 = []; var minC = _0x3afc[140]; d2 = c[_0x3afc[145]](_0x3afc[144]); if (d2[_0x3afc[146]] >= 3) { minC = d2[1]; c = _0x3afc[140]; /** @type {number} */ var x = 2; for (; x < d2[_0x3afc[146]]; x++) { c = c + (d2[x] + _0x3afc[144]); } if (minC == cb[_0x3afc[134]]) { c = _0x3afc[147] + conversation + _0x3afc[148] + c[_0x3afc[130]](); outputColor(c, cb[_0x3afc[134]], cb[_0x3afc[116]][_0x3afc[100]], cb[_0x3afc[116]][_0x3afc[102]]); } else { outputColor(c, minC, cb[_0x3afc[116]].ColorBG, cb[_0x3afc[116]].ColorFC); } } } if (conversations[_0x3afc[126]][_0x3afc[130]]() == _0x3afc[149] || conversations[_0x3afc[126]][_0x3afc[130]]() == _0x3afc[150] || conversations[_0x3afc[126]][_0x3afc[130]]() == _0x3afc[151]) { DisplayWinners(conversation); } } return conversations; }); /** * @param {string} key * @return {undefined} */ function spinWheel(key) { var i = Math[_0x3afc[154]](Math[_0x3afc[153]]() * rewards[_0x3afc[146]]); var node_style_list = _0x3afc[140]; var enemy = _0x3afc[140]; /** @type {number} */ var _0x4914x1c = 0; var rootElementKey = _0x3afc[140]; node_style_list = rewards[i]; rootElementKey = node_style_list.GetReward(); SendNotice(_0x3afc[155] + rootElementKey + _0x3afc[156]); if (node_style_list.HasDetails()) { /** @type {number} */ _0x4914x1c = 0; /** @type {number} */ var i = 0; for (; i < winners[_0x3afc[146]]; i++) { enemy = winners[i]; if (enemy.GetName() == key && enemy.GetReward() == rootElementKey) { /** @type {number} */ _0x4914x1c = 1; break; } } if (_0x4914x1c == 0) { winners[_0x3afc[157]](new MyUser(key, rootElementKey)); } outputColor(_0x3afc[158] + rootElementKey + _0x3afc[159] + node_style_list.GetDetail() + _0x3afc[160], key, cb[_0x3afc[116]].ColorBG, cb[_0x3afc[116]].ColorFC); } } /** * @param {string} messages * @return {undefined} */ function DisplayWinners(messages) { var _0x4914x1e = _0x3afc[140]; messages = _0x3afc[140]; /** @type {number} */ var j = 0; for (; j < winners[_0x3afc[146]]; j++) { if (_0x4914x1e[_0x3afc[146]] > 0) { _0x4914x1e = _0x4914x1e + _0x3afc[161]; } messages = winners[j]; _0x4914x1e = _0x4914x1e + messages.Print(); } if (_0x4914x1e[_0x3afc[146]] > 0) { SendNotice(_0x3afc[162] + _0x4914x1e + _0x3afc[163], messages); } else { SendNotice(_0x3afc[164], messages); } } /** * @param {string} arg * @return {undefined} */ function DisplayRewards(arg) { var asyncTime = _0x3afc[165]; var node_style_list = _0x3afc[140]; var _0x4914x12 = cb[_0x3afc[116]][_0x3afc[6]]; /** @type {number} */ var i = 0; for (; i < rewards[_0x3afc[146]]; i++) { node_style_list = rewards[i]; if (node_style_list.HasDetails()) { asyncTime = asyncTime + (node_style_list.GetReward() + _0x3afc[161]); } } outputColor(_0x4914x12[_0x3afc[141]](_0x3afc[166], spinAmount.toString()), arg, cb[_0x3afc[116]].ColorBG, cb[_0x3afc[116]].ColorFC); SendNotice(asyncTime, arg); } /** * @param {?} result * @param {string} messages * @return {undefined} */ function SendNotice(result, messages) { if (messages != undefined && messages[_0x3afc[146]] > 0) { cb[_0x3afc[167]](result, messages); } else { cb[_0x3afc[167]](result); } } /** * @param {?} result * @param {string} num * @param {?} message * @param {?} carat * @return {undefined} */ function outputColor(result, num, message, carat) { if (num != undefined && num[_0x3afc[146]] > 0) { cb[_0x3afc[167]](result, num, message, carat, _0x3afc[168]); } else { cb[_0x3afc[167]](result, _0x3afc[140], message, carat, _0x3afc[168]); } } /** * @return {undefined} */ function NoticeTimer() { /** @type {number} */ var whiteRating = parseInt(cb[_0x3afc[116]][_0x3afc[4]], 0); if (whiteRating > 0) { DisplayRewards(); cb[_0x3afc[169]](NoticeTimer, timeMS); } } /** * @return {undefined} */ function LoadSettings() { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[12]], cb[_0x3afc[116]][_0x3afc[15]])); if (cb[_0x3afc[116]][_0x3afc[18]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[18]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[18]], cb[_0x3afc[116]][_0x3afc[20]])); } } if (cb[_0x3afc[116]][_0x3afc[22]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[22]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[22]], cb[_0x3afc[116]][_0x3afc[24]])); } } if (cb[_0x3afc[116]][_0x3afc[26]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[26]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[26]], cb[_0x3afc[116]][_0x3afc[28]])); } } if (cb[_0x3afc[116]][_0x3afc[30]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[30]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[30]], cb[_0x3afc[116]][_0x3afc[32]])); } } if (cb[_0x3afc[116]][_0x3afc[34]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[34]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[34]], cb[_0x3afc[116]][_0x3afc[36]])); } } if (cb[_0x3afc[116]][_0x3afc[38]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[38]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[38]], cb[_0x3afc[116]][_0x3afc[40]])); } } if (cb[_0x3afc[116]][_0x3afc[42]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[42]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[42]], cb[_0x3afc[116]][_0x3afc[44]])); } } if (cb[_0x3afc[116]][_0x3afc[46]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[46]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[46]], cb[_0x3afc[116]][_0x3afc[48]])); } } if (cb[_0x3afc[116]][_0x3afc[50]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[50]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[50]], cb[_0x3afc[116]][_0x3afc[52]])); } } if (cb[_0x3afc[116]][_0x3afc[54]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[54]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[54]], cb[_0x3afc[116]][_0x3afc[56]])); } } if (cb[_0x3afc[116]][_0x3afc[58]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[58]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[58]], cb[_0x3afc[116]][_0x3afc[60]])); } } if (cb[_0x3afc[116]][_0x3afc[62]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[62]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[62]], cb[_0x3afc[116]][_0x3afc[64]])); } } if (cb[_0x3afc[116]][_0x3afc[66]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[66]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[66]], cb[_0x3afc[116]][_0x3afc[68]])); } } if (cb[_0x3afc[116]][_0x3afc[70]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[70]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[70]], cb[_0x3afc[116]][_0x3afc[72]])); } } if (cb[_0x3afc[116]][_0x3afc[74]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[74]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[74]], cb[_0x3afc[116]][_0x3afc[76]])); } } if (cb[_0x3afc[116]][_0x3afc[78]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[78]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[78]], cb[_0x3afc[116]][_0x3afc[80]])); } } if (cb[_0x3afc[116]][_0x3afc[82]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[82]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[82]], cb[_0x3afc[116]][_0x3afc[84]])); } } if (cb[_0x3afc[116]][_0x3afc[86]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[86]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[86]], cb[_0x3afc[116]][_0x3afc[88]])); } } if (cb[_0x3afc[116]][_0x3afc[90]] != undefined) { if (cb[_0x3afc[116]][_0x3afc[90]][_0x3afc[146]] > 0) { rewards[_0x3afc[157]](new MyRewards(cb[_0x3afc[116]][_0x3afc[90]], cb[_0x3afc[116]][_0x3afc[92]])); } } /** @type {number} */ timeMS = parseInt(cb[_0x3afc[116]][_0x3afc[4]], 0) * 6E4; /** @type {number} */ spinAmount = parseInt(cb[_0x3afc[116]][_0x3afc[1]], 0); } /** * @param {?} number * @return {?} */ Number[_0x3afc[107]][_0x3afc[170]] = function(number) { number = Math[_0x3afc[171]](10, number); return Math[_0x3afc[170]](this * number) / number; }; /** * @param {?} validation * @return {?} */ Array[_0x3afc[107]][_0x3afc[172]] = function(validation) { var definedValidation = this[_0x3afc[146]]; for (; definedValidation--;) { if (this[definedValidation] === validation) { return true; } } return false; }; /** * @return {?} */ String[_0x3afc[107]][_0x3afc[130]] = function() { return this[_0x3afc[141]](/^\s+|\s+$/g, _0x3afc[140]); }; /** * @param {?} _nickname * @return {undefined} */ Array[_0x3afc[107]][_0x3afc[173]] = function(_nickname) { /** @type {number} */ i = 0; for (; i < this[_0x3afc[146]]; i++) { if (this[i] == _nickname) { /** @type {number} */ i2 = i; for (; i2 < this[_0x3afc[146]] - 1; i2++) { this[i2] = this[i2 + 1]; } /** @type {number} */ this[_0x3afc[146]] = this[_0x3afc[146]] - 1; return; } } }; /** * @return {undefined} */ function init() { var first_result = _0x3afc[174]; SendNotice(first_result); LoadSettings(); NoticeTimer(); cb[_0x3afc[124]](); } init();
© Copyright Chaturbate 2011- 2026. All Rights Reserved.