Bots Home
|
Create an App
TipNoteHelperForMyMods
Author:
cb_kyle
Description
Source Code
Launch Bot
Current Users
Created by:
Cb_Kyle
/* Title: Tip Note Helper for my Mods Author: cb_kyle (at Chaturbate) Version: 0.1 (03/31/2018) Cost: If you like this, please donate a Tip to the author. Anything is greatly appreciated. If you use this regularly, please Tip at least 1 Token per day that you use this. (If you have more than 200 users in your room, please consider more than a 1 Token Tip.) *** IN DEVELOPMENT *** Description: A bot to let moderators help with tip notes: keep up with requests; help when the model looks away; warn of tricks to click links; and help to report to cb-support when used to trick broadcasters with deception. (Note: Tip-Notes are not a confidential means of communication on CB like a PM or Private-Show. code used here is available to any apps and bots--unlike PM. Regardless, a reminder is notified users when they enter. If viewers seek confidential, suggest to them to get supporter access for more flexible use of PM.) */ cb.onEnter(function(user) { var sUser = user['user']; var sGreetMsg = ''; sGreetMsg += '(Tip-notes are visible to moderators to assist with Requests.)'; cb.sendNotice(sGreetMsg, sUser); }); cb.onTip(function(tip) { var TIP_NOTE_NOTICE_BACKGROUND = '#FFFF00'; //#FFFF00 - yellow; var sMsg = tip['message']; var sUser = '' + tip['from_user']; if (sMsg != '') { cb.sendNotice('(Tip-Note by ' + sUser + ': ' + sMsg.replace(/(?:\r\n|\r|\n)/g, ' * '), '', TIP_NOTE_NOTICE_BACKGROUND, '#000000', 'normal', 'red'); } });
© Copyright Chaturbate 2011- 2026. All Rights Reserved.