Bots Home
|
Create an App
pb7
Author:
pbchnd
Description
Source Code
Launch Bot
Current Users
Created by:
Pbchnd
var wc_count = 0; var wc_total = 0; var wc_total_other = 0; var wc_names=new Array() var wc_names_other=new Array() cb.settings_choices = []; cb.onEnter(function(user) { if (user['gender'] == 'f' || user['gender'] == 'c') { wc_count++ if(wc_names.indexOf(user['user']) == -1) { wc_total++ wc_names.push(user['user']) } cb.chatNotice(wc_count+'. '+user['gender']+' '+user['user'] + ' entered!', cb.room_slug, '#FFBFE3'); cb.sendNotice('Hi and a Very Warm Welcome, ' + user['user'] + '. Hope you enjoy your stay here. Thanks!', user['user'], '#CCF5EB', '', 'bold'); } else if(user['gender'] == 'm') { wc_count++ if(wc_names.indexOf(user['user']) == -1) { wc_total++ wc_names.push(user['user']) } cb.chatNotice(wc_count+'. '+user['gender']+' '+user['user'] + ' entered!', cb.room_slug, '#CCF5EB'); cb.sendNotice('Hi and a Very Warm Welcome, ' + user['user'] + '. Hope you enjoy your stay here. Thanks!', user['user'], '#CCF5EB', '', 'bold'); } else if(wc_names_other.indexOf(user['user']) == -1) { wc_total_other++ wc_names_other.push(user['user']) } }); cb.onLeave(function(user) { if (user['gender'] == 'f' || user['gender'] == 'c' || user['gender'] == 'm') { cb.chatNotice(wc_count+'. '+user['gender']+' '+user['user'] + ' left!', cb.room_slug, '#FFF3ED'); wc_count-- } }); function update_subject() { if(!(typeof cb === "undefined")) cb.changeRoomSubject('#straight #cut #hot #mush') } function init() { update_subject(); } init(); function generate_link_page(old) { // <script>var cb</script> var as=prompt().split(' ').sort() var asOld=old.split(' ') document.write('<table width="100%"><tr><td align="right"><div align="left" style="display:inline-block">') for (var i = 0; i < as.length; i++) { if(asOld.indexOf(as[i]) == -1) document.write('<a href="http://chaturbate.com/'+as[i]+'/" target="Data">'+as[i]+'</a><br>') } document.write('</div></table>') }
© Copyright Chaturbate 2011- 2024. All Rights Reserved.