Bots Home
|
Create an App
SilenceBot2
Author:
rasputin5888
Description
Source Code
Launch Bot
Current Users
Created by:
Rasputin5888
cb.onMessage(function (message) { var silence; if (message['user'] == cb.room_slug && message['m'] == '/silence') { silence == true; message['m'] == "true"; } if (message['user'] == cb.room_slug && message['m'] == '/unsilence') { message['background'] = '#9F9'; message['m'] == "All Messages will be seen"; message['m'] == "false"; silence == false; } if(silence == true){ message['background'] = '#9F9'; message['m'] == "Only Messages messages by me will be seen"; if (message['user'] != cb.room_slug) message['X-Spam'] == true; } //return message; });
© Copyright Chaturbate 2011- 2024. All Rights Reserved.