esc - Eventscripts Colors!Version 1.1Thanks 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-ClassicAfter you have loaded "esc_ess" you can use these command lines!
Quote:
esc_msg [message]
esc_tell [userid] [message]
PythonIn Python you can simply import "esc" and use:
PYTHON:
| esc.msg(message) |
| esc.tell(userid, message) |
| |
SamplesESSQuote:
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!
PythonPYTHON:
| 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 InformationWith 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