Bots Home
|
Create an App
pajama
Author:
cachotest
Description
Source Code
Launch Bot
Current Users
Created by:
Cachotest
/************************\ * pajama (c)2017 * color pijama en los mensajes * v1.0 (25/08/2017) * Author: cacho_gordo \************************/ "use strict";var obj={name:"color",type:"choice",label:"Color for odd messages"};var color={Aquamarine:"#7FFFD4",Bisque:"#FFE4C4",Gold:"#FFD700",GreenYellow:"#ADFF2F",Khaki:"#F0E68C",LightCyan:"#E0FFFF",LightPink:"#FFB6C1",LightSalmon:"#FFA07A",LightSkyBlue:"#87CEFA",LightSteelBlue:"#B0C4DE",MistyRose:"#FFE4E1",Moccasin:"#FFE4B5",PaleGoldenRod:"#EEE8AA",PaleGreen:"#98FB98",PaleTurquoise:"#AFEEEE",PeachPuff:"#FFDAB9",Pink:"#FFC0CB",Plum:"#DDA0DD",PowderBlue:"#B0E0E6",Salmon:"#FA8072",SandyBrown:"#F4A460",Silver:"#C0C0C0",SkyBlue:"#87CEEB",Tan:"#D2B48C",Thistle:"#D8BFD8",Turquoise:"#40E0D0",Violet:"#EE82EE",Wheat:"#F5DEB3"};obj.defaultValue=color.Aquamarine;var i=0;for(var col in color){obj["choice"+(++i)]=col}cb.settings_choices=[];cb.settings_choices.push(obj);var codColor=color[cb.settings.color];i=0;cb.onMessage(function(a){a.background=(++i)&1?codColor:"";return a});var navy="#008";cb.chatNotice();cb.sendNotice("********************************","","",navy,"bold");cb.sendNotice(" pajama (c)2017","","",navy,"bold");cb.sendNotice(" Version 1.0 (25/08/2017)","","",navy,"bold");cb.sendNotice(" Author: cacho_gordo (cachotest)","","",navy,"bold");cb.sendNotice("********************************","","",navy,"bold");cb.chatNotice("Colored odd messages, selected: "+cb.settings.color);cb.chatNotice();
© Copyright Chaturbate 2011- 2024. All Rights Reserved.