Bots Home
|
Create an App
Uma-chan V0.1
Author:
shortstalliondev
Description
Source Code
Launch Bot
Current Users
Created by:
Shortstalliondev
// Early version of Uma-chan Chaturbate bot. Version 0.1 //Written by Short Stallion // Functions function welcomeRoutine(usr) { let name = usr['user']; cb.chatNotice("Welcome to Short Stallion's stream, " + name + "!"); } function exitRoutine(usr) { let name = usr['user']; cb.chatNotice("Fairwell " + name + "..."); } function adminCommands(msg) {} function modCommands(msg) {} function usrCommands(msg) {} function msgRoutine(usr) { cb.chatNotice("Ding!"); let name = usr['user'] if(usr['m'][0] == '/') { cb.chatNotice("Dong!"); /* if(name == "shortstallion") { adminCommands(usr['m']); } else if (usr['is_mod']) { modCommands(usr['m']); } else { usrCommands(usr['m']); }*/ } } //Main loop cb.onEnter(function(user) {welcomeRoutine(user)}); cb.onLeave(function(user) {exitRoutine(user)}); cb.onMessage(function(msg) {msgRoutine(msg)});
© Copyright Chaturbate 2011- 2024. All Rights Reserved.