Apps Home
|
Create an App
O1
Author:
rinksrat1
Description
Source Code
Launch App
Current Users
Created by:
Rinksrat1
var progBar = ""; var tipPC = 0; function init() { cb.sendNotice("**************************** \n *****Spanishstar FuckMachine Control by Silici0***** \n ****************************",cb.room_slug); if (Auto1=="no") { cb.sendNotice("**************************** \n Fuckmachine's Auto-thank-you is OFF \n ****************************",cb.room_slug); } cb.settings.goalMode && cb.settings.levelMode && cb.settings.messColor && (goalMode = goalModeList[cb.settings.goalMode].m, levelMode = levelModeList[cb.settings.levelMode].level, messColor = colorList[cb.settings.messColor].c), cb.settings.tags && (tags = cb.settings.tags.trim() ? cb.settings.tags : ""), (!tags || tags.toLowerCase().indexOf("fuckmachine") < 0) && (tags += "#FuckMachine"); var e = mySplit(tags); tags = ""; for (var t = 0; t < e.length; t++) tags += "#" == e[t].substring(0, 1) ? e[t] : "#" + e[t]; initNotice(), cb.settings.levelTitle && (levelTitle = cb.settings.levelTitle.trim() ? cb.settings.levelTitle : "My FuckMachine works with your Tips"), levelMode && initLevel(), noteNb || cbjs.arrayRemove(nextArray, "NOTE"), levelMode || cbjs.arrayRemove(nextArray, "LEVEL"), nextArray.length && (next = nextArray[nextIndex], cb.setTimeout(roomDisplay, 2e4)), runGoal(owner) } function onTip(e, t) { actionIndic += 1, tipNb += 1, tipSum += t; var n = manageTotalList(e, t); if (n > maxSum && (maxSum = n, maxSumUsr = e), t > maxTip && (maxTip = t, maxTipUsr = e), goalOn) { goalSum += t, lastTipper = e, lastTip = t; var o = manageUserList(e, t); o > mvpSum && (mvpSum = o, mvpName = e), t > higherTip && (higherTip = t, higherTipName = e), "COUNTER" != goalMode && ("SINGLE" != goalMode || goalReached ? "MULTI" == goalMode && watchMultiGoal(e, t) : watchSingleGoal(t)), changePanel() } } function initNotice() { for (var e = 1; maxNotice >= e; e++) { var t = cb.settings["notice" + e] ? cb.settings["notice" + e].trim() : ""; t && (noteList[++noteNb] = { note: t }) } } function initLevel() { for (var e = 1; maxLevel >= e; e++) { var t = cb.settings["level" + e] ? cb.settings["level" + e].trim() : ""; t && (levelNotice += "LIST" == levelMode ? sqr + t + skp : sqr + t) } } function runGoal(e) { goalOn = !0, goalReached = !1, remaining = setRemaining, goalNb = 0, goalSum = 0, goalUsrNb = 0, lastTipper = "", lastTip = 0, mvpName = "", mvpSum = 0, userList = {}, higherTipName = "", higherTip = 0, runNb++ && showGoalInfo(e), changeSubject(), changePanel() } function manageTotalList(e, t) { return e in totalList ? totalList[e].sum += t : totalList[e] = { sum: t, num: ++usrNb }, totalList[e].sum } function manageUserList(e, t) { return e in userList ? userList[e].sum += t : userList[e] = { sum: t, num: ++goalUsrNb }, userList[e].sum } function watchSingleGoal(e) { if (remaining -= e, !(remaining > 0)) { goalReached = !0, goalOn = !1, cb.changeRoomSubject(roomSubject + " Goal reached : " + goalSubject + " " + tags); var t = xLine(6); sendTitle(all, t + skp + "Goal Reached : Thanks you so much." + skp + t, cbColor) } } function watchMultiGoal(e, t) { remaining -= t; var n = Math.floor(t / setRemaining); if (n += 0 >= remaining + n * setRemaining ? 1 : 0, goalNb += n, remaining += n * setRemaining, n) { var o = 1 == n ? " Goal " + goalNb : " Goals " + (goalNb - n + 1) + (2 == n ? " and " : " to ") + goalNb; sendTitle(all, sqr + sqr + sqr + qt(e) + " reached " + o + sqr + sqr + sqr, cbColor) } } function round(value) { return Number(Math.floor(value)); } function changeSubject() { var e = roomSubject; "COUNTER" != goalMode && (e += ("SINGLE" == goalMode ? " - Goal is : " : " - Multi-Goal : ") + goalSubject), cb["changeRoomSubject"](e + " " + tags) } function changePanel() { progBar = ""; var tipPercent = 0; var tipPercentInt = 0; var whiteBlock = "\u25BF"; var greyBlock = "\u2661" var blackBlock = "\u2764"; var black, grey, white; if (setRemaining - remaining > cb.settings.setRemaining) { tipPercent = 100; } else { tipPercent = round(((setRemaining - remaining)/cb.settings.setRemaining)*200)}; tipPercentInt = parseInt(tipPercent,10); tipPC = tipPercent; // How many blocks of each are needed? black = (tipPercentInt - (tipPercentInt % 10)) / 10; grey = (tipPercentInt % 10) > 0 ? 1 : 0; white = 20 - (black + grey); // Build progress bar for (i = 0; i < black; i++) progBar += blackBlock; grey === 1 ? progBar += greyBlock : progBar += ""; for (i = 0; i < white; i++) progBar += whiteBlock; return goalReached ? (row1 = "Goal Reached - Thanks all.", row2 = "", row3 = "Sofia"+"'"+"s Best Lover"+"\u2665" + cut(mvpName) + "\u2665" + mvpSum , cb["drawPanel"]()) : goalOn ? "COUNTER" == goalMode ? (goalSum ? (row1 = x(usrNb, "Lover$") + (tokenOn ? " - " + x(goalSum, "Token$ Received") : ""), row2 = "Sofia"+"'"+"s Best Lover"+"\u2665" + cut(mvpName) + "\u2665" + mvpSum, row3 = "Last Tip" +"\u2606" + cut(lastTipper) +"\u2606" + lastTip) : (row1 = "My Fuck Machine reacts to your Tips", row2 = "Tip to Start", row3 = ""), cb["drawPanel"]()) : "MULTI" == goalMode ? (row1 = "Goal #" + (goalNb + 1) + " : " + (setRemaining - remaining) + " / " + setRemaining + " [ " + remaining + " Remaining ]" + (tokenOn && goalNb >= 1 ? " (" + goalSum + ")" : ""), goalSum ? (row2 = '\u2764 '+progBar, row3 = "Sofia"+"'"+"s Best Lover"+"\u2665" + cut(mvpName) + "\u2665" + mvpSum) : (row2 = "My fuck Machine reacts to your Tips", row3 = "Tip to Start"), cb["drawPanel"]()) : "SINGLE" == goalMode ? (row1 = tokenOn ? "Goal - " + goalSum + " / " + setRemaining + " [ " + remaining + " Remaining ]" : "Goal Remaining [ " + remaining + " ] ", goalSum ? (row2 = progBar, row3 = "Sofia"+"'"+"s Best Lover"+"\u2665" + cut(mvpName) + "\u2665" + mvpSum) : (row2 = "My Fuck Machine reacts to your Tips", row3 = "Tip to Start"), cb["drawPanel"]()) : void(0) : cb["drawPanel"]() } function showGoalInfo(e, t) { var n = ""; (setRemaining != cb.settings.setRemaining || goalMode != goalModeList[cb.settings.goalMode].mode || goalSubject != cb.settings.goalSubject) && (n = sqr + qt("/goal init") + " if you want to restaure initial settings." + skp); var o = xLine(7), a = skp + o + skp + lck + "Goal Parameters :" + skp, i = sy(1, t) + "Amount : " + qt("/goal <X>") + " : " + setRemaining + skp + sy(2, t) + "Mode : " + qt("/goal [ single / multi / counter ]") + " : " + goalMode + skp + sy(3, t) + "Goal is : " + qt("/goal <description>") + " : " + goalSubject + skp + sqr + "Run goal : " + qt("/goal [ on / off ]") + " : " + (goalOn ? "ON" : "OFF") + (goalReached ? " - (Goal Reached) " : "") + skp, l = (goalOn ? lck + "Goal is ON (Running)." + skp + sqr + "Description (only) is updatable." + skp + sqr + qt("/goal off") + " to stop running the goal." + skp : lck + "Goal is OFF " + (goalReached ? "(Goal Reached). " : ".") + skp + (goalReached ? sqr + "(" + qt("/goal off") + " if you want to clear the screen.)" + skp : "") + sqr + "All parameters are updatable." + skp + n + sqr + qt("/goal on") + " to run the Goal." + skp) + o + skp; sendTitle(e, a), sendNote(e, i), sendTitle(e, l) } function sy(e, t) { return e == t ? trg : sqr } function cmdSum(e) { if (0 == tipNb) return sendTitle(e, lck + "SUMMARY : No Tipper yet."); var t = xLine(5), n = elapsTime(startTime, "[hms]"), o = skp + t + skp + lck + appName + skp + t + skp + sqr + "RunningTime : " + n + skp + sqr + " SUMMARY (since the App Started) :", a = "" + dot + x(usrNb, "Tipper$ / ") + x(Math.round(tipSum / usrNb), "token$ by Tipper.") + skp + dot + "Highest Tipper : " + qt(maxSumUsr) + " : " + x(maxSum, "Token$.") + skp + dot + "Highest Tip : " + qt(maxTipUsr) + " : " + x(maxTip, "Token$."), i = "" + t + skp + sqr + "Total received : " + x(tipSum, "Token$.") + skp + t + skp + sqr + qt("/sum") + " to display a Summary again."; sendTitle(e, o), sendNote(e, a), sendTitle(e, i) } function cmdToken(e, t) { return 1 == t.length ? sendTitle(e, skp + lck + "Token Received Setting is : " + (tokenOn ? "ON" : "OFF") + skp + dot + qt("/token on") + " : Display the Total Tokens received in Panel." + skp + dot + qt("/token off") + " : Stop display the Total Tokens received." + skp) : "on" == t[1] ? tokenOn ? sendTitle(e, lck + "Token Received Display already ON") : (tokenOn = !0, sendTitle(e, lck + "Token Received Display settled ON."), void(goalOn && changePanel())) : "off" == t[1] ? tokenOn ? (tokenOn = !1, goalOn && changePanel(), void sendTitle(e, lck + "Token Received Display settled OFF.")) : sendTitle(e, lck + "Token Received Display already OFF") : "Format : " + qt("/token <on/off>") } function roomDisplay() { var e = 1; actionIndic >= minAction && (nextDisplay(), actionIndic = 0, e = noteNb && "LEVEL" == next ? 1 : minuteNb), cb.setTimeout(roomDisplay, 6e4 * e) } function nextDisplay() { "LEVEL" == next ? levelDisplay(all) : "NOTE" == next && noteDisplay(), nextIndex = nextIndex >= nextArray.length - 1 ? 0 : nextIndex + 1, next = nextArray[nextIndex] } function noteDisplay() { cycleNum = cycleNum >= noteNb ? 1 : cycleNum + 1, sendTitle(all, noteList[cycleNum].note) } function levelDisplay(e) { "LINE" == levelMode ? sendTitle(e, skp + levelTitle + " : " + levelNotice + skp) : sendTitle(e, skp + levelTitle + " : " + skp + levelNotice) } function cut(e) { return qt(e.substring(0, 25)) } function watchCommand(e) { for (var t in cmdList) { var n = e.toLowerCase().indexOf(t); if (n >= 0) { var o = mySplit(e.substring(n)); return e.substring(n).replace(o[0], cmdList[t].cmd) } } } function errorCmd(e, t, n) { sendTitle(e, skp + lck + " Error command : /" + n + skp + sqr + t + skp) } function onTest(e) { var t = e.indexOf("tip"); if (-1 != t) { var n = mySplit(e.substring(t)); if (3 == n.length) { var o = n[1], a = parseInt(n[2]); isNaN(a) || 0 >= a || onTip(o, a) } } } function isOwner(e) { return e == cb.room_slug } function sendTitle(e, t, n) { var o = n ? n : messColor; o = isOwner(e) ? "#000000" : o, cb.sendNotice(t, e, "", o, "bolder") } function sendNote(e, t, n) { var o = n ? n : messColor; cb.sendNotice(t, e, "", o, "normal") } function trimEmot(e) { e = e.replace(/\[/g, ""), e = e.replace(/\]/g, ""); for (var t = mySplit(e), n = 0; n < t.length; n++) ":" == t[n][0] && t[n].length > 1 && (e = e.replace(t[n], "")); return e } function mySplit(e) { return e.trim().replace(/\s+/g, " ").split(" ") } function myRandom(e, t) { return Math.floor(e + Math.random() * (t - e + 1)) } function elapsTime(e, t) { var n = (new Date).getTime(); return toHms(n, e, t) } function toHms(e, t, n) { var o = (e - t) / 1e3, a = o / 86400; a = a >= 1 ? a - a % 1 : 0; var i = (o - 3600 * a * 24) / 3600; i -= i % 1; var l = o % 3600 / 60; l -= l % 1; var s = o % 3600 - 60 * l; s -= s % 1; var r = a > 0 ? x(a, "Day$ ") : "", c = 10 > i ? "0" + i : i, m = 10 > l ? "0" + l : l, u = 10 > s ? "0" + s : s, p = r + c + ":" + m + ":" + u, g = n; return g = g.replace("day", r), g = g.replace("hour", "00" == c ? "" : x(i, "hour$ ")), g = g.replace("minute", "00" == m ? "" : x(l, "minute$ ")), g = g.replace("seconde", "00" == u ? "" : s + " sec"), g = g.replace("hms", p), g.replace(/ /g, "") ? g : "00" } function xLine(e) { var t = ""; for (e *= 5; e--;) t += lne; return t } function qt(e) { return ' "' + e + '"' } function x(e, t) { return e + " " + t.replace("$", e > 1 ? "s" : "") } function y(e, t) { return t.replace("$", e > 1 ? "s" : "") } var appName = " [ Spanishstar Fuckamchine Control ] ", owner = cb.room_slug, startTime = (new Date).getTime(), yr = 16436, mth = 5, messColor = "#6900CC", cbColor = "#DC5500", all = "", skp = "\n", dot = " \\u2981 ", hrt = " \\u2665 ", sqr = " \\u25A0 ", trg = " \\u25B6 ", lne = "\\u2500", lck = " :w__lck ", wht = " :w__wht "; cb.settings_choices = [{ name: "NoteAutor", label: "Featured App for SpanishStar from silici0. The control App is in her computer, this is only information", type: "str", defaultValue: "Thank you to be different" }, { name: "roomSubject", label: "1. ROOM SETTINGS ........ Room Subject", type: "str", minLength: 1, maxLength: 150, required: !0, defaultValue: " My FuckMachine works with Tips" }, { name: "tags", label: "Tags (#) ", type: "str", minLength: 1, maxLength: 120, required: !1, defaultValue: "FuckMachine" }, { name: "tokenOn", label: "Mostrar Tokens ganados?", type: "choice", choice1: 'Display "Total Received" in Panel', choice2: "Not displayed", "default": 'Display "Total Received" in Panel' }, { name: "messColor", label: "2. NOTICES SETTINGS ... - Display Color", type: "choice", choice1: "Orange", choice2: "Blue", choice3: "Purple", choice4: "Pink", choice5: "Dark_Red", choice6: "Black", defaultValue: "Dark_Red" }, { name: "minuteNb", label: " (minutes) - Display Time ", type: "int", minValue: 1, maxValue: 30, defaultValue: 1 }, { name: "levelMode", label: "- Notification of Sofia FuckMachine levels", type: "choice", choice1: "NO (next info will not be used)", choice2: "YES - Mode List", choice3: "YES - Single Line", defaultValue: "YES - Mode List" }, { name: "levelTitle", label: "Level Title", type: "str", minLength: 0, maxLength: 10240, required: !0, defaultValue: "Sofia´s FuckMachine is fully customiced. The controller is in her computer. Works with your tips. THERE ARE FIVE LEVELS" }, { name: "level1", label: "Level 1 ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "Level 1 - Tip (1-14)" }, { name: "level2", label: "Level 2 ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "Level 2 - Tip (15-99)" }, { name: "level3", label: "Level 3 ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "Level 3 - Tip (100-499)" }, { name: "level4", label: "Level 4 ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "Level 4 - Tip (500-999)!" }, { name: "level5", label: "Level 5 ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "Level 5 - Tip (1000+)" }, { name: "notice1", label: "- Optional Additional ...... Notice 1 ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: " SpanishStar´s FuckMachine works with your Tips, Give me pleasure!!!" }, { name: "notice2", label: "Notice 2 ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: " Make my WET and FUCK ME with your TIPS!!!" }, { name: "notice3", label: "Notice 3 ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: " My FuckMachine really works with your tips, no fake, customiced controller in my computer that can read the Tips " }, { name: 'Auto1', type: 'choice', choice1: 'yes', choice2: 'no', defaultValue: 'no', label: "3.******Responder a los tips con texto?******(10 notificaciones, personalizalas)" }, { name: "ColorThanks15", label: "Notice color Thank you 15-99 Tks (html code default pink #FF00FF) ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "#FF00FF" },{ name: "Thanks15", label: "1 Random Thank you for 15 to 99 ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: " :heart2 Thank you, I love it!!:heart2 " },{ name: "Thanks16", label: "2 Random Thank you for 15 to 99 ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "Thank you, I love it!!" }, { name: "Thanks17", label: "3 Random Thank you for 15 to 99 ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "Thank you!!" }, { name: "Thanks18", label: "4 Random Thank you for 15 to 99 ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "Thank you!! :heart2 " },{ name: "ColorThanks100", label: "Notice color Thank you 100-499 Tks (html code default darkblue #0101DF) ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "#0101DF" }, { name: "Thanks100", label: "1 Random Thank you for 100 to 499 ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "Oh YES, You know how to make me moan :heart2 " },{ name: "Thanks101", label: "2 Random Thank you for 100 to 499 ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "YES, YES YES, You know how to fuck me, thank you!!" },{ name: "Thanks102", label: "3 Random Thank you for 100 to 499", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "You know how to make me happy my love, thank you!!" },{ name: "ColorThanks500", label: "Notice color Thank you 500-999 Tks (html code default red #FF0000) ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "#FF0000" }, { name: "Thanks500", label: "1 Random Thank you for 500 to 999 ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "OMG! Don't stop please" }, { name: "Thanks501", label: "2 Random Thank you for 500 to 999", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "OMG! I really love this, Thank you!!!" }, { name: "ColorThanks1000", label: "Notice color Thank you 1000 or more Tks (html code default purple #8904B1) ", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "#8904B1" },{ name: "Thanks1000", label: "Thank you for 1000 or more", type: "str", minLength: 0, maxLength: 10240, required: !1, defaultValue: "Yeeeeeeeeeah!!!!!! , This is true love, thank you so much :heart2" }, { name: "goalMode", label: "4.*****GOAL SETTINGS - (recomendado el Multi o el NO)*****", type: "choice", choice1: "NO (next info will not be used)", choice2: "Single Goal", choice3: "Multi Goals (Repeated)", "default": "NO (next info will not be used)" }, { name: "goalSubject", label: "Goal is ....", type: "str", minLength: 1, maxLength: 200, required: !0, defaultValue: "Escribe aqui un goal si elegiste Single Goal" }, { name: "setRemaining", label: "Amount", type: "int", minValue: 0, maxValue: 9999999, defaultValue: 2e3 }]; var minuteNb = parseInt(cb.settings.minuteNb), minAction = 5, actionIndic = minAction, cycleNum = 0, nextArray = ["LEVEL", "NOTE"], nextIndex = 0, next = "", roomSubject = cb.settings.roomSubject, levelTitle = "", maxLevel = 5, levelMode = "", levelNotice = "", levelModeList = {}; levelModeList["NO (next info will not be used)"] = { level: "" }, levelModeList["YES - Mode List"] = { level: "LIST" }, levelModeList["YES - Single Line"] = { level: "LINE" }; var maxNotice = 3, noteList = {}, noteNb = 0, tipSum = 0, tipNb = 0, lastTipper = "", lastTip = 0, mvpName = "", mvpSum = 0, userList = {}, higherTip = 0, higherTipName = "", totalList = {}, usrNb = 0, maxSum = 0, maxSumUsr = "", maxTip = 0, maxTipUsr = "", NoteAutor = cb.settings.NoteAutor, Auto1 = cb.settings.Auto1, ColorThanks15 = cb.settings.ColorThanks15, ColorThanks100 = cb.settings.ColorThanks100, ColorThanks500 = cb.settings.ColorThanks500, ColorThanks1000 = cb.settings.ColorThanks1000, Thanks1005 = cb.settings.Thanks1005, Thanks15 = cb.settings.Thanks15, Thanks16 = cb.settings.Thanks16, Thanks17 = cb.settings.Thanks17, Thanks18 = cb.settings.Thanks18, Thanks100 = cb.settings.Thanks100, Thanks101 = cb.settings.Thanks101, Thanks102 = cb.settings.Thanks102, Thanks500 = cb.settings.Thanks500, Thanks501 = cb.settings.Thanks501, Thanks1000 = cb.settings.Thanks1000, tokenOn = "Not displayed" == cb.settings.tokenOn ? !1 : !0, goalMode = "", goalSubject = cb.settings.goalSubject, setRemaining = parseInt(cb.settings.setRemaining), goalOn = !0, goalReached = !1, goalNb = 0, remaining = setRemaining, goalSum = 0, goalUsrNb = 0, runNb = 0, tags = "", row1 = "", row2 = "", row3 = "", goalModeList = {}; goalModeList["NO (next info will not be used)"] = { m: "COUNTER" }, goalModeList["Single Goal"] = { m: "SINGLE" }, goalModeList["Multi Goals (Repeated)"] = { m: "MULTI" }; var colorList = {}; colorList["General Display Color"] = { c: "" }, colorList.Orange = { c: "#DC5500" }, colorList.Blue = { c: "#6900CC" }, colorList.Purple = { c: "#323F75" }, colorList.Pink = { c: "#FA5858" }, colorList.Dark_Red = { c: "#9F000F" }, colorList.Black = { c: "#000000" }; var cmdList = {}; cmdList["/goa"] = { cmd: "goal" }, cmdList["!goa"] = { cmd: "goal" }, cmdList["/sum"] = { cmd: "sum" }, cmdList["!sum"] = { cmd: "sum" }, cmdList["/tok"] = { cmd: "token" }, cmdList["!tok"] = { cmd: "token" }, cb.onEnter(function(e) { var t = e.user; isOwner(t) || levelMode && levelDisplay(t) }), cb.onMessage(function(e) { { var t = e.user, n = e.m, o = e.is_mod; !e.has_tokens } actionIndic += 1 }), cb.onTip(function(e) { var t = parseInt(e.amount), n = e.from_user; onTip(n, t); var ramThanks = Math.round(Math.random()*10); if (cb.settings.Auto1 == 'yes'){ if (e['amount'] >14 && e['amount']<100 && ramThanks < 4) { cb.chatNotice(Thanks15,'','',ColorThanks15, 'bold'); } if (e['amount'] >14 && e['amount']<100 && ramThanks >= 4 && ramThanks <6) { cb.chatNotice(Thanks16,'','',ColorThanks15, 'bold'); } if (e['amount'] >14 && e['amount']<100 && ramThanks >= 6 && ramThanks <8) { cb.chatNotice(Thanks17,'','',ColorThanks15, 'bold'); } if (e['amount'] >14 && e['amount']<100 && ramThanks >= 8) { cb.chatNotice(Thanks18,'','',ColorThanks15, 'bold'); } if (e['amount'] >99 && e['amount']<500 && ramThanks < 3) { cb.chatNotice(Thanks100+" :heart2 "+n+" :heart2 ",'','',ColorThanks100, 'bold'); } if (e['amount'] >99 && e['amount']<500 && ramThanks >= 3 && ramThanks <6) { cb.chatNotice(Thanks101+" :heart2 "+n+" :heart2 ",'','',ColorThanks100, 'bold'); } if (e['amount'] >99 && e['amount']<500 && ramThanks >= 6) { cb.chatNotice(Thanks102+" :heart2 "+n+" :heart2 ",'','',ColorThanks100, 'bold'); } if (e['amount']>499 && e['amount']<1000 && ramThanks < 5) { cb.chatNotice(Thanks500+" :heart2 "+n+" :heart2 ",'','',ColorThanks500, 'bold'); } if (e['amount']>499 && e['amount']<1000 && ramThanks >= 5) { cb.chatNotice(Thanks501+" :heart2 "+n+" :heart2 ",'','',ColorThanks500, 'bold'); } if (e['amount']>999) { cb.chatNotice(Thanks1000+" :heart2 "+n+" :heart2 ",'','',ColorThanks1000, 'bold'); } } }), cb.onDrawPanel(function() { return { template: "3_rows_11_21_31", row1_value: row1, row2_value: row2, row3_value: row3 } }), init();
© Copyright Chaturbate 2011- 2024. All Rights Reserved.