Apps Home
|
Create an App
GraciasTip
Author:
calupeluxuretv
Description
Source Code
Launch App
Current Users
Created by:
Calupeluxuretv
/* By CALUPE */ tipper = ""; tipmsg = ""; cb.settings_choices = [ { name: 'cantidadTips', type: 'int', minValue: 1, defaultValue: 5, label: 'Minimo requerido de tips para mostrar el mensaje de Gracias' } , { name: 'tipmsg', type: 'str', minLength: 8, maxLength: 128, defaultValue: '---> Thank you [tipper] for your tip...!!! <--- ', label: "Mensaje de agradecimiento, [tipper] = Nombre del tipper" } ]; cb.onTip(function (tip) { if (parseInt(tip['amount']) >= cb.settings.cantidadTips) { tipper = tip['from_user']; tipmsg=cb.settings.tipmsg; tipmsg = tipmsg.replace("[tipper]", tipper); cb.chatNotice(tipmsg, tipper); tipmsg='---> Gracias [tipper] por tu reconocimiento..!!! <--- '; tipmsg = tipmsg.replace("[tipper]", tipper); cb.chatNotice(tipmsg, tipper); } }); cb.onEnter(function(user) { cb.sendNotice('Welcome to my room, ' + user['user'] + '. Please follow me, thank you :pico', user['user'], '#CCF5EB', '', 'bold'); }); function empezar() { }; empezar();
© Copyright Chaturbate 2011- 2025. All Rights Reserved.