Formatting Text
By mastermike707
created 12/15/03
Have you ever wanted to make some text generated by triggers have color or be underlined? Well, all you have to do is a simple code. This will only work on the Send Chat, Send Chat to player,Send Spoofed Chat, and Send Spoofed Chat to player.
Here is a small list of examples:
<color=\"0.0,0.0,0.0\"> Text here </color> Above is black. <color=\"0.0,0.0,1.0\"> Text here </color> Above is blue. <color=\"1.0,0.0,1.0\"> Text here </color> Above is purple. <color=\"1.0,1.0,0.0\"> Text here </color> Above is yellow. <color=\"0.0,1.0,0.0\"> Text here </color> Above is green. <color=\"1.0,0.0,0.0\"> Text here </color> Above is red. <color=\"0.66,0.66,0.66\"> Text here </color> Above is gray.
Note: You must type ALL of the slashes before the quotes or it will cause a synthax error. You also must type BACKSLASHES in the first “tag”.
To underline something type the following:
<u>Text Here</u>
Color and Underlining will work together. The three numbers in color represent r g b; red green blue
Except the key is this: 255= 1.0 It becomes very complicated after a while, so i just listed the simple ones up there^^ For reference to r b g use a photo editing program to check it like Adobe Photoshop.You can also use this code in-game. You may use more than 1 color in a chat, but don’t put too many colors or it will not fit in the line and you will have cut-off text. Formatting text can be used in AOM and AOMTT.