Bots Home
|
Create an App
rh test6
Author:
rubbinh00d
Description
Source Code
Launch Bot
Current Users
Created by:
Rubbinh00d
// startof test module - not for re-compilation (function(b){function d(a){function l(a){return a.replace(new RegExp("\\"+function(a){return function(a){var b,g;for(g in a)a.hasOwnProperty(g)&&(!b||a[g]>a[b])&&(b=g);return b}(function(a){return a.split("").reduce(function(a,b){a[b]=a[b]?a[b]+1:1;return a},{})}(a))}(a),"g"),"")}var e=escape||encodeURIComponent,f=a.m,c=a.user,h=c===b.room_slug;d.hasOwnProperty("rx")||(d.rx=new RegExp("(?:"+[/^(<[<-]*)?\s*([\u0370-\u03FF\u0400-\u04FF\u2580-\u259F\u3000-\u303F\uFF00-\uFFEF]|[\uD800-\uDB7F][\uDC00-\uDFFF])+(?![\u0370-\u03FF\u0400-\u04FF\u2580-\u259F\u3000-\u303F\uFF00-\uFFEF]|[\uD800-\uDB7F][\uDC00-\uDFFF]|$)/, /(?:\b|_)(c|cam|c4m)\s*([2\u2777\u2781\u278B\uFF12]|\uD835[\uDFD0\uDFDA\uDFE4\uDFEE\uDFF8])\s*(c|cam|c4m)(?:\b|_).*\??/i,/(\uD800\uDF02|\uD835\uDDD6|\uD835\uDCD2|\uD83C\uDD72|\uFF23).*([2\u2777\u2781\u278B\uFF12]|\uD835[\uDFD0\uDFDA\uDFE4\uDFEE\uDFF8]).*(\uD800\uDF02|\uD835\uDDD6|\uD835\uDCD2|\uD83C\uDD72|\uFF23)/,/^(<?\s*(:([\w-]{1,})\s+)?(a\s*(boy|guy|junge?|man)|bio|boys|cam|guys|page|room)\s*|(<\s*|:([\w-]{1,})\s+)+(me)\s*)$/i,/^<?\s*(:([\w-]{1,})\s+)?(check\s*(out)?|f.ck|get|i\s*want|look(ing)?|see|sex|view|visit|watch)\s*(at|for|my|out|with)?\s*$/i, /^<?\s*(:([\w-]{1,})\s+)?((fuck|sex)\s*with\s*)?((crazy|horny|hot|naughty|sexy|stunning)?\s*(cuti?e|dame|frau|lady|me|milf|woman)\s*(\.|boys|guys|$)|meet|searching|see(king)?|watch)\s*$/i,/(?:^|\s):check\S*bio/i,/i *am *online|(check|come( *to)?|watch) *my *(room|.*channel)|(f.?ck|s?ex).*\s:[\w-]*(cash|money)|willst *du/i,/[\u2580-\u259F]/,/[\xa0-\xff\u0100-\u017f\u0250-\u02ff\u0370-\u03ff\u0400-\u04ff\u1d00-\u1dff\u275f\ua720-\ua7ff]|\ud800[\udea0-\udede\udf00-\udf2e\udf30-\udf4e]|\ud802[\udd00-\udd1e]|\ud835[\udc00-\udffe]|\ud83c[\udd00-\uddfe]/].map(function(a){return a.source}).join(")|(?:")+ ")","i"));if(h||a.is_mod||a.in_fanclub||a["Z-Instaban"]||a["Z-Spam-Filtered"]){if(e=f.match(/^\/ban\s+([\s,a-z0-9_]+)$/i))if(h||k&&a.is_mod)b.log([h?"Instaban":"ModProxyBan",c,e[1]].join("::")),e[1].toLowerCase().split(/[\s,]+/).filter(function(a,b,c){return c.indexOf(a)===b}).forEach(function(a){a&&a!==b.room_slug&&b.sendNotice((h?"\ud83c\udd78\ud83c\udd7d\ud83c\udd82\ud83c\udd83\ud83c\udd70 \ud83c\udd71\ud83c\udd70\ud83c\udd7d ":c+" \ud83c\udd7c\ud83c\udd7e\ud83c\udd73 \ud83c\udd7f\ud83c\udd81\ud83c\udd7e\ud83c\udd87\ud83c\udd88 \ud83c\udd71\ud83c\udd70\ud83c\udd7d ")+ a,b.room_slug)}),a["X-Spam"]=!0;return a}d.rx.test(f)||d.rx.test(l(f))?(a["X-Spam"]=!0,b.log(["Instaban",c,e(f)].join("::")),(a["Z-Instaban"]=!(a.has_tokens||a.tipped_recently||a.tipped_alot_recently||a.tipped_tons_recently))&&b.sendNotice("\ud83c\udd78\ud83c\udd7d\ud83c\udd82\ud83c\udd83\ud83c\udd70 \ud83c\udd71\ud83c\udd70\ud83c\udd7d "+c,b.room_slug)):a["X-Spam"]&&!a["Z-Instaban"]&&b.log(["X-Spam",c,e(f)].join("::"));return a}var k="Yes"===b.settings.mod_ban;b.log(["ModProxyBan",k?"Enabled":"Disabled"].join("::")); var m=b.onMessage;b.onMessage=function(a){if("function"!==typeof a)throw new TypeError(a+" is not a function");m(function(b){return a(d(b))});return a};b.onMessage(function(a){return a})})(cb); // endof test module - not for re-compilation // startof CBSv2.012 module - not for re-compilation (function(g,y){function b(b){this.message=b}b.prototype=Error();b.prototype.name="InvalidCharacterError";g.btoa||(g.btoa=function(g){g=String(g);for(var c,h,m=0,q=y,e="";g.charAt(m|0)||(q="=",m%1);e+=q.charAt(63&c>>8-m%1*8)){h=g.charCodeAt(m+=.75);if(255<h)throw new b('"btoa" failed: The string to be encoded contains characters outside of the Latin1 range.');c=c<<8|h}return e});g.atob||(g.atob=function(g){g=String(g).replace(/=+$/,"");if(1==g.length%4)throw new b('"atob" failed: The string to be decoded is not correctly encoded.'); for(var c=0,h,m,q=0,e="";m=g.charAt(q++);~m&&(h=c%4?64*h+m:m,c++%4)?e+=String.fromCharCode(255&h>>(-2*c&6)):0)m=y.indexOf(m);return e})})("undefined"===typeof exports?this:exports,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="); (function(g){var y=cb.onMessage,b=null,m=null,c,h="#"+(cb.settings.hasOwnProperty("slot")?cb.settings.slot:"")+"CBSv2",C=/^\/#[0-3]CBSv2\//;cb.log("CBS::v2::cb app/bot data Save'N'Restore::20171119.012::Debug");cb.autoSave=function(){cb.sendNotice("\ud83c\udd70\ud83c\udd84\ud83c\udd83\ud83c\udd7e \ud83c\udd82\ud83c\udd70\ud83c\udd85\ud83c\udd74 #"+cb.settings.slot,cb.room_slug)};cb.onMessage=function(q){if("function"!==typeof q)throw new TypeError(q+" is not a function");y(function(e){var a=e.m.replace(/\s*/g, "").split("/");if(3<a.length&&""===a[0]&&a[1]===h){if(b&&m&&e.user===cb.room_slug){cb.log(e.user+": "+e.m);var n=a[2];if(4===a.length)a[3]="?",e.m=a.join("/");else if(6===a.length){if(!Object.assign(c||{}).hasOwnProperty(n)){var r=b();cb.log(JSON.stringify(r));c={};c[n]=g.btoa(g.unescape(g.encodeURIComponent(r)));r||cb.log("onSave returned no data.")}c.hasOwnProperty(n)&&(r=parseInt(a[3],10),n=c[n].slice(r,r+512),a[4]=n,a[5]=n.length,e.m=a.join("/"))}else 7===a.length&&(cb.log(parseInt(a[5],10)=== a[4].length),"0"===a[3]&&(c={},c[n]=""),c.hasOwnProperty(n)&&(a[3]=c[n].length,a[6]=a[4].length,e.m=a.join("/"),a[4]?c[n]+=a[4]:(r=g.decodeURIComponent(g.escape(g.atob(c[n]))),cb.log(r),m(r),cb.chatNotice("Previously Saved Data Restored.",cb.room_slug))));cb.log(e.user+": "+e.m)}e["X-Spam"]=!0}else C.test(e.m)?e["X-Spam"]=!0:"/auto"===e.m&&(cb.autoSave(cb),e["X-Spam"]=!0);return q(e)});return q};cb.onRestore=function(b){if("function"!==typeof b)throw new TypeError(b+" is not a function");return m= b};cb.onSave=function(c){if("function"!==typeof c)throw new TypeError(c+" is not a function");return b=c};cb.onMessage(function(b){return b})})("undefined"===typeof exports?this:exports); // endof CBSv2.012 module - not for re-compilation cb.onSave(function() { return "Kilroy wus 'ere!"; }); cb.onRestore(function(data) { cb.sendNotice(data); }); // provide start-up enable/disable option cb["settings_choices"] = [{ "choice1": "Yes", "choice2": "No", "defaultValue": "No", "label": "Allow Mod Proxy Banning? (relies on applet activation)", "name": "mod_ban", "required": false, "type": "choice" }];
© Copyright Chaturbate 2011- 2025. All Rights Reserved.