Bots Home
|
Create an App
Sweet Crazy Words test
Author:
sweets
Description
Source Code
Launch Bot
Current Users
Created by:
Sweets
/* Name: Sweet Words Original Author: rumcajs01 Modified By: sweetsayonara */ var title = 'Sweet Words'; var author = 'rumcajs01'; var l = '_____'; var color = '#FDF5DE'; var tMatrix = ' Sweet Words: '; var benice = ', you have to be polite if you want to be heard, or tip and you can be as nasty as you want'; cb.sendNotice(l + title + l +' \nAuthor: ' + l + author + l + ' \nModified by Sweetsayonara2u \n',cb.room_slug,color); cb.settings_choices = [ {name:'imGender', type:'choice', choice1:'Female', choice2:'Male', choice3:'Shemale', choice4:'Couple', defaultValue: 'Female', label:'I am a'}, {name:'tobc', type:'choice', choice1:'Short', choice2:'Same users', choice3:'Off', defaultValue: 'Short', label:'Notifications to me'}, {name:'toUser', type:'choice', choice1:'Grey', choice2:'Grey+Light Blue', defaultValue: 'Grey', label:'Choose users'}, {name:'changing', type:'choice', choice1:'Yes', choice2:'No', defaultValue: 'Yes', label:'Changing the words'}, { name: 'whoreTo', type: 'str', label: 'Change: whore to', defaultValue: ' My overcompensation for my small penis is obvious to everyone '}, { name: 'holeTo', type: 'str', label: 'hole to', defaultValue: ' horse '}, { name: 'slutTo', type: 'str', label: 'slut to', defaultValue: ' lovely little goddess '}, { name: 'showTo', type: 'str', label: 'show to', defaultValue: ' shogun '}, { name: 'pissTo', type: 'str', label: 'piss to', defaultValue: ' pistachio '}, { name: 'boringTo', type: 'str', label: 'boring to', defaultValue: ' the most fantabulous ever! :)) '}, { name: 'fuckTo', type: 'str', label: 'fuck to', defaultValue: ' I Love '}, { name: 'bbTo', type: 'str', label: 'bb, bebe/y to', defaultValue: ' my Love :)) '}, { name: 'spread', type: 'str', label: 'spread to', defaultValue: ' sharpen my '}, {name:'ngg', type:'choice', choice1:'Yes', choice2:'No', defaultValue: 'Yes', label:'Blocking Graphics/Emotes'}, {name:'ngcl', type:'choice', choice1:'Yes', choice2:'No', defaultValue: 'Yes', label:'Blocking CAPS LOCK'}, {name:'ngpm', type:'choice', choice1:'Yes', choice2:'No', defaultValue: 'Yes', label:'Blocking PM requests'}, { name: 'pmTo', type: 'str', label: 'Change pm to', defaultValue: ' pump '}, {name:'allc2c', type:'choice', choice1:'Yes', choice2:'No', defaultValue: 'Yes', label:'Cam2Cam requests, unless in Private/Group Show (to all)'}, { name: 'c2cTo', type: 'str', label: 'Change: cam2cam, c2c, my cam/room/profile, see/watch me/my to', defaultValue: ' You are the best :))'} ] var gender; if (cb.settings.imGender == 'Female') { gender = ' whore, slut, spread ';} else if (cb.settings.imGender == 'Male') { gender = ' whore, slut, spread ';} else if (cb.settings.imGender == 'Shemale') { gender = ' whore, slut, spread ';} else { gender = ' whore, slut, spread, piss ';} //var slug = cb.room_slug; //cb.room_slug = author; //cb.sendNotice('User: ' + l + slug + l +'\nuse: ' + l + title + l,cb.room_slug,'#ffff33'); //cb.room_slug = slug; cb.onMessage( function (msg) { var user = msg['user']; var mUser = tMatrix + user; var m = msg['m']; var whore = /[a-zA-Z0-9]*wh+o+r+e*[a-zA-Z0-9]*/gi; var hole = /[a-zA-Z0-9]*h[o0]+l+e+[a-zA-Z0-9]*/gi; var slut = /[a-zA-Z0-9]*sl+u+t+[a-zA-Z0-9]*/gi; var show = /[a-zA-Z0-9]*sh+[o0]+w+[a-zA-Z0-9]*/gi; var piss = /[a-zA-Z0-9]*pi+ss+[a-zA-Z0-9]*/gi; var boring = /[a-zA-Z0-9]*b[o0]+r+i+n+g*[a-zA-Z0-9]*/gi; var spread = /[a-zA-Z0-9]*s+p+r+e+a+d*[a-zA-Z0-9]*/gi; var fuck = /[a-zA-Z0-9]*fu+c+k+[a-zA-Z0-9]*/gi; var bb = /b[aey]*b[ey]*/gi; var emot = /\s*:+[a-zA-Z0-9][a-zA-Z0-9]+/; var caps = /[A-Z][A-Z]+/; var pm = /pm/gi; function matrix() { //======Module Name: //======change words if (whore.test(m) || hole.test(m) || slut.test(m) || show.test(m) || piss.test(m) || boring.test(m) || fuck.test(m) || spread.test(m) || bb.test(m)) { m = m.replace(whore,cb.settings.whoreTo); m = m.replace(hole,cb.settings.holeTo); m = m.replace(slut,cb.settings.slutTo); m = m.replace(show,cb.settings.showTo); m = m.replace(piss,cb.settings.pissTo); m = m.replace(boring,cb.settings.boringTo); m = m.replace(fuck,cb.settings.fuckTo); m = m.replace(spread,cb.settings.spreadTo); m = m.replace(bb,cb.settings.bbTo); msg['m'] = m; cb.sendNotice(mUser + benice +' or start Private/Group Show.',user,color); if (cb.settings.tobc == "Short") { cb.sendNotice(mUser + ' >> changed words :)',cb.room_slug,color); } if (cb.settings.tobc == "Same users") { cb.sendNotice(mUser + benice +' or start Private/Group Show.',cb.room_slug,color); } } //======Grapf if (cb.settings.ngg == "Yes") { if (emot.test(m)) { m = m.replace(/:/g,";"); msg['m'] = m; cb.sendNotice(mUser + ', You must have tokens if you want to use Graphics.',user,color); if (cb.settings.tobc == "Short") { cb.sendNotice(mUser + ' >> Graphics blocked :)',cb.room_slug,color); } if (cb.settings.tobc == "Same users") { cb.sendNotice(mUser + ', You must have tokens if you want to use Graphics.',cb.room_slug,color); } } } //======Caps if (cb.settings.ngcl == "Yes") { if (caps.test(m)) { m = m.toLowerCase(); msg['m'] = m; cb.sendNotice(mUser + ', You must have tokens if you want to use Caps Lock.',user,color); if (cb.settings.tobc == "Short") { cb.sendNotice(mUser + ' >> Caps Lock blocked :)',cb.room_slug,color); } if (cb.settings.tobc == "Same users") { cb.sendNotice(mUser + ', You must have tokens if you want to use Caps Lock.',cb.room_slug,color); } } } //=====PM if (cb.settings.ngpm == "Yes") { if (pm.test(m)) { m = m.replace(pm,cb.settings.pmTo); msg['m'] = m; cb.sendNotice(mUser + ', no PMs during broadcast please.',user,color); if (cb.settings.tobc == "Short") { cb.sendNotice(mUser + ' >> PM blocked :)',cb.room_slug,color); } if (cb.settings.tobc == "Same users") { cb.sendNotice(mUser + ', no PMs during broadcast please.',cb.room_slug,color); } } } }; if (msg['has_tokens'] && msg['tipped_recently'] == false && msg['is_mod'] == false && msg['in_fanclub'] == false && msg['user'] != cb.room_slug && cb.settings.toUser == 'Grey+Light Blue') { benice = ', there are some words you have to pay to say'; color = '#D5EBF8'; matrix(); benice = ', there are some words you have to pay to say'; color = '#FDF5DE'; } if (msg['has_tokens'] || msg['is_mod'] || msg['in_fanclub'] || msg['user'] == cb.room_slug ) {} else { matrix(); } //=====C2C if (cb.settings.allc2c == "Yes") { if (msg['user'] == cb.room_slug ) { } else { var user = msg['user']; var m = msg['m']; var cam2cam = /[a-zA-Z0-9]*ca+m+[\s]*2+[\s]*c+a*m*[a-zA-Z0-9]*/gi; var c2c = /[a-zA-Z0-9]*c+[\s]*2+[\s]*c+[a-zA-Z0-9]*/gi; var mycam = /[a-zA-Z0-9]*my+\s+c+a+m+[a-zA-Z0-9]*/gi; var myroom = /[a-zA-Z0-9]*my+\s+r+o+m+[a-zA-Z0-9]*/gi; var myprofile = /[a-zA-Z0-9]*my+\s+p+r+o+f+i+l+[e]*[a-zA-Z0-9]*/gi; var seemey = /[a-zA-Z0-9]*se+\s+m+[ey]+[a-zA-Z0-9]*/i; var watchmey = /[a-zA-Z0-9]*wa+t+c+h+\s+m+[ey]+[a-zA-Z0-9]*/gi; if (cam2cam.test(m) || c2c.test(m) || mycam.test(m) || myroom.test(m) || myprofile.test(m) || seemey.test(m) || watchmey.test(m)) { m = m.replace(cam2cam,cb.settings.c2cTo); m = m.replace(c2c,cb.settings.c2cTo); m = m.replace(mycam,cb.settings.c2cTo); m = m.replace(myroom,cb.settings.c2cTo); m = m.replace(myprofile,cb.settings.c2cTo); m = m.replace(seemey,cb.settings.c2cTo); m = m.replace(watchmey,cb.settings.c2cTo); msg['m'] = m; if (msg['has_tokens']) color = '#D5EBF8'; if (msg['tipped_recently']) color = '#A5BFE0'; if (msg['tipped_alot_recently']) color = '#EBDEE8'; if (msg['tipped_tons_recently']) color = '#CFC5DE'; if (msg['in_fanclub']) color = '#DAE49F'; if (msg['is_mod']) color = '#F8B7A5'; cb.sendNotice(mUser + ', start my Private/Group Show, if you want to Cam2Cam.',user,color); if (cb.settings.tobc == "Short") { cb.sendNotice(mUser + ' >> C2C blocked :)',cb.room_slug,color); color = '#FDF5DE'; } if (cb.settings.tobc == "Same users") { cb.sendNotice(mUser + ', start my Private/Group Show, if you want to Cam2Cam.',cb.room_slug,color); color = '#FDF5DE'; } } } } return msg; });
© Copyright Chaturbate 2011- 2024. All Rights Reserved.