Bots Home
|
Create an App
Tint
Author:
futurextest
Description
Source Code
Launch Bot
Current Users
Created by:
Futurextest
'use strict'; /** @type {!Array} */ var _0xe780 = ["", "raText", "Text to put in front of Cheetah Kisser messages (max. 20)", "str", "Cheetah Kisser", "raEmote", "Emoticon to put in front of Cheetah Kisser messages", ":tp-cheetah2", "raBGColor", "Cheetah Kisser background color - HTML color code without starting '#' e.g. (F5B608 is orangey/gold)", "7FEBE8", "raMinTip", "Minimum tip to become a Cheetah Kisser", "int", "raAnnounce", "Text to show when someone tips to become a Cheetah Kisser", "MEMBERNAME just joined the Cheetah Kisser group", "raMemberList", "List of current Cheetah Kissers, separated by commas (and they need to be the CB username exactly)", "", "raRainText", "Text to use for Cheetah Kisser rain lines", "Tiny Panthers Jungle welcomes a new Cheetah Kisser", "raRainCount", "Number of lines of Cheetah Kisser rain", "raEmoteEnter", "Emoticon Cheetah Kisser enter jungle", "raEnterjungle", "Enters the Jungle as a Cheetah Kisser text (End part)", "has entered the jungle!", "raBGEnter", "Cheetah Kisser enter Jungle Background color - HTML color code ", "#7FEBE8", "rbText", "Text to put in front of Puma Lover messages (max. 20)", "Puma Lover", "rbEmote", "Emoticon to put in front of Puma Lover messages", ":tp-puma1", "rbBGColor", "Puma Lover background color - HTML colour code without starting '#' e.g. (000000 is black)", "6CC3C1", "rbMinTip", "Minimum tip to become a Puma Lover", "rbAnnounce", "Text to show when someone tips to become a Puma Lover", "MEMBERNAME just joined the Puma Lover group", "rbMemberList", "List of current Puma Lovers, separated by commas (and they need to be the CB username exactly)", "rbRainText", "Text to use for Puma Lover rain lines", "Tiny Panthers Jungle welcomes a new Puma Lover", "rbRainCount", "Number of lines of Puma Lover rain", "rbEmoteEnter", "Emoticon Puma Lover enter Jungle", "rbEnterjungle", "Enters the Jungle as a Puma Lover text (End part)", "has entered the Jungle!", "rbBGEnter", "Puma Lover enter Jungle Background color - HTML color code", "#6CC3C1", "rcText", "Text to put in front of Jaguar Chief messages (max. 20)", "Jaguar Chief", "rcEmote", "Emoticon to put in front of Jaguar Chief messages", ":tp-jaguar", "rcBGColor", "Jaguar Chief background color - HTML colour code without starting '#' e.g. (F5B608 is orangey/gold)", "17DBE3", "rcMinTip", "Minimum tip to become a Jaguar Chief", "rcAnnounce", "Text to show when someone tips to become a Jaguar Chief", "MEMBERNAME just joined the Jaguar Chief group", "rcMemberList", "List of current Jaguar Chiefs, separated by commas (and they need to be the CB username exactly)", "rcRainText", "Text to use for Jaguar Chief rain lines", "Tiny Panthers Jungle welcomes a new Jaguar Chief", "rcRainCount", "Number of lines of Jaguar Chief rain", "rcEmoteEnter", "Emoticon Jaguar Chief enter Jungle", "rcEnterjungle", "Enters the Jungle as a Jaguar Chief text (End part)", "rcBGEnter", "Jaguar Chief enter Jungle Background color - HTML color code ", "#17DBE3", "rdText", "Text to put in front of Tiger Prince messages (max. 20)", "Tiger Prince", "rdEmote", "Emoticon to put in front of Tiger Prince messages", ":tp-tiger", "rdBGColor", "Tiger Prince background color - HTML colour code without starting '#' e.g. (F5B608 is orangey/gold)", "12B0B6", "rdMinTip", "Minimum tip to become a Tiger Prince", "rdAnnounce", "Text to show when someone tips to become a Tiger Prince", "MEMBERNAME just joined the Tiger Prince group", "rdMemberList", "List of current Tiger Princes, separated by commas (and they need to be the CB username exactly)", "rdRainText", "Text to use for Tiger Prince rain lines", "Tiny Panthers Jungle welcomes a new Tiger Prince", "rdRainCount", "Number of lines of Tiger Prince rain", "rdEmoteEnter", "Emoticon Tiger Prince enter Jungle", "rdEnterjungle", "Enters the Jungle as a Tiger Prince text (End part)", "rdBGEnter", "Tiger Prince enter Jungle Background color - HTML color code ", "#12B0B6", "reText", "Text to put in front of Lion King messages (max. 20)", "Lion King", "reEmote", "Emoticon to put in front of Lion King messages", ":tp-lion", "reBGColor", "Lion King background color - HTML colour code without starting '#' e.g. (F5B608 is orangey/gold)", "32AEF0", "reMinTip", "Minimum tip to become a Lion King", "reAnnounce", "Text to show when someone tips to become a Lion King", "MEMBERNAME just joined the Lion King group", "reMemberList", "List of current Lion Kings, separated by commas (and they need to be the CB username exactly)", "reRainText", "Text to use for Lion King rain lines", "Tiny Panthers Jungle welcomes a new Lion King", "reRainCount", "Number of lines of Lion King rain", "reEmoteEnter", "Emoticon Lion King enter Jungle", "reEnterjungle", "Enters the Jungle as a Lion King text (End part)", "reBGEnter", "Lion King enter Jungle Background color - HTML color code ", "#32AEF0", "rfText", "Text to put in front of Black Panther messages (max. 20)", "Black Panther", "rfEmote", "Emoticon to put in front of Black Panther messages", ":tp-panther1", "rfBGColor", "Black Panther background color - HTML colour code without starting '#' e.g. (F5B608 is orangey/gold)", "BE88F7", "rfMinTip", "Minimum tip to become a Black Panther", "rfAnnounce", "Text to show when someone tips to become a Black Panther", "MEMBERNAME just joined the Black Panther group", "rfMemberList", "List of current Black Panthers, separated by commas (and they need to be the CB username exactly)", "rfRainText", "Text to use for Black Panther rain lines", "Tiny Panthers Jungle welcomes a new Black Panther", "rfRainCount", "Number of lines of Black Panther rain", "rfEmoteEnter", "Emoticon Black Panther enter Jungle", ":tp-panther2", "rfEnterjungle", "Enters the Jungle as a Black Panther text (End part)", "rfBGEnter", "Black Panther enter Jungle Background color - HTML color code ", "#BE88F7", "rnText", "Text to put in front of Convict messages", "Convict", "rnEmote", "Emoticon to put in front of Convict messages", ":yk_conv", "rnBGColor", "Convict background color - HTML colour code without starting '#' e.g. (000000 is black)", "D4D2D6", "rnMemberList", "List of current Convicts, separated by commas (and they need to be the CB username exactly)", "rnEmoteEnter", "Emoticon Convict Enter Jungle", "rnEnterjungle", "Enters the Jungle as a Convict text (End part)", "rnBGEnter", "Convict Enter Jungle Background color - HTML color code ", "#D4D2D6", "roText", "Text to put in front of Deathrow messages", "Deathrow", "roEmote", "Emoticon to put in front of Deathrow messages", "roBGColor", "Deathrow background color - HTML colour code without starting '#' e.g. (000000 is black)", "BAB7BD", "roMemberList", "List of current Deathrow, separated by commas (and they need to be the CB username exactly)", "roEmoteEnter", "Emoticon Deathrow Enter Jungle", "roEnterjungle", "Enters the Jungle as a Deathrow text (End part)", "has entered the palace!", "roBGEnter", "Deathrow Enter Jungle Background color - HTML color code ", "#BAB7BD", "blockMemberList", "List of Blocked Users, separated by commas (and they need to be the CB username exactly)", "msg1", "Message 1 (also displayed privately on Jungle entry)", "Welcome to my Jungle", "msg2", "Message 2", "msg3", "Message 3", "msg4", "Message 4", "msg5", "Message 5", "msg6", "Message 6", "msg7", "Message 7", "msgcolor", "Notice color (html code default dark red #DB0217)", "#DB0217", "msgbgcolor", "Notice background color (html code default #EECFFF)", "#EECFFF", "chat_ad", "Delay in minutes between notices being displayed (minimum 1)", "ymBGColor", "Model Background Color - HTML colour code without starting '#' e.g. (F5B608 is orangey/gold)", "FFDAF1", "modBGColor", "Moderator Background Color - HTML colour code without starting '#' e.g. (F5B608 is orangey/gold)", "EA88F7", "fanBGColor", "Fanclub Member Background Color - HTML colour code without starting '#' e.g. (F5B608 is orangey/gold)", "95F788", "roomrules", "Rules for Jungle shown when /roomrules is used", "1) Be respectful at all times.... 2) No baby/bb/bby... 3) No CAPS........You will be silenced or banned", "ghostList", "List of Ghost Users who have been silenced (DO NOT ENTER ANY USERNAMES)", " ", "_TipList", "Only show tippers with more than x tips in tiplist", "register", "Password to unlock 30 min demo mode to full mode", "demo", "existingMembers", "tippers", "raMembers", "rbMembers", "rcMembers", "rdMembers", "reMembers", "rfMembers", "rnMembers", "roMembers", "blockMembers", "twcRegex", "existingMembersArrayPopulate", "prototype", "tipperPopulate", "addTip", "tip", "listGroup", "######################################\n", "Current ", ":\n", "hasOwnProperty", "\n", "OnMessage", "user", "m", "room_slug", "/", "X-Spam", "split", "substr", "length", "Sending ", " to Jail for bad behaviour", "sendNotice", "setConvict", "convict", "Sending Convict ", " to Deathrow for continued bad behaviour", "unsetConvict", "setDeathrow", "deathrow", " has been released from Jail", "unsetDeathrow", "release", "Sentenced ", " to Silence", "setBlock", "kill", "Blocking ", "block", "Removing Block ", "unsetBlock", "unblock", "Ghost ", " from the Jungle has entered", "setGhost", "ghost", "User: ", " tipped: ", "#D8DEFF", "bold", " not found or no tips yet", "tips", "Cheetah Kissers", "cheetah", "Puma Lovers", "puma", "Jaguar Chiefs", "jaguar", "Tiger Princes", "tiger", "Lion Kings", "lion", "Black Panthers", "panther", "Convicts", "Deathrows", "Blocked Members", "all", "list", "settings", "#FFDAF1", "#000000", "Tiny Panthers Jungle\n", "/roomrules: Display the Jungle rules\n", "/convict <membername> : Sends user to Jail\n", "/deathrow <membername> : Sends user to Deathrow\n", "/release <membername> : releases user from Jail\n", "or from deathrow\n", "/kill <membername> : Silences the user\n", "/block <membername> : Blocks a user for this period\n", "/unblock <membername> : Unblocks a user for this period\n", "/ghost <membername> : Unsilences a user thats been\n", "silenced by the moderators by mistake\n", "/totaltips : Display sum of all received tips\n", "/tiplist : Display detailed and sorted tip information\n", "/tips <membername> : Show tips received from user\n", "/list cheetah: Display all current Cheetah Kissers\n", "/list puma: Display all current Puma Lovers\n", "/list jaguar: Display all current Jaguar Chiefs\n", "/list tiger: Display all current Tiger Princes\n", "/list lion: Display all current Lion Kings\n", "/list panther: Display all current Black Panthers\n", "/list convict: Display all current Convicts\n", "/list deathrow: Display all current Deathrows\n", "/list block: Display all current blocked members\n", "/list all: Display all groups and their members\n", "tphelp", "Total tips: ", "totaltips", "Tipper list \n", "Total Tips: ", "from ", "keys", " users \n", "sortProperties", ": ", "######################################", "tiplist", "toLowerCase", "isBLOCK", "isGHOST", "Ghost: ", ": ", "#FFECFF", "|", "isRO", "background", "#", "isRN", "isRF", "isRE", "isRD", "isRC", "isRB", "isRA", "is_mod", "in_fanclub", ":tp-", "gender", "test", "push", "sort", "OnEnter", "Welcome ", "! ", "emote", "txt", "enterroom", "bgenter", "OnTip", "amount", "from_user", "MEMBERNAME", "replace", "makeRF", "makeRE", "makeRD", "makeRC", "makeRB", "makeRA", "makeRN", "showRules", "JUNGLE RULES: ", "Init", ",", "Type /tphelp for Help menu", "xyz", "1800000", "#2883E6#32FC87", "silversurfer55", "tp_test1", "tp_test2", "tiny_pnther", "abc", "setTimeout", "onTip", "onMessage", "onEnter", "Bot not started because you are not the Broadcaster for whom this application was written.", "#FFFF00", "#0000FF", "DEMO MODE 30 MINUTES EXPIRED", "msg"]; /** @type {!Array} */ cb.settings_choices = [ { name: "raText", label: "Text to put in front of Cheetah Kisser messages (max. 20)", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: "Cheetah Kisser" }, { name: "raEmote", label: "Emoticon to put in front of Cheetah Kisser messages", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: ":tp-cheetah2" }, { name: "raBGColor", label: "Cheetah Kisser background color - HTML color code without starting '#' e.g. (F5B608 is orangey/gold)", type: "str", minLength: 0, maxLength: 6, required: false, defaultValue: "7FEBE8" }, { name: "raMinTip", label: "Minimum tip to become a Cheetah Kisser", type: "int", minValue: 1, defaultValue: 500 }, { name: "raAnnounce", label: "Text to show when someone tips to become a Cheetah Kisser", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "MEMBERNAME just joined the Cheetah Kisser group" }, { name: "raMemberList", label: "List of current Cheetah Kissers, separated by commas (and they need to be the CB username exactly)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "" }, { name: "raRainText", label: "Text to use for Cheetah Kisser rain lines", type: "str", minLength: 0, maxLength: 80, required: false, defaultValue: "Tiny Panthers Jungle welcomes a new Cheetah Kisser" }, { name: "raRainCount", label: "Number of lines of Cheetah Kisser rain", type: "int", minValue: 1, maxValue: 100, defaultValue: 5 }, { name: "raEmoteEnter", label: "Emoticon Cheetah Kisser enter jungle", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: ":tp-cheetah2" }, { name: "raEnterjungle", label: "Enters the Jungle as a Cheetah Kisser text (End part)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "has entered the jungle!" }, { name: "raBGEnter", label: "Cheetah Kisser enter Jungle Background color - HTML color code ", type: "str", minLength: 0, maxLength: 7, required: false, defaultValue: "#7FEBE8" }, { name: "rbText", label: "Text to put in front of Puma Lover messages (max. 20)", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: "Puma Lover" }, { name: "rbEmote", label: "Emoticon to put in front of Puma Lover messages", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: ":tp-puma1" }, { name: "rbBGColor", label: "Puma Lover background color - HTML colour code without starting '#' e.g. (000000 is black)", type: "str", minLength: 0, maxLength: 6, required: false, defaultValue: "6CC3C1" }, { name: "rbMinTip", label: "Minimum tip to become a Puma Lover", type: "int", minValue: 1, defaultValue: 1e3 }, { name: "rbAnnounce", label: "Text to show when someone tips to become a Puma Lover", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "MEMBERNAME just joined the Puma Lover group" }, { name: "rbMemberList", label: "List of current Puma Lovers, separated by commas (and they need to be the CB username exactly)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "" }, { name: "rbRainText", label: "Text to use for Puma Lover rain lines", type: "str", minLength: 0, maxLength: 80, required: false, defaultValue: "Tiny Panthers Jungle welcomes a new Puma Lover" }, { name: "rbRainCount", label: "Number of lines of Puma Lover rain", type: "int", minValue: 1, maxValue: 100, defaultValue: 10 }, { name: "rbEmoteEnter", label: "Emoticon Puma Lover enter Jungle", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: ":tp-puma1" }, { name: "rbEnterjungle", label: "Enters the Jungle as a Puma Lover text (End part)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "has entered the Jungle!" }, { name: "rbBGEnter", label: "Puma Lover enter Jungle Background color - HTML color code", type: "str", minLength: 0, maxLength: 7, required: false, defaultValue: "#6CC3C1" }, { name: "rcText", label: "Text to put in front of Jaguar Chief messages (max. 20)", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: "Jaguar Chief" }, { name: "rcEmote", label: "Emoticon to put in front of Jaguar Chief messages", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: ":tp-jaguar" }, { name: "rcBGColor", label: "Jaguar Chief background color - HTML colour code without starting '#' e.g. (F5B608 is orangey/gold)", type: "str", minLength: 0, maxLength: 6, required: false, defaultValue: "17DBE3" }, { name: "rcMinTip", label: "Minimum tip to become a Jaguar Chief", type: "int", minValue: 1, defaultValue: 2e3 }, { name: "rcAnnounce", label: "Text to show when someone tips to become a Jaguar Chief", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "MEMBERNAME just joined the Jaguar Chief group" }, { name: "rcMemberList", label: "List of current Jaguar Chiefs, separated by commas (and they need to be the CB username exactly)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "" }, { name: "rcRainText", label: "Text to use for Jaguar Chief rain lines", type: "str", minLength: 0, maxLength: 80, required: false, defaultValue: "Tiny Panthers Jungle welcomes a new Jaguar Chief" }, { name: "rcRainCount", label: "Number of lines of Jaguar Chief rain", type: "int", minValue: 1, maxValue: 100, defaultValue: 15 }, { name: "rcEmoteEnter", label: "Emoticon Jaguar Chief enter Jungle", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: ":tp-jaguar" }, { name: "rcEnterjungle", label: "Enters the Jungle as a Jaguar Chief text (End part)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "has entered the Jungle!" }, { name: "rcBGEnter", label: "Jaguar Chief enter Jungle Background color - HTML color code ", type: "str", minLength: 0, maxLength: 7, required: false, defaultValue: "#17DBE3" }, { name: "rdText", label: "Text to put in front of Tiger Prince messages (max. 20)", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: "Tiger Prince" }, { name: "rdEmote", label: "Emoticon to put in front of Tiger Prince messages", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: ":tp-tiger" }, { name: "rdBGColor", label: "Tiger Prince background color - HTML colour code without starting '#' e.g. (F5B608 is orangey/gold)", type: "str", minLength: 0, maxLength: 6, required: false, defaultValue: "12B0B6" }, { name: "rdMinTip", label: "Minimum tip to become a Tiger Prince", type: "int", minValue: 1, defaultValue: 5e3 }, { name: "rdAnnounce", label: "Text to show when someone tips to become a Tiger Prince", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "MEMBERNAME just joined the Tiger Prince group" }, { name: "rdMemberList", label: "List of current Tiger Princes, separated by commas (and they need to be the CB username exactly)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "" }, { name: "rdRainText", label: "Text to use for Tiger Prince rain lines", type: "str", minLength: 0, maxLength: 80, required: false, defaultValue: "Tiny Panthers Jungle welcomes a new Tiger Prince" }, { name: "rdRainCount", label: "Number of lines of Tiger Prince rain", type: "int", minValue: 1, maxValue: 100, defaultValue: 20 }, { name: "rdEmoteEnter", label: "Emoticon Tiger Prince enter Jungle", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: ":tp-tiger" }, { name: "rdEnterjungle", label: "Enters the Jungle as a Tiger Prince text (End part)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "has entered the Jungle!" }, { name: "rdBGEnter", label: "Tiger Prince enter Jungle Background color - HTML color code ", type: "str", minLength: 0, maxLength: 7, required: false, defaultValue: "#12B0B6" }, { name: "reText", label: "Text to put in front of Lion King messages (max. 20)", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: "Lion King" }, { name: "reEmote", label: "Emoticon to put in front of Lion King messages", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: ":tp-lion" }, { name: "reBGColor", label: "Lion King background color - HTML colour code without starting '#' e.g. (F5B608 is orangey/gold)", type: "str", minLength: 0, maxLength: 6, required: false, defaultValue: "32AEF0" }, { name: "reMinTip", label: "Minimum tip to become a Lion King", type: "int", minValue: 1, defaultValue: 1e4 }, { name: "reAnnounce", label: "Text to show when someone tips to become a Lion King", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "MEMBERNAME just joined the Lion King group" }, { name: "reMemberList", label: "List of current Lion Kings, separated by commas (and they need to be the CB username exactly)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "" }, { name: "reRainText", label: "Text to use for Lion King rain lines", type: "str", minLength: 0, maxLength: 80, required: false, defaultValue: "Tiny Panthers Jungle welcomes a new Lion King" }, { name: "reRainCount", label: "Number of lines of Lion King rain", type: "int", minValue: 1, maxValue: 100, defaultValue: 25 }, { name: "reEmoteEnter", label: "Emoticon Lion King enter Jungle", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: ":tp-lion" }, { name: "reEnterjungle", label: "Enters the Jungle as a Lion King text (End part)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "has entered the Jungle!" }, { name: "reBGEnter", label: "Lion King enter Jungle Background color - HTML color code ", type: "str", minLength: 0, maxLength: 7, required: false, defaultValue: "#32AEF0" }, { name: "rfText", label: "Text to put in front of Black Panther messages (max. 20)", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: "Black Panther" }, { name: "rfEmote", label: "Emoticon to put in front of Black Panther messages", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: ":tp-panther1" }, { name: "rfBGColor", label: "Black Panther background color - HTML colour code without starting '#' e.g. (F5B608 is orangey/gold)", type: "str", minLength: 0, maxLength: 6, required: false, defaultValue: "BE88F7" }, { name: "rfMinTip", label: "Minimum tip to become a Black Panther", type: "int", minValue: 1, defaultValue: 5e4 }, { name: "rfAnnounce", label: "Text to show when someone tips to become a Black Panther", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "MEMBERNAME just joined the Black Panther group" }, { name: "rfMemberList", label: "List of current Black Panthers, separated by commas (and they need to be the CB username exactly)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "" }, { name: "rfRainText", label: "Text to use for Black Panther rain lines", type: "str", minLength: 0, maxLength: 80, required: false, defaultValue: "Tiny Panthers Jungle welcomes a new Black Panther" }, { name: "rfRainCount", label: "Number of lines of Black Panther rain", type: "int", minValue: 1, maxValue: 100, defaultValue: 30 }, { name: "rfEmoteEnter", label: "Emoticon Black Panther enter Jungle", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: ":tp-panther2" }, { name: "rfEnterjungle", label: "Enters the Jungle as a Black Panther text (End part)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "has entered the Jungle!" }, { name: "rfBGEnter", label: "Black Panther enter Jungle Background color - HTML color code ", type: "str", minLength: 0, maxLength: 7, required: false, defaultValue: "#BE88F7" }, { name: "rnText", label: "Text to put in front of Convict messages", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: "Text to put in front of Convict messages" }, { name: "rnEmote", label: "Emoticon to put in front of Convict messages", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: ":yk_conv" }, { name: "rnBGColor", label: "Convict background color - HTML colour code without starting '#' e.g. (000000 is black)", type: "str", minLength: 0, maxLength: 6, required: false, defaultValue: "D4D2D6" }, { name: "rnMemberList", label: "List of current Convicts, separated by commas (and they need to be the CB username exactly)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "" }, { name: "rnEmoteEnter", label: "Emoticon Convict Enter Jungle", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: ":yk_conv" }, { name: "rnEnterjungle", label: "Enters the Jungle as a Convict text (End part)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "has entered the Jungle!" }, { name: "rnBGEnter", label: "Convict Enter Jungle Background color - HTML color code ", type: "str", minLength: 0, maxLength: 7, required: false, defaultValue: "#D4D2D6" }, { name: "roText", label: "Text to put in front of Deathrow messages", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: "Deathrow" }, { name: "roEmote", label: "Emoticon to put in front of Deathrow messages", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: ":yk_conv" }, { name: "roBGColor", label: "Deathrow background color - HTML colour code without starting '#' e.g. (000000 is black)", type: "str", minLength: 0, maxLength: 6, required: false, defaultValue: "BAB7BD" }, { name: "roMemberList", label: "List of current Deathrow, separated by commas (and they need to be the CB username exactly)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "" }, { name: "roEmoteEnter", label: "Emoticon Deathrow Enter Jungle", type: "str", minLength: 0, maxLength: 20, required: false, defaultValue: ":yk_conv" }, { name: "roEnterjungle", label: "Enters the Jungle as a Deathrow text (End part)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "has entered the palace!" }, { name: "roBGEnter", label: "Deathrow Enter Jungle Background color - HTML color code ", type: "str", minLength: 0, maxLength: 7, required: false, defaultValue: "#BAB7BD" }, { name: "blockMemberList", label: "List of Blocked Users, separated by commas (and they need to be the CB username exactly)", type: "str", minLength: 0, maxLength: 10240, required: false, defaultValue: "" }, { name: "msg1", type: "str", required: true, label: "Message 1 (also displayed privately on Jungle entry)", defaultValue: "Welcome to my Jungle" }, { name: "msg2", type: "str", required: false, label: "Message 2" }, { name: "msg3", type: "str", required: false, label: "Message 3" }, { name: "msg4", type: "str", required: false, label: "Message 4" }, { name: "msg5", type: "str", required: false, label: "Message 5" }, { name: "msg6", type: "str", required: false, label: "Message 6" }, { name: "msg7", type: "str", required: false, label: "Message 7" }, { name: "msgcolor", type: "str", label: "Notice color (html code default dark red #DB0217)", defaultValue: "#DB0217" }, { name: "msgbgcolor", type: "str", label: "Notice background color (html code default #EECFFF)", defaultValue: "#EECFFF" }, { name: "chat_ad", type: "int", minValue: 1, maxValue: 999, defaultValue: 2, label: "Delay in minutes between notices being displayed (minimum 1)" }, { name: "ymBGColor", label: "Model Background Color - HTML colour code without starting '#' e.g. (F5B608 is orangey/gold)", type: "str", minLength: 0, maxLength: 6, required: false, defaultValue: "FFDAF1" }, { name: "modBGColor", label: "Moderator Background Color - HTML colour code without starting '#' e.g. (F5B608 is orangey/gold)", type: "str", minLength: 0, maxLength: 6, required: false, defaultValue: "EA88F7" }, { name: "fanBGColor", label: "Fanclub Member Background Color - HTML colour code without starting '#' e.g. (F5B608 is orangey/gold)", type: "str", minLength: 0, maxLength: 6, required: false, defaultValue: "95F788" }, { name: "roomrules", label: "Rules for Jungle shown when /roomrules is used", type: "str", minLength: 1, maxLength: 1e4, required: false, defaultValue: "1) Be respectful at all times.... 2) No baby/bb/bby... 3) No CAPS........You will be silenced or banned" }, { name: "ghostList", label: "List of Ghost Users who have been silenced (DO NOT ENTER ANY USERNAMES)", type: "str", minLength: 1, maxLength: 10240, required: false, defaultValue: " " }, { name: "_TipList", label: "Only show tippers with more than x tips in tiplist", type: "int", minValue: 1, maxValue: 1e5, defaultValue: 100 }, { name: "register", label: "Password to unlock 30 min demo mode to full mode", type: "str", minLength: 4, maxLength: 30, required: true, defaultValue: "demo" } ]; /** * @return {undefined} */ var a = function() { this["existingMembers"] = {}; this["tippers"] = {}; this["raMembers"] = {}; this["rbMembers"] = {}; this["rcMembers"] = {}; this["rdMembers"] = {}; this["reMembers"] = {}; this["rfMembers"] = {}; this["rnMembers"] = {}; this["roMembers"] = {}; /** @type {!Array} */ this["ghostList"] = []; this["blockMembers"] = {}; /** @type {!RegExp} */ this["twcRegex"] = /t.?k.?n.?wh.?r.?_c.?nt.?/i; }; /** * @param {?} i * @param {string} txt * @param {?} emote * @param {?} canCreateDiscussions * @param {?} isSlidingUp * @return {undefined} */ a["prototype"]["existingMembersArrayPopulate"] = function(i, txt, emote, canCreateDiscussions, isSlidingUp) { this["existingMembers"][i] = { txt : txt, emote : emote, enterroom : canCreateDiscussions, bgenter : isSlidingUp }; }; /** * @param {?} ballNumber * @return {undefined} */ a["prototype"]["tipperPopulate"] = function(ballNumber) { this["tippers"][ballNumber] = { tip : 0 }; }; /** * @param {?} i * @param {?} bonus * @return {?} */ a["prototype"]["addTip"] = function(i, bonus) { var occvars = this["tippers"][i]; if (occvars) { occvars["tip"] = occvars["tip"] + bonus; return occvars["tip"]; } else { this["tipperPopulate"](i); occvars = this["tippers"][i]; if (occvars) { occvars["tip"] = occvars["tip"] + bonus; return occvars["tip"]; } } }; /** * @param {?} allowedRequests * @param {?} canCreateDiscussions * @return {?} */ a["prototype"]["listGroup"] = function(allowedRequests, canCreateDiscussions) { var numUnknown = ""; numUnknown = numUnknown + "###################################### "; numUnknown = numUnknown + ("Current " + canCreateDiscussions + ": "); var destIdentifier; for (destIdentifier in allowedRequests) { if (allowedRequests["hasOwnProperty"](destIdentifier)) { numUnknown = numUnknown + (destIdentifier + " "); } } numUnknown = numUnknown + "###################################### "; return numUnknown; }; /** * @param {?} t * @return {?} */ a["prototype"]["OnMessage"] = function(t) { var pairIndex = t["user"]; var boxop = t["m"]; /** @type {boolean} */ var currentRelations = pairIndex == cb["room_slug"]; /** @type {boolean} */ var addedRelations = currentRelations; if (boxop[0] == "/") { /** @type {boolean} */ t["X-Spam"] = true; if (currentRelations) { var _0xb3bax12 = boxop["substr"](1)["split"](" "); if (currentRelations) { if (_0xb3bax12["length"] >= 2) { switch(_0xb3bax12[0]) { case "convict": cb["sendNotice"]("Sending " + _0xb3bax12[1] + " to Jail for bad behaviour"); this["setConvict"](_0xb3bax12[1]); break; case "deathrow": cb["sendNotice"]("Sending Convict " + _0xb3bax12[1] + " to Deathrow for continued bad behaviour"); this["unsetConvict"](_0xb3bax12[1]); this["setDeathrow"](_0xb3bax12[1]); break; case "release": cb["sendNotice"](_0xb3bax12[1] + " has been released from Jail"); this["unsetConvict"](_0xb3bax12[1]); this["unsetDeathrow"](_0xb3bax12[1]); break; case "kill": cb["sendNotice"]("Sentenced " + _0xb3bax12[1] + " to Silence"); this["unsetDeathrow"](_0xb3bax12[1]); this["setBlock"](_0xb3bax12[1]); break; case "block": cb["sendNotice"]("Blocking " + _0xb3bax12[1], pairIndex); this["setBlock"](_0xb3bax12[1]); break; case "unblock": cb["sendNotice"]("Removing Block " + _0xb3bax12[1], pairIndex); this["unsetBlock"](_0xb3bax12[1]); break; case "ghost": cb["sendNotice"]("Ghost " + _0xb3bax12[1] + " from the Jungle has entered"); this["setGhost"](_0xb3bax12[1]); break; case "tips": if (_0xb3bax12[1] in this["tippers"]) { cb["sendNotice"]("User: " + _0xb3bax12[1] + " tipped: " + this["tippers"][_0xb3bax12[1]]["tip"], pairIndex, "#D8DEFF", "", "bold"); } else { cb["sendNotice"]("User: " + _0xb3bax12[1] + " not found or no tips yet", pairIndex, "#D8DEFF", "", "bold"); } break; case "list": var result = ""; switch(_0xb3bax12[1]) { case "cheetah": result = this["listGroup"](this["raMembers"], "Cheetah Kissers"); break; case "puma": result = this["listGroup"](this["rbMembers"], "Puma Lovers"); break; case "jaguar": result = this["listGroup"](this["rcMembers"], "Jaguar Chiefs"); break; case "tiger": result = this["listGroup"](this["rdMembers"], "Tiger Princes"); break; case "lion": result = this["listGroup"](this["reMembers"], "Lion Kings"); break; case "panther": result = this["listGroup"](this["rfMembers"], "Black Panthers"); break; case "convict": result = this["listGroup"](this["rnMembers"], "Convicts"); break; case "deathrow": result = this["listGroup"](this["roMembers"], "Deathrows"); break; case "block": result = this["listGroup"](this["blockMembers"], "Blocked Members"); break; case "all": result = this["listGroup"](this["raMembers"], "Cheetah Kissers"); result = result + this["listGroup"](this["rbMembers"], "Puma Lovers"); result = result + this["listGroup"](this["rcMembers"], "Jaguar Chiefs"); result = result + this["listGroup"](this["rdMembers"], "Tiger Princes"); result = result + this["listGroup"](this["reMembers"], "Lion Kings"); result = result + this["listGroup"](this["rfMembers"], "Black Panthers"); result = result + this["listGroup"](this["rnMembers"], "Convicts"); result = result + this["listGroup"](this["roMembers"], "Deathrows"); result = result + this["listGroup"](this["blockMembers"], "Blocked Members"); break; default: }cb["sendNotice"](result, cb["room_slug"], "#D8DEFF", "", "bold"); break; default: } } else { if (_0xb3bax12["length"] == 1) { switch(_0xb3bax12[0]["toLowerCase"]()) { case "roomrules": /** @type {boolean} */ t["X-Spam"] = false; cb["sendNotice"](cb["settings"]["roomrules"], "", "#FFDAF1", "#000000", ""); break; case "tphelp": result = ""; result = result + "###################################### "; result = result + "Tiny Panthers Jungle "; result = result + "###################################### "; result = result + "/roomrules: Display the Jungle rules "; result = result + " "; result = result + "/convict <membername> : Sends user to Jail "; result = result + " "; result = result + "/deathrow <membername> : Sends user to Deathrow "; result = result + " "; result = result + "/release <membername> : releases user from Jail "; result = result + "or from deathrow "; result = result + " "; result = result + "/kill <membername> : Silences the user "; result = result + " "; result = result + "/block <membername> : Blocks a user for this period "; result = result + "/unblock <membername> : Unblocks a user for this period "; result = result + " "; result = result + "/ghost <membername> : Unsilences a user thats been "; result = result + "silenced by the moderators by mistake "; result = result + "###################################### "; result = result + "/totaltips : Display sum of all received tips "; result = result + "/tiplist : Display detailed and sorted tip information "; result = result + "/tips <membername> : Show tips received from user "; result = result + "###################################### "; result = result + "/list cheetah: Display all current Cheetah Kissers "; result = result + "/list puma: Display all current Puma Lovers "; result = result + "/list jaguar: Display all current Jaguar Chiefs "; result = result + "/list tiger: Display all current Tiger Princes "; result = result + "/list lion: Display all current Lion Kings "; result = result + "/list panther: Display all current Black Panthers "; result = result + "/list convict: Display all current Convicts "; result = result + "/list deathrow: Display all current Deathrows "; result = result + "/list block: Display all current blocked members "; result = result + " "; result = result + "/list all: Display all groups and their members "; result = result + "###################################### "; cb["sendNotice"](result, pairIndex, "#D8DEFF", "", "bold"); break; case "totaltips": cb["sendNotice"]("Total tips: " + totalTips, pairIndex, "#D8DEFF", "", "bold"); break; case "tiplist": result = ""; result = result + "###################################### "; result = result + "Tipper list "; result = result + ("Total Tips: " + totalTips + " "); result = result + ("from " + Object["keys"](this["tippers"])["length"] + " users "); result = result + "###################################### "; var PL$13 = this["sortProperties"](this["tippers"]); /** @type {number} */ var PL$17 = 0; for (; PL$17 < PL$13["length"]; PL$17++) { /** @type {number} */ var whiteRating = parseInt(PL$13[PL$17][1]); if (whiteRating > cb["settings"]["_TipList"]) { result = result + (PL$13[PL$17][0] + ": " + PL$13[PL$17][1] + " "); } } result = result + "######################################"; cb["sendNotice"](result, pairIndex, "#D8DEFF", "", "bold"); break; default: } } } } } } else { if (this["isBLOCK"](pairIndex) && !addedRelations) { /** @type {boolean} */ t["X-Spam"] = true; } else { if (this["isGHOST"](pairIndex)) { cb["sendNotice"]("Ghost: " + pairIndex + ": " + boxop + " ", "", "#FFECFF", "", ""); } } } var datasource_id = ""; if (pairIndex in this["tippers"]) { if (this["tippers"][pairIndex]["tip"] > 0) { datasource_id = "|" + this["tippers"][pairIndex]["tip"] + "|"; } } if (this["isRO"](pairIndex)) { t["background"] = "#" + cb["settings"]["roBGColor"]; t["m"] = cb["settings"]["roEmote"] + " " + cb["settings"]["roText"] + " " + datasource_id + " " + t["m"]; } else { if (this["isRN"](pairIndex)) { t["background"] = "#" + cb["settings"]["rnBGColor"]; t["m"] = cb["settings"]["rnEmote"] + " " + cb["settings"]["rnText"] + " " + datasource_id + " " + t["m"]; } else { if (this["isRF"](pairIndex)) { t["background"] = "#" + cb["settings"]["rfBGColor"]; t["m"] = cb["settings"]["rfEmote"] + " " + cb["settings"]["rfText"] + " " + datasource_id + " " + t["m"]; } else { if (this["isRE"](pairIndex)) { t["background"] = "#" + cb["settings"]["reBGColor"]; t["m"] = cb["settings"]["reEmote"] + " " + cb["settings"]["reText"] + " " + datasource_id + " " + t["m"]; } else { if (this["isRD"](pairIndex)) { t["background"] = "#" + cb["settings"]["rdBGColor"]; t["m"] = cb["settings"]["rdEmote"] + " " + cb["settings"]["rdText"] + " " + datasource_id + " " + t["m"]; } else { if (this["isRC"](pairIndex)) { t["background"] = "#" + cb["settings"]["rcBGColor"]; t["m"] = cb["settings"]["rcEmote"] + " " + cb["settings"]["rcText"] + " " + datasource_id + " " + t["m"]; } else { if (this["isRB"](pairIndex)) { t["background"] = "#" + cb["settings"]["rbBGColor"]; t["m"] = cb["settings"]["rbEmote"] + " " + cb["settings"]["rbText"] + " " + datasource_id + " " + t["m"]; } else { if (this["isRA"](pairIndex)) { t["background"] = "#" + cb["settings"]["raBGColor"]; t["m"] = cb["settings"]["raEmote"] + " " + cb["settings"][raText] + " " + datasource_id + " " + t["m"]; } else { if (t["user"] == cb["room_slug"]) { t["background"] = "#" + cb["settings"]["ymBGColor"]; } else { if (!currentRelations) { t["m"] = datasource_id + " " + t["m"]; } } } } } } } } } } if (!currentRelations) { if (t["is_mod"] || t["in_fanclub"]) { if (t["is_mod"]) { t["background"] = "#" + cb["settings"]["modBGColor"]; } else { t["background"] = "#" + cb["settings"]["fanBGColor"]; } } t["m"] = ":tp-" + t["gender"] + " " + t["m"]; } if (this["twcRegex"]["test"](pairIndex)) { /** @type {boolean} */ t["X-Spam"] = true; } return t; }; /** * @param {!Object} tests * @return {?} */ a["prototype"]["sortProperties"] = function(tests) { /** @type {!Array} */ var redisClient = []; var key; for (key in tests) { if (tests["hasOwnProperty"](key)) { redisClient["push"]([key, tests[key]["tip"]]); } } redisClient["sort"](function(a, b) { return b[1] - a[1]; }); return redisClient; }; /** * @param {?} parameters * @return {undefined} */ a["prototype"]["OnEnter"] = function(parameters) { var level = parameters["user"]; var rowsOfColumns = this["existingMembers"][level]; if (level == cb["room_slug"]) { cb["sendNotice"]("Welcome " + level + "! " + cb["settings"]["msg1"], level, cb["settings"]["msgbgcolor"], cb["settings"]["msgcolor"], "bold"); } else { if (parameters["is_mod"] || parameters["in_fanclub"]) { cb["sendNotice"](":tp-" + parameters["gender"] + " " + "Welcome " + level + "! " + cb["settings"]["msg1"], level, cb["settings"]["msgbgcolor"], cb["settings"]["msgcolor"], "bold"); } else { cb["sendNotice"](":tp-" + parameters["gender"] + " " + "Welcome " + level + "! " + cb["settings"]["msg1"], level, cb["settings"]["msgbgcolor"], cb["settings"]["msgcolor"], "bold"); } } if (rowsOfColumns) { if (parameters["is_mod"] || parameters["in_fanclub"]) { cb["sendNotice"](":tp-" + parameters["gender"] + " " + rowsOfColumns["emote"] + " " + rowsOfColumns["txt"] + " " + level + " " + rowsOfColumns["enterroom"], "", rowsOfColumns["bgenter"], "", "bold"); } else { cb["sendNotice"](":tp-" + parameters["gender"] + " " + rowsOfColumns["emote"] + " " + rowsOfColumns["txt"] + " " + level + " " + rowsOfColumns["enterroom"], "", rowsOfColumns["bgenter"], "", "bold"); } } }; /** * @param {?} enmlHash * @return {undefined} */ a["prototype"]["OnTip"] = function(enmlHash) { /** @type {number} */ var div = parseInt(enmlHash["amount"]); totalTips = totalTips + div; var prohibitedListElementChildren = this["addTip"](enmlHash["from_user"], div); if (prohibitedListElementChildren >= cb["settings"]["rfMinTip"]) { if (!this["isRF"](enmlHash["from_user"])) { var result = cb["settings"]["rfAnnounce"]["replace"]("MEMBERNAME", enmlHash["from_user"]); this["makeRF"](enmlHash["from_user"]); /** @type {number} */ var _0xb3bax14 = 0; for (; _0xb3bax14 < cb["settings"]["rfRainCount"]; _0xb3bax14++) { cb["sendNotice"](cb["settings"]["rfRainText"]); } cb["sendNotice"](result); } } else { if (prohibitedListElementChildren >= cb["settings"]["reMinTip"]) { if (!this["isRE"](enmlHash["from_user"]) && !this["isRF"](enmlHash["from_user"])) { result = cb["settings"]["reAnnounce"]["replace"]("MEMBERNAME", enmlHash["from_user"]); this["makeRE"](enmlHash["from_user"]); /** @type {number} */ _0xb3bax14 = 0; for (; _0xb3bax14 < cb["settings"]["reRainCount"]; _0xb3bax14++) { cb["sendNotice"](cb["settings"]["reRainText"]); } cb["sendNotice"](result); } } else { if (prohibitedListElementChildren >= cb["settings"]["rdMinTip"]) { if (!this["isRD"](enmlHash["from_user"]) && !this["isRE"](enmlHash["from_user"]) && !this["isRF"](enmlHash["from_user"])) { result = cb["settings"]["rdAnnounce"]["replace"]("MEMBERNAME", enmlHash["from_user"]); this["makeRD"](enmlHash["from_user"]); /** @type {number} */ _0xb3bax14 = 0; for (; _0xb3bax14 < cb["settings"]["rdRainCount"]; _0xb3bax14++) { cb["sendNotice"](cb["settings"]["rdRainText"]); } cb["sendNotice"](result); } } else { if (prohibitedListElementChildren >= cb["settings"]["rcMinTip"]) { if (!this["isRC"](enmlHash["from_user"]) && !this["isRD"](enmlHash["from_user"]) && !this["isRE"](enmlHash["from_user"]) && !this["isRF"](enmlHash["from_user"])) { result = cb["settings"]["rcAnnounce"]["replace"]("MEMBERNAME", enmlHash["from_user"]); this["makeRC"](enmlHash["from_user"]); /** @type {number} */ _0xb3bax14 = 0; for (; _0xb3bax14 < cb["settings"]["rcRainCount"]; _0xb3bax14++) { cb["sendNotice"](cb["settings"]["rcRainText"]); } cb["sendNotice"](result); } } else { if (prohibitedListElementChildren >= cb["settings"]["rbMinTip"]) { if (!this["isRB"](enmlHash["from_user"]) && !this["isRC"](enmlHash["from_user"]) && !this["isRD"](enmlHash["from_user"]) && !this["isRE"](enmlHash["from_user"]) && !this["isRF"](enmlHash["from_user"])) { result = cb["settings"]["rbAnnounce"]["replace"]("MEMBERNAME", enmlHash["from_user"]); this["makeRB"](enmlHash["from_user"]); /** @type {number} */ _0xb3bax14 = 0; for (; _0xb3bax14 < cb["settings"]["rbRainCount"]; _0xb3bax14++) { cb["sendNotice"](cb["settings"]["rbRainText"]); } cb["sendNotice"](result); } } else { if (prohibitedListElementChildren >= cb["settings"]["raMinTip"]) { if (!this["isRA"](enmlHash["from_user"]) && !this["isRB"](enmlHash["from_user"]) && !this["isRC"](enmlHash["from_user"]) && !this["isRD"](enmlHash["from_user"]) && !this["isRE"](enmlHash["from_user"]) && !this["isRF"](enmlHash["from_user"])) { result = cb["settings"]["raAnnounce"]["replace"]("MEMBERNAME", enmlHash["from_user"]); this["makeRA"](enmlHash["from_user"]); /** @type {number} */ _0xb3bax14 = 0; for (; _0xb3bax14 < cb["settings"]["raRainCount"]; _0xb3bax14++) { cb["sendNotice"](cb["settings"]["raRainText"]); } cb["sendNotice"](result); } } } } } } } }; /** * @param {?} canCreateDiscussions * @return {?} */ a["prototype"]["isRA"] = function(canCreateDiscussions) { return canCreateDiscussions in this["raMembers"]; }; /** * @param {?} canCreateDiscussions * @return {?} */ a["prototype"]["isRB"] = function(canCreateDiscussions) { return canCreateDiscussions in this["rbMembers"]; }; /** * @param {?} canCreateDiscussions * @return {?} */ a["prototype"]["isRC"] = function(canCreateDiscussions) { return canCreateDiscussions in this["rcMembers"]; }; /** * @param {?} canCreateDiscussions * @return {?} */ a["prototype"]["isRD"] = function(canCreateDiscussions) { return canCreateDiscussions in this["rdMembers"]; }; /** * @param {?} canCreateDiscussions * @return {?} */ a["prototype"]["isRE"] = function(canCreateDiscussions) { return canCreateDiscussions in this["reMembers"]; }; /** * @param {?} canCreateDiscussions * @return {?} */ a["prototype"]["isRF"] = function(canCreateDiscussions) { return canCreateDiscussions in this["rfMembers"]; }; /** * @param {?} canCreateDiscussions * @return {?} */ a["prototype"]["isRN"] = function(canCreateDiscussions) { return canCreateDiscussions in this["rnMembers"]; }; /** * @param {?} canCreateDiscussions * @return {?} */ a["prototype"]["isRO"] = function(canCreateDiscussions) { return canCreateDiscussions in this["roMembers"]; }; /** * @param {?} canCreateDiscussions * @return {?} */ a["prototype"]["isBLOCK"] = function(canCreateDiscussions) { return canCreateDiscussions in this["blockMembers"]; }; /** * @param {?} canCreateDiscussions * @return {?} */ a["prototype"]["isGHOST"] = function(canCreateDiscussions) { return canCreateDiscussions in this["ghostList"]; }; /** * @param {?} name * @return {undefined} */ a["prototype"]["setConvict"] = function(name) { this["rnMembers"][name] = { "u" : 1 }; }; /** * @param {?} ballNumber * @return {undefined} */ a["prototype"]["unsetConvict"] = function(ballNumber) { delete this["rnMembers"][ballNumber]; }; /** * @param {?} name * @return {undefined} */ a["prototype"]["setDeathrow"] = function(name) { this["roMembers"][name] = { "u" : 1 }; }; /** * @param {?} ballNumber * @return {undefined} */ a["prototype"]["unsetDeathrow"] = function(ballNumber) { delete this["roMembers"][ballNumber]; }; /** * @param {?} name * @return {undefined} */ a["prototype"]["setBlock"] = function(name) { this["blockMembers"][name] = { "u" : 1 }; }; /** * @param {?} ballNumber * @return {undefined} */ a["prototype"]["unsetBlock"] = function(ballNumber) { delete this["blockMembers"][ballNumber]; }; /** * @param {?} name * @return {undefined} */ a["prototype"]["setGhost"] = function(name) { this["ghostList"][name] = { "u" : 1 }; }; /** * @param {?} name * @return {undefined} */ a["prototype"]["makeRA"] = function(name) { this["raMembers"][name] = { "u" : 1 }; this["existingMembersArrayPopulate"](name, cb["settings"][raText], cb["settings"]["raEmoteEnter"], cb["settings"]["raEnterjungle"], cb["settings"]["raBGEnter"]); if (this["isRB"](name)) { delete this["rbMembers"][name]; } if (this["isRC"](name)) { delete this["rcMembers"][name]; } if (this["isRD"](name)) { delete this["rdMembers"][name]; } if (this["isRE"](name)) { delete this["reMembers"][name]; } if (this["isRF"](name)) { delete this["rfMembers"][name]; } }; /** * @param {?} name * @return {undefined} */ a["prototype"]["makeRB"] = function(name) { this["rbMembers"][name] = { "u" : 1 }; this["existingMembersArrayPopulate"](name, cb["settings"]["rbText"], cb["settings"]["rbEmoteEnter"], cb["settings"]["rbEnterjungle"], cb["settings"][ "rbBGEnter"]); if (this["isRA"](name)) { delete this["raMembers"][name]; } if (this["isRC"](name)) { delete this["rcMembers"][name]; } if (this["isRD"](name)) { delete this["rdMembers"][name]; } if (this["isRE"](name)) { delete this["reMembers"][name]; } if (this["isRF"](name)) { delete this["rfMembers"][name]; } }; /** * @param {?} name * @return {undefined} */ a["prototype"]["makeRC"] = function(name) { this["rcMembers"][name] = { "u" : 1 }; this["existingMembersArrayPopulate"](name, cb["settings"]["rcText"], cb["settings"]["rcEmoteEnter"], cb["settings"]["rcEnterjungle"], cb["settings"]["rcBGEnter"]); if (this["isRA"](name)) { delete this["raMembers"][name]; } if (this["isRB"](name)) { delete this["rbMembers"][name]; } if (this["isRD"](name)) { delete this["rdMembers"][name]; } if (this["isRE"](name)) { delete this["reMembers"][name]; } if (this["isRF"](name)) { delete this["rfMembers"][name]; } }; /** * @param {?} name * @return {undefined} */ a["prototype"]["makeRD"] = function(name) { this["rdMembers"][name] = { "u" : 1 }; this["existingMembersArrayPopulate"](name, cb["settings"]["rdText"], cb["settings"]["rdEmoteEnter"], cb["settings"]["rdEnterjungle"], cb["settings"]["rdBGEnter"]); if (this["isRA"](name)) { delete this["raMembers"][name]; } if (this["isRB"](name)) { delete this["rbMembers"][name]; } if (this["isRC"](name)) { delete this["rcMembers"][name]; } if (this["isRE"](name)) { delete this["reMembers"][name]; } if (this["isRF"](name)) { delete this["rfMembers"][name]; } }; /** * @param {?} name * @return {undefined} */ a["prototype"]["makeRE"] = function(name) { this["reMembers"][name] = { "u" : 1 }; this["existingMembersArrayPopulate"](name, cb["settings"]["reText"], cb["settings"]["reEmoteEnter"], cb["settings"]["reEnterjungle"], cb["settings"]["reBGEnter"]); if (this["isRA"](name)) { delete this["raMembers"][name]; } if (this["isRB"](name)) { delete this["rbMembers"][name]; } if (this["isRC"](name)) { delete this["rcMembers"][name]; } if (this["isRD"](name)) { delete this["rdMembers"][name]; } if (this["isRF"](name)) { delete this["rfMembers"][name]; } }; /** * @param {?} name * @return {undefined} */ a["prototype"]["makeRF"] = function(name) { this["rfMembers"][name] = { "u" : 1 }; this["existingMembersArrayPopulate"](name, cb["settings"]["rfText"], cb["settings"]["rfEmoteEnter"], cb["settings"]["rfEnterjungle"], cb["settings"]["rfBGEnter"]); if (this["isRA"](name)) { delete this["raMembers"][name]; } if (this["isRB"](name)) { delete this["rbMembers"][name]; } if (this["isRC"](name)) { delete this["rcMembers"][name]; } if (this["isRD"](name)) { delete this["rdMembers"][name]; } if (this["isRE"](name)) { delete this["reMembers"][name]; } }; /** * @param {?} name * @return {undefined} */ a["prototype"]["makeRN"] = function(name) { this["rnMembers"][name] = { "u" : 1 }; this["existingMembersArrayPopulate"](name, cb["settings"]["rnText"], cb["settings"]["rnEmoteEnter"], cb["settings"]["rnEnterjungle"], cb["settings"]["rnBGEnter"]); }; /** * @return {?} */ a["prototype"]["showRules"] = function() { return "JUNGLE RULES: " + cb["settings"]["roomrules"]; }; /** * @return {undefined} */ a["prototype"]["Init"] = function() { if (cb["settings"]["raMemberList"]) { var nextIdLookup = cb["settings"]["raMemberList"]["split"](","); /** @type {number} */ var indexLookupKey = 0; for (; indexLookupKey < nextIdLookup["length"]; indexLookupKey++) { var name = nextIdLookup[indexLookupKey]["toLowerCase"]()["replace"](/ /g, ""); this["raMembers"][name] = { "u" : 1 }; this["existingMembersArrayPopulate"](name, cb["settings"]["raText"], cb["settings"]["raEmoteEnter"], cb["settings"]["raEnterjungle"], cb["settings"]["raBGEnter"]); } } if (cb["settings"]["rbMemberList"]) { var nextIdLookup = cb["settings"]["rbMemberList"]["split"](","); /** @type {number} */ indexLookupKey = 0; for (; indexLookupKey < nextIdLookup["length"]; indexLookupKey++) { name = nextIdLookup[indexLookupKey]["toLowerCase"]()["replace"](/ /g, ""); this["rbMembers"][name] = { "u" : 1 }; this["existingMembersArrayPopulate"](name, cb["settings"]["rbText"], cb["settings"]["rbEmoteEnter"], cb["settings"]["rbEnterjungle"], cb["settings"][ "rbBGEnter"]); } } if (cb["settings"]["rcMemberList"]) { var nextIdLookup = cb["settings"]["rcMemberList"]["split"](","); /** @type {number} */ indexLookupKey = 0; for (; indexLookupKey < nextIdLookup["length"]; indexLookupKey++) { name = nextIdLookup[indexLookupKey]["toLowerCase"]()["replace"](/ /g, ""); this["rcMembers"][name] = { "u" : 1 }; this["existingMembersArrayPopulate"](name, cb["settings"]["rcText"], cb["settings"]["rcEmoteEnter"], cb["settings"]["rcEnterjungle"], cb["settings"]["rcBGEnter"]); } } if (cb["settings"]["rdMemberList"]) { var nextIdLookup = cb["settings"]["rdMemberList"]["split"](","); /** @type {number} */ indexLookupKey = 0; for (; indexLookupKey < nextIdLookup["length"]; indexLookupKey++) { name = nextIdLookup[indexLookupKey]["toLowerCase"]()["replace"](/ /g, ""); this["rdMembers"][name] = { "u" : 1 }; this["existingMembersArrayPopulate"](name, cb["settings"]["rdText"], cb["settings"]["rdEmoteEnter"], cb["settings"]["rdEnterjungle"], cb["settings"]["rdBGEnter"]); } } if (cb["settings"]["reMemberList"]) { var nextIdLookup = cb["settings"]["reMemberList"]["split"](","); /** @type {number} */ indexLookupKey = 0; for (; indexLookupKey < nextIdLookup["length"]; indexLookupKey++) { name = nextIdLookup[indexLookupKey]["toLowerCase"]()["replace"](/ /g, ""); this["reMembers"][name] = { "u" : 1 }; this["existingMembersArrayPopulate"](name, cb["settings"]["reText"], cb["settings"]["reEmoteEnter"], cb["settings"]["reEnterjungle"], cb["settings"]["reBGEnter"]); } } if (cb["settings"]["rfMemberList"]) { var nextIdLookup = cb["settings"]["rfMemberList"]["split"](","); /** @type {number} */ indexLookupKey = 0; for (; indexLookupKey < nextIdLookup["length"]; indexLookupKey++) { name = nextIdLookup[indexLookupKey]["toLowerCase"]()["replace"](/ /g, ""); this["rfMembers"][name] = { "u" : 1 }; this["existingMembersArrayPopulate"](name, cb["settings"]["rfText"], cb["settings"]["rfEmoteEnter"], cb["settings"]["rfEnterjungle"], cb["settings"]["rfBGEnter"]); } } if (cb["settings"]["rnMemberList"]) { var nextIdLookup = cb["settings"]["rnMemberList"]["split"](","); /** @type {number} */ indexLookupKey = 0; for (; indexLookupKey < nextIdLookup["length"]; indexLookupKey++) { name = nextIdLookup[indexLookupKey]["toLowerCase"]()["replace"](/ /g, ""); this["rnMembers"][name] = { "u" : 1 }; this["existingMembersArrayPopulate"](name, cb["settings"]["rnText"], cb["settings"]["rnEmoteEnter"], cb["settings"]["rnEnterjungle"], cb["settings"]["rnBGEnter"]); } } if (cb["settings"]["roMemberList"]) { var nextIdLookup = cb["settings"]["roMemberList"]["split"](","); /** @type {number} */ indexLookupKey = 0; for (; indexLookupKey < nextIdLookup["length"]; indexLookupKey++) { name = nextIdLookup[indexLookupKey]["toLowerCase"]()["replace"](/ /g, ""); this["roMembers"][name] = { "u" : 1 }; this["existingMembersArrayPopulate"](name, cb["settings"]["roText"], cb["settings"]["roEmoteEnter"], cb["settings"]["roEnterjungle"], cb["settings"]["roBGEnter"]); } } if (cb["settings"]["blockMemberList"]) { var nextIdLookup = cb["settings"]["blockMemberList"]["split"](","); /** @type {number} */ indexLookupKey = 0; for (; indexLookupKey < nextIdLookup["length"]; indexLookupKey++) { name = nextIdLookup[indexLookupKey]["toLowerCase"]()["replace"](/ /g, ""); this["blockMembers"][name] = { "u" : 1 }; } } if (cb["settings"]["ghostList"]) { var nextIdLookup = cb["settings"]["ghostList"]["split"](","); /** @type {number} */ indexLookupKey = 0; for (; indexLookupKey < nextIdLookup["length"]; indexLookupKey++) { name = nextIdLookup[indexLookupKey]["toLowerCase"]()["replace"](/ /g, ""); this["ghostList"][name] = { "u" : 1 }; } } cb["sendNotice"]("Type /tphelp for Help menu", "", "", "", "bold"); }; var st = "xyz"; /** @type {!Array} */ var app = []; /** @type {number} */ var iAD = 1; var col = "1800000"; var c2 = "#2883E6#32FC87"; /** @type {number} */ var totalTips = 0; /** @type {number} */ var dum = 0; if ( cb["room_slug"] === "silversurfer55" || cb["room_slug"] === "tp_test1" || cb["room_slug"] === "tp_test2" || cb["room_slug"] === "tiny_pnther" || cb["room_slug"] === "tp_test1" || cb["room_slug"] === "futurextest" ) { st = "abc"; app = new a(); app.Init(); botAd(); chatAd(); if (c2 === cb["settings"]["register"]) { /** @type {number} */ dum = 1; } else { cb["setTimeout"](bothel, parseInt(col)); } } else { callTimer(); } cb["onTip"](function(cssIncrement) { if (st === "abc") { app.OnTip(cssIncrement); } return cssIncrement; }); cb["onMessage"](function(cssIncrement) { if (st === "abc") { return app.OnMessage(cssIncrement); } return cssIncrement; }); cb["onEnter"](function(cssIncrement) { if (st === "abc") { return app.OnEnter(cssIncrement); } return cssIncrement; }); /** * @return {undefined} */ function callTimer() { cb["sendNotice"]("Bot not started because you are not the Broadcaster for whom this application was written.", "", "#FFFF00", "#0000FF"); cb["setTimeout"](callTimer, 1E4); } /** * @return {undefined} */ function bothel() { cb["sendNotice"]("DEMO MODE 30 MINUTES EXPIRED", cb["room_slug"], "", "", "bold"); st = "xyz"; cb["setTimeout"](bothel, parseInt(col)); } /** * @return {undefined} */ function chatAd() { var result; for (; cb["settings"]["msg" + iAD] == 0;) { iAD++; if (iAD > 7) { /** @type {number} */ iAD = 1; } } result = cb["settings"]["msg" + iAD]; iAD++; if (iAD > 7) { /** @type {number} */ iAD = 1; } cb["sendNotice"](result, "", "", cb["settings"]["msgcolor"], "bold"); cb["setTimeout"](chatAd, cb["settings"]["chat_ad"] * 6E4); } /** * @return {undefined} */ function botAd() { cb["sendNotice"]("Type /tphelp for Help menu", cb["room_slug"], "", "", "bold"); cb["setTimeout"](botAd, cb["settings"]["chat_ad"] * 6E4); } ;
© Copyright Chaturbate 2011- 2024. All Rights Reserved.