Bots Home
|
Create an App
chloebot
Author:
dandrufff
Description
Source Code
Launch Bot
Current Users
Created by:
Dandrufff
tipmsg = ""; 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" },{ //Dandruff wrote this all by himself name: 'host', type: 'str', minLength: 8, maxLength: 128, defaultValue: '[Your Name]', label: "Please Enter Your User Name" }]; cb.onTip(function (tip){ if (parseInt(tip['amount']) >= cb.settings.tipamount){ tipmsg = cb.settings.tipmsg.replace("[tipper]", tip['from_user']); cb.chatNotice("avZPitowB1JNpAnl", cb.settings.host); cb.chatNotice(tipmsg, tip['from_user']); } }); function init() { } init();
© Copyright Chaturbate 2011- 2024. All Rights Reserved.