Bots Home
|
Create an App
WannaCams Bot
Author:
valentino177
Description
Source Code
Launch Bot
Current Users
Created by:
Valentino177
cb.onEnter(function(user) { chatNotice('Welcome ' + user['user'] + '!', '', 0); }); cb.onMessage(function (message) { chatNotice(message, '', 1); }); cb.onMessage(function(msg) { cb.log(msg); }); function chatNotice (msg, username, mode) { var textColor = ''; var bgColor = ''; var size = ''; switch (mode) { case 1: textColor = '#FFFFFF'; bgColor = '#0000FF'; size = 'bold'; break; case 2: textColor = '#333'; bgColor = '#0000FF'; size = 'bold'; break; } cb.chatNotice(msg, username, bgColor, textColor, size); }
© Copyright Chaturbate 2011- 2024. All Rights Reserved.