Bots Home
|
Create an App
Ad-Bot Blocker
Author:
rubbinh00d
Description
Source Code
Launch Bot
Current Users
Created by:
Rubbinh00d
var users = []; var pass = Math["floor"]((Math["random"]() * 9000) + 1001); var number = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"]; var passwd = pass.toString()["split"](""); var usernotice1 = "GREY usernames (no tokens)... prove that you are a human, not a bot, by entering the displayed password-number.\n"; var usernotice2 = number[passwd[0]] + " " + number[passwd[1]] + " " + number[passwd[2]] + " " + number[passwd[3]] + " (must enter as a number, e.g. 1234)"; var usernotice3 = usernotice1 + usernotice2; cb["chatNotice"]("Ad-Bot Blocker is protecting this room against annoying ad-bots!"); cb["onEnter"](function (usr) { cb["sendNotice"]("Welcome " + usr["user"] + " !\nAd-Bot Blocker is protecting this room against annoying ad-bots!", usr["user"]) }); cb["onMessage"](function (msg) { if (msg["has_tokens"] == true) { //return msg }; if (users["indexOf"](msg["user"]) != -1) { return msg }; if (msg["m"] == pass.toString()) { users["push"](msg["user"]); msg["X-Spam"] = true; msg["m"] = "Congratulations, you may now chat - subject to the rules of conduct and any other chat-filters."; return msg }; setTimeout(function () { cb["sendNotice"](usernotice3, msg["user"]) }, 500); msg["m"] = "Please read the instructions below and enter, numerically, the displayed password-number."; msg["X-Spam"] = true; return msg })
© Copyright Chaturbate 2011- 2024. All Rights Reserved.