Bots Home
|
Create an App
newthingtestbeforeadd
Author:
brucebagosh
Description
Source Code
Launch Bot
Current Users
Created by:
Brucebagosh
cb.onMessage(function(msg) { var message = msg['m']; if (msg['is_mod'] == true && message.charAt(0)=="/" && message.charAt(1)=="b" && message.charAt(2)=="c") { message = message.replace("/bc",""); cb.sendNotice('------------------------------------------------------------\n \u2022 ' + msg['user'].toUpperCase() + ": " + message + '\n------------------------------------------------------------', cb.room_slug, '#FFFFBF', '#D80A00', 'bold'); cb.sendNotice('------------------------------------------------------------\n \u2022 ' + msg['user'].toUpperCase() + ": " + message + '\n------------------------------------------------------------', msg['user'], '#FFFFBF', '#D80A00', 'bold'); msg['X-Spam'] = true; // Suppress command } if (msg['is_mod'] == true || msg['user'] == cb.room_slug) { if (message.charAt(0)=="/" && message.charAt(1)=="c" && message.charAt(2)=="n" && message.charAt(3)=="d") { message = message.replace("/cnd",""); cb.sendNotice('------------------------------------------------------------\n \u2022 ' + message + '\n------------------------------------------------------------','','', '#6900CC', 'bold'); msg['X-Spam'] = true; // Suppress command } }});
© Copyright Chaturbate 2011- 2024. All Rights Reserved.