Addon Details

Watch - Add Favorite


esc - Eventscripts Colors! ScreenShot

1 out of 1 users claim this version works for them.
Does this version work for you?
5
w00ts
w00t!2

esc - Eventscripts Colors! - Version 1.1

posted on 2012-06-28 20:05:23
by Freakyy



Description

esc - Eventscripts Colors!
Version 1.1
Thanks to Ayuto for his help!

With this addon you can easily manage colors! You can simply use follwing lines:
Quote:
#R,G,B


With "R" you can set the "Red" Color (0-255).
With "G" you can set the "Green" Color (0-255).
With "B" you can set the "Blue" Color (0-255).

Or you can choose over 150 custom colors!
150 Custom Colors!
Here is a list of all colors you can use:
Quote:
Counter-Strike Source
#red
#blue
#white

Red
#DarkRed
#DeepPink
#HotPink
#IndianRed
#LightPink
#MediumVioletRed
#MistyRose
#OrangeRed
#PaleVioletRed
#VioletRed
#firebrick
#pink
#Red
#tomato

Blue
#AliceBlue
#BlueViolet
#CadetBlue
#CornflowerBlue
#DarkBlue
#DarkCyan
#DarkSlateBlue
#DarkTurquoise
#DeepSkyBlue
#DodgerBlue
#LightBlue
#LightCyan
#LightSkyBlue
#LightSlateBlue
#LightSteelBlue
#MediumAquamarine
#MediumBlue
#MediumSlateBlue
#MediumTurquoise
#MidnightBlue
#NavyBlue
#PaleTurquoise
#PowderBlue
#RoyalBlue
#SkyBlue
#SlateBlue
#SteelBlue
#aquamarine
#azure
#Blue !! Upper B to solve conflict with #blue !!
#cyan
#navy
#turquoise

Green
#DarkGreen
#DarkKhaki
#DarkOliveGreen
#DarkSeaGreen
#ForestGreen
#GreenYellow
#LawnGreen
#LightGreen
#LightSeaGreen
#LimeGreen
#MediumSeaGreen
#MediumSpringGreen
#MintCream
#OliveDrab
#PaleGreen
#SeaGreen
#SpringGreen
#YellowGreen
#chartreuse
#Green !! # Upper G to solve conflict with default #green !!
#khaki

Brown
#RosyBrown
#SaddleBrown
#SandyBrown
#beige
#brown
#burlywood
#chocolate
#peru
#tan

Gray
#DarkSlateGray
#DimGrey
#LightGrey
#LightSlateGrey
#SlateGrey
#grey

Orange
#DarkOrange
#DarkSalmon
#LightCoral
#LightSalmon
#PeachPuff
#bisque
#coral
#honeydew
#orange
#salmon
#sienna

Violette
#DarkMagenta
#DarkOrchid
#DarkViolet
#LavenderBlush
#MediumOrchid
#MediumPurple
#lavender
#magenta
#maroon
#orchid
#plum
#purple
#thistle
#violet

White
#AntiqueWhite
#FloralWhite
#GhostWhite
#NavajoWhite
#OldLace
#WhiteSmoke
#gainsboro
#ivory
#linen
#seashell
#snow
#wheat
#White !! Upper W to solve conflict with #white !!

Yellow
#BlanchedAlmond
#DarkGoldenrod
#LemonChiffon
#LightGoldenrod
#LightGoldenrodYellow
#LightYellow
#PaleGoldenrod
#PapayaWhip
#cornsilk
#gold
#goldenrod
#moccasin
#yellow


ES-Classic
After you have loaded "esc_ess" you can use these command lines!
Quote:
esc_msg [message]
esc_tell [userid] [message]


Python
In Python you can simply import "esc" and use:
PYTHON:
    esc.msg(message)
    esc.tell(userid, message)
     


Samples
ESS
Quote:
esc_msg #255,0,0This message is red, #0,255,0green and #0,0,255blue!
esc_tell 2 #255,0,0This message is not only red, #0,255,0green and #0,0,255blue! and visible only for you

esc_msg #RedRed, #GreenGreen and #BlueBlue!


Python
PYTHON:
    import esc
     
    esc.msg('#255,0,0This message is red, #0,255,0green and #0,0,255blue!')
    esc.tell(2, '#255,0,0This message is not only red, #0,255,0green and #0,0,255blue! and visible only for you')
     
    esc.msg('#RedRed, #GreenGreen and #BlueBlue!')
     


Important Information
With version 1.1 I added custom colors.
But these colors are not only once there:
  • #red and #Red
  • #green and #Green
  • #blue and #Blue
  • #white and #White

That is because the colors with the lower capital are game colors,
and with the upper capital are normal colors.

You can view all colors here: addons/eventscripts/_libs/python/esc/colors.ini

Installation

Copy all the files to your main game folder (example: cstrike/)

Add "es_load esc_ess" to your autoexec.cfg if you want to use esc with ES-Classic!

Version Notes For 1.1

Updated on: 2012-06-29 15:57:21 EST by Freakyy (View Zip Contents)


( Previous Versions )