Bots Home
|
Create an App
Stolen Lauren Hidden Show
Author:
anonsoxx
Description
Source Code
Launch Bot
Current Users
Created by:
Anonsoxx
autoAddedUsers = [ "anonsoxx", "bazzzzzzzz", "nov_is_cute", "nicktamere", "spartancus", "d4wetfun", "slightlyevilx", "darshan4fun", "supasauce", ] //function AddUser(inUser) //{ // cb.limitCam_AddUsers(inUser); // cb.log("Adding " + inUser + " to limitCam"); // // // (Anonsoxx) Send message to the user and only the user //} //function RemoveUser(inUser) //{ // cb.limitCam_RemoveUsers(inUser); // cb.log("Removing " + inUser + " from limitCam"); // // // (Anonsoxx) Send message to the user and only the user //} //function RemoveAllUsers() //{ // cb.limitCam_RemoveAllUsers(); // // // (Anonsoxx) Send notice to the entire room //} cb.onEnter(function(user) { if(!cbjs.arrayContains(cb.limitCam_allUsersWithAccess(), user['user'])) { cb.sendNotice("You are not in the allowed list to view the cam."); cb.sendNotice("Ask Lauren to add you, or you won't be able to watch!"); } }); cb.onMessage(function(msg) { var message = msg['m']; var user = msg['user']; if(cb.room_slug === user && message.substring(0, 3) == '/add') { var userToAdd = message.split(' '); cb.limitCam_addUsers(userToAdd[1]); } else if(cb.room_slug === user && message.substring(0, 7) == '/remove') { var userToRemove = message.split(' '); cb.limitCam_removeUsers(userToRemove[1]); } else if(cb.room_slug === user && message.substring(0, 6) == '/clear') { cb.limitCam_removeAllUsers(); } }); function Init() { cb.limitCam_addUsers(autoAddedUsers); cb.log("Num users with access: " + cb.limitCam_allUsersWithAccess().length); cb.log(cbjs.arrayJoin(cb.limitCam_allUsersWithAccess(), ", ") + " has access!"); } Init();
© Copyright Chaturbate 2011- 2024. All Rights Reserved.