Bots Home
|
Create an App
Make It Rain with Colors OS
Author:
opensauce
Description
Source Code
Launch Bot
Current Users
Created by:
Opensauce
function x() { return "#000000".replace(/0/g, function() { return (~~(16 * Math.random())).toString(16) }) } function y(a, b) { if (!(0 >= a)) { var c = e[b] || 0, f = e[b] = c + a; r[b] = (new Date).valueOf(); 25 > c && 25 <= f && cb.setTimeout(function() { cb.sendNotice("Remember to rate :ratesatisfied and also :followtag", b) }, 3E3) } } function z() { var a = [], b; for (b in e) e.hasOwnProperty(b) && a.push([e[b], -r[b], b]); 0 < a.length && a.sort(function(a, b) { for (var c = 0; c < a.length; c++) { if (a[c] < b[c]) return 1; if (a[c] > b[c]) return -1 } return 0 }); return a } function l(a, b) { var c = z(), f = b ? c.length : 3, e = "Todays Top Tippers Leaderboard"; if (!a) { var d, h = ""; for (d = 0; 3 > d; d++) 0 < d && (h += "|"), d < c.length && (h += c[d][2]); d = h; if (d == t) return; t = d } 3 > f && (f = 3); f < c.length && (e += " Top 3 (Type !lb to see Leader Board)"); b && (e += " [Leader Board Top 3 Tippers]"); for (d = 0; d < f; d++) { h = "\n" + (d + 1) + ". "; if (d < c.length) { var g = c[d]; g = g[2] + " (" + g[0] + " token" + (1 != g[0] ? "s" : "") + ")" } else g = "--"; e += h + g } cb.sendNotice(e, b, "#FFFFFF", "#000000", "bold"); b || u() } function A() { var a = cb.settings.print_on_tip; if ("never" != a) { var b = ++m; cb.setTimeout(function() { m == b && l("always" == a) }, 5E3) } } function u() { var a = cb.settings.print_interval; if (0 < a) { var b = ++v; cb.setTimeout(function() { v == b && l(!n) }, 6E4 * a); n = !0 } } function w() { var a = cb.settings.ad_time, b; "5" == a ? b = "300000" : "10" == a ? b = "600000" : "15" == a ? b = "900000" : "20" == a && (b = "1200000"); cb.sendNotice(" :rainingluv Tip " + cb.settings.min_tokens + " To Make It Rain :raintkn", "", "#FFFFFF", "#FF0000", "bold"); cb.setTimeout(w, b) } var k = 0, p, q = cb.settings.rain_color, e = {}, r = {}, t = "", m = 0, v = 0, n = !0; cb.settings_choices = [{ name: "min_tokens", type: "int", minValue: 1, maxValue: 1E4, defaultValue: 150, label: "How Many Tokens to Make It Rain?" }, { name: "print_interval", type: "int", minValue: 0, defaultValue: 15, label: "When to Show Leader Board (minutes, 0 to disable)", required: !0 }, { name: "print_on_tip", type: "choice", choice1: "always", choice2: "only if the top 3 changed", choice3: "never", defaultValue: "Only if the top 3 changed", label: "Print top 3 after tips" }, { name: "rate", type: "choice", choice1: "yes", choice2: "no", defaultValue: "yes", label: "Remind tippers who tipped 25 tokens to rate" }, { name: "rain_amount", type: "int", minValue: 1, maxValue: 50, defaultValue: 25, label: "How Many Lines of Rain?" }, { name: "ad_time", type: "choice", choice1: "5", choice2: "10", choice3: "15", choice4: "20", defaultValue: "15", label: "Remind Users To Make It Rain (every 15 minutes is default)" }, { name: "rain_color", type: "choice", choice1: "Aqua", choice2: "Aquamarine", choice3: "Black", choice4: "Blue", choice5: "BlueViolet", choice6: "Chartreuse", choice7: "CornflowerBlue", choice8: "Cyan", choice9: "DarkBlue", choice10: "DarkCyan", choice11: "DarkGreen", choice12: "DarkOrange", choice13: "DarkOrchid", choice14: "DarkTurquoise", choice15: "DeepPink", choice16: "DodgerBlue", choice17: "ForestGreen", choice18: "Gold", choice19: "Green", choice20: "GreenYellow", choice21: "LawnGreen", choice22: "Lime", choice23: "LimeGreen", choice24: "Magenta", choice25: "Red", choice26: "RoyalBlue", choice27: "SpringGreen", choice28: "Turquoise", choice29: "Yellow", choice30: "Randomize Colors", defaultValue: "Randomize Colors", label: "Rain Color" }]; var B = { Aqua: "#00FFFF", Aquamarine: "#7FFFD4", Black: "#000000", Blue: "#0000FF", BlueViolet: "#8A2BE2", Chartreuse: "#7FFF00", CornflowerBlue: "#6495ED", Cyan: "#00FFFF", DarkBlue: "#00008B", DarkCyan: "#008B8B", DarkGreen: "#006400", DarkOrange: "#FF8C00", DarkOrchid: "#9932CC", DarkTurquoise: "#00CED1", DeepPink: "#FF1493", DodgerBlue: "#1E90FF", ForestGreen: "#228B22", Gold: "#FFD700", Green: "#008000", GreenYellow: "#ADFF2F", LawnGreen: "#7CFC00", Lime: "#00FF00", LimeGreen: "#32CD32", Magenta: "#FF00FF", Red: "#FF0000", RoyalBlue: "#4169E1", SpringGreen: "#00FF7F", Turquoise: "#40E0D0", Yellow: "#FFFF00" }; cb.onTip(function(a) { y(a.amount, a.from_user); A(); n = !1; if ("Randomize Colors" != q) var b = B[q]; else q = "Randomize Colors", b = x(); k = parseInt(a.amount); if (k >= cb.settings.min_tokens) { cb.sendNotice("$$$ " + a.from_user + " made it rain! $$$", "", "", b, "bolder"); for (p = 0; p < cb.settings.rain_amount; p++) { for (var c = Math.ceil(21 * Math.random()), e = ""; c;) e += "$", c--; cb.sendNotice(e, "", "", b, "bolder") } cb.sendNotice(a.from_user + " Tipped " + k + " For This Rain!", "", "#000000", "#00ff00", "bolder"); cb.sendNotice(" :thanks2 " + a.from_user + " For Tipping :mclap :blowkiss", "", "#FFFFFF", "#ff0000", "bolder"); cb.log(a.from_user + " Tipped " + k) } }); cb.onMessage(function(a) { 0 != a.m.indexOf("!lb") || a["X-Spam"] || (l(!0, a.user), a["X-Spam"] = !0); return a }); 0 == m && u(); w()
© Copyright Freesexcam 2011- 2024. All Rights Reserved.