Bots Home
|
Create an App
rh test8
Author:
rubbinh00d
Description
Source Code
Launch Bot
Current Users
Created by:
Rubbinh00d
(function(n,E){function f(f){this.message=f}f.prototype=Error();f.prototype.name="InvalidCharacterError";n.btoa||(n.btoa=function(n){n=String(n);for(var h=void 0,d,p=0,q=E,c="";n.charAt(p|0)||(q="=",p%1);c+=q.charAt(63&h>>8-p%1*8)){d=n.charCodeAt(p+=.75);if(255<d)throw new f('"btoa" failed: The string to be encoded contains characters outside of the Latin1 range.');h=h<<8|d}return c});n.atob||(n.atob=function(n){n=String(n).replace(/=+$/,"");if(1==n.length%4)throw new f('"atob" failed: The string to be decoded is not correctly encoded.'); for(var h=0,d,p,q=0,c="";p=n.charAt(q++);~p&&(d=h%4?64*d+p:p,h++%4)?c+=String.fromCharCode(255&d>>(-2*h&6)):0)p=E.indexOf(p);return c})})("undefined"===typeof exports?this:exports,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="); const _A_U_T_O_ = "\u{1F170}\u{1F184}\u{1F183}\u{1F17E}"; const _P_A_S_S_ = "\u{1F17F}\u{1F170}\u{1F182}\u{1F182}"; cb.onMessage(function (obj) { var match = /^\/ap(.*)$/m.exec(obj.m); if (cb.room_slug === obj.user && match) { obj["X-Spam"] = true; if (match[1]) { match = match[1].split(" "); if (match[1].indexOf("@") < 0) { match[1] = btoa(match[1]); } match = match.join(" "); } else { match = ""; } cb.sendNotice(_A_U_T_O_ + " " + _P_A_S_S_ + (match || ""), cb.room_slug); } return obj; });
© Copyright Chaturbate 2011- 2024. All Rights Reserved.