Addon Details

Watch - Add Favorite


esc - Eventscripts Colors! ScreenShot

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

esc - Eventscripts Colors! - Version 1.1

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



Description

[size=170][color=#0000FF]esc - Eventscripts Colors![/color][/size] [size=140]Version 1.1[/size] [b]Thanks to [color=#FF0000]Ayuto[/color] for his help![/b] With this addon you can easily manage colors! You can simply use follwing lines: [quote] #R,G,B [/quote] With "[color=#FF0000]R[/color]" you can set the "Red" Color (0-255). With "[color=#008000]G[/color]" you can set the "Green" Color (0-255). With "[color=#0080FF]B[/color]" you can set the "Blue" Color (0-255). Or you can choose over 150 custom colors! [b][size=130]150 Custom Colors![/size][/b] Here is a list of all colors you can use: [quote] [b]Counter-Strike Source[/b] #red #blue #white [b]Red[/b] #DarkRed #DeepPink #HotPink #IndianRed #LightPink #MediumVioletRed #MistyRose #OrangeRed #PaleVioletRed #VioletRed #firebrick #pink #Red #tomato [b]Blue[/b] #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 [b]Green[/b] #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 [b]Brown[/b] #RosyBrown #SaddleBrown #SandyBrown #beige #brown #burlywood #chocolate #peru #tan [b]Gray[/b] #DarkSlateGray #DimGrey #LightGrey #LightSlateGrey #SlateGrey #grey [b]Orange[/b] #DarkOrange #DarkSalmon #LightCoral #LightSalmon #PeachPuff #bisque #coral #honeydew #orange #salmon #sienna [b]Violette[/b] #DarkMagenta #DarkOrchid #DarkViolet #LavenderBlush #MediumOrchid #MediumPurple #lavender #magenta #maroon #orchid #plum #purple #thistle #violet [b]White[/b] #AntiqueWhite #FloralWhite #GhostWhite #NavajoWhite #OldLace #WhiteSmoke #gainsboro #ivory #linen #seashell #snow #wheat #White !! Upper W to solve conflict with #white !! [b]Yellow[/b] #BlanchedAlmond #DarkGoldenrod #LemonChiffon #LightGoldenrod #LightGoldenrodYellow #LightYellow #PaleGoldenrod #PapayaWhip #cornsilk #gold #goldenrod #moccasin #yellow [/quote] [b][size=130]ES-Classic[/size][/b] After you have loaded "esc_ess" you can use these command lines! [quote] esc_msg [message] esc_tell [userid] [message] [/quote] [b][size=130]Python[/size][/b] In Python you can simply import "esc" and use: [syntax="python"] esc.msg(message) esc.tell(userid, message) [/syntax] [b][size=130]Samples[/size][/b] [b]ESS[/b] [quote] esc_msg #255,0,0[color=#FF0000]This message is red[/color], #0,255,0[color=#00FF00]green[/color] and #0,0,255[color=#0000FF]blue[/color]! esc_tell 2 #255,0,0[color=#FF0000]This message is not only red, [/color]#0,255,0[color=#00FF00]green and [/color]#0,0,255[color=#0000FF]blue! and visible only for you[/color] esc_msg #RedRed, #GreenGreen and #BlueBlue! [/quote] [b]Python[/b] [syntax="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!') [/syntax] [b][size=140]Important Information[/size][/b] With version 1.1 I added custom colors. But these colors are not only once there: [list] [*]#red and #Red [*]#green and #Green [*]#blue and #Blue [*]#white and #White[/list] 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

[b]Copy all the files to your main game folder (example: cstrike/)[/b] 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 )