Bots Home
|
Create an App
Alicia's welcome bot
Author:
testali
Description
Source Code
Launch Bot
Current Users
Created by:
Testali
cb.settings_choices = [ { name:'welcome_gif', type:'str', defaultValue: ":Alicia27_welcome", label: "Welcome GIF / GIF de bienvenida" } ]; function sendWelcome(username) { cb.sendNotice(cb.settings.welcome_gif, username, '#ffffff', '#ffffff'); } cb.onEnter(function(user) { sendWelcome(user['user']); }) cb.onMessage(function (msg) { if (msg['m'] == '/test-welcome' && msg['user'] == cb.room_slug) { sendWelcome(cb.room_slug); msg['X-Spam'] = true; } return msg; });
© Copyright Chaturbate 2011- 2024. All Rights Reserved.