GHI_ColorString

Pilus edited this page Aug 11, 2015 · 1 revision

Syntax:

GHI_ColorString(s,r,g,b)

Arguments:

GHI_GenerateLink has 4 required arguments

s
''String''
The string of text you wish to color.
r
''Number''
The decimal value of Red to color the string with.
g
''Number''
The decimal value of Green to color the string with.
b
''Number''
The decimal value of Blue to color the string with.

Returns:

cs
''String''
The string entered with escapee codes to color it according to the RGB Values entered.

Example:

local cs = GHI_ColorString("Hello!",0.5,0.1,0.5)

print(cs)

This script will print "Hello!" in purple.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.