Bots Home
|
Create an App
RCND multibot test
Author:
randomcouplenextdoor
Description
Source Code
Launch Bot
Current Users
Created by:
Randomcouplenextdoor
var nb_users={f:0,c:0,m:0,s:0} var genderIcons = { m: '0x2642', f: '0x2640', s: '0x263F', c: '0x26A5' }; cb.settings_choices = []; cb.onMessage(function (msg) { msg['m'] = String.fromCharCode(genderIcons[msg['gender']]) + ' ' + msg['m']; return msg }); cb.onEnter(function(user) { nb_users[user['gender']]++; cb.sendNotice('f : '+nb_users['f']+', c : '+nb_users['c']+', m : '+nb_users['m']+', s : '+nb_users['s'], cb.room_slug, '#efe'); // room_slug => only for the performer cb.sendNotice('Welcome to our room, ' + user['user'] + ', we hope you\'ll enjoy!', user['user'], '#fdd', '', 'bold'); }); cb.onLeave(function(user) { nb_users[user['gender']]--; cb.sendNotice('f : '+nb_users['f']+', c : '+nb_users['c']+', m : '+nb_users['m']+', t : '+nb_users['s'], cb.room_slug, '#fee'); // room_slug => only for the performer }); cb.onTip(function (tip) { cb.sendNotice('Thanks for tipping, '+tip['from_user']+'!!!','','#000','#ffff00','bold'); });
© Copyright Chaturbate 2011- 2024. All Rights Reserved.