Bots Home
|
Create an App
sadad
Author:
thai1984
Description
Source Code
Launch Bot
Current Users
Created by:
Thai1984
cb.onEnter(function(user) { cb.sendNotice('Welcome To My Room !!, ' + user['user'] + ' Dont forget to Tip and Follow me !! :thai1984b', user['user'], '#CCF5EB', '', 'bold'); }); cb.onFollow(user => { cb.chatNotice(user['user'] + ' thank you for following and big love to you :Heart :Heart !'); }); cb.settings_choices = [ { name: 'tipamount', type: 'int', minValue: 1, defaultValue: 10, label: 'Minimum tokens required for a thank you message' } , { name: 'tipmsg', type: 'str', minLength: 8, maxLength: 128, defaultValue: '**** Thank you [tipper] for your tip!!! (: **** ', label: "Tip thank you message, [tipper] = tipper's name" } ]; cb.onTip(function (tip) { if (parseInt(tip['amount']) >= cb.settings.tipamount) { tipper = tip['from_user']; tipmsg=cb.settings.tipmsg; tipmsg = tipmsg.replace("[tipper]", tipper); cb.chatNotice(tipmsg, tipper); } }); function init() { } cb.onMessage(function (msg) { var isMod = msg['is_mod']; var isFan = msg['in_fanclub']; var isModel = msg['user'] == cb.room_slug; var hasTokens = msg['has_tokens']; var hasTipped = msg['tipped_recently']; var isGrey = !(hasTipped || hasTokens || isMod || isModel || isFan); if (isGrey) { msg['X-Spam'] = true; msg['m'] = "**Chat silenced**"; cb.chatNotice('This performer does not allow accounts without tokens to chat, please purchase tokens or use an account with tokens to chat here',msg['user'],'','','bold'); } return msg; });
© Copyright Chaturbate 2011- 2026. All Rights Reserved.