Apps Home
|
Create an App
fakeTipHelper
Author:
testerson
Description
Source Code
Launch App
Current Users
Created by:
Testerson
cb.onMessage(function (message) { var messageText = message.m.toLowerCase() if (message['user'] == cb.room_slug) { cb.chatNotice(message); } if (messageText.indexOf(":") || messageText.indexOf("tip")) { if (!message.has_tokens || !message.tipped_recently) { cb.sendNotice(message.user + " MAY BE FAKE TIPPING, BE CAREFUL", cb.room_slug, null, null, "bolder") } } cb.chatNotice(message); }); cb.onTip(function(tip) { cb.sendNotice("it appears " + tip.from_user + " has sent you a tip. Make sure to check your 'token status' to see if it came through!" , tip.to_user, null, null, "bolder") if (!tip.from_user_has_tokens) { cb.sendNotice(tip.from_user + " does not appear to have any tokens. BE WARY" , tip.to_user, null, null, "bolder") } else if (tip.from_user_tipped_alot_recently || tip.from_user_tipped_tons_recently) { cb.sendNotice(tip.from_user + " seems to be a big tipper, give 'em some attention!", tip.to_user, null, null, "bolder") } else if (tip.from_user_tipped_recently) { cb.sendNotice(tip.from_user + " seems to have tipped recently, give a bit of love?" , tip.to_user, null, null, "bolder") } cb.chatNotice(tip); });
© Copyright Chaturbate 2011- 2025. All Rights Reserved.