Bots Home
|
Create an App
Shayes_Grey_Bot
Author:
niceowl28
Description
Source Code
Launch Bot
Current Users
Created by:
Niceowl28
{ var COMMAND_TALK_ALL = "/talkall"; var timeout_id = null; var initialize = false; var talk_all = false; } { cb.settings_choices = [ { name: 'owl_let_all_talk', type: 'choice', choice1: 'Yes', choice2: 'No', defaultValue: 'No', label: 'Let All Talk' } ]; } { cb.onMessage(function(msg) { if(!talk_all) { if(!msg['has_tokens'] || !msg['tipped_recently'] || !msg['in_fanclub'] || !msg['is_mod']) { msg['X-Spam'] = true; } } if (msg['user'] == cb.room_slug || msg['is_mod']) { if (msg['m'].indexOf(COMMAND_TALK_ALL) == 0) { msg['X-Spam'] = true; var temp = parseInt(msg['m'].substring(COMMAND_TALK_ALL.length).trim()); if(temp === 0) { talk_all = false; } else if(temp === 1) { talk_all = true; } } } return msg; }); } { function init() { if(!initialize) { initialize = true; if(cb.settings['owl_let_all_talk'] == 'No') { talk_all = false; } else { talk_all = true; } } } init(); }
© Copyright Chaturbate 2011- 2026. All Rights Reserved.