Blockland Forums > General Discussion
Why does < color everything after it red in chat?
<< < (8/8)
setro2:

--- Quote from: setro2 on June 16, 2012, 05:21:03 PM ---I assume its because every code in centerprint, chatmessage, etc. begins with a <, and if you error it everything after the < turns red to tell you its wrong. For example, just try doing <color:abcdefg> in chat.

--- End quote ---
Its a bit hard to understand.
Gordo12699:

--- Quote from: setro2 on June 16, 2012, 05:21:03 PM ---I assume its because every code in centerprint, chatmessage, etc. begins with a <, and if you error it everything after the < turns red to tell you its wrong. For example, just try doing <color:abcdefg> in chat.

--- End quote ---


--- Quote from: setro2 on June 16, 2012, 05:21:37 PM ---Its a bit hard to understand.

--- End quote ---

Sorry for bumping this!

Anyways, the default blockland chat system isn't compatible for hex coloring the words. Some add-ons will allow this, such as add-ons that chang the color of the outcoming chat (I don't know any examples right now) and why would you tell someone to do something that doesn't work? Hhere try <color:abcdefg> Isn't even valid hex, so of course the message would come out red since < makes everything after it red!
otto-san:

--- Quote from: setro2 on June 16, 2012, 05:21:03 PM ---I assume its because every code in centerprint, chatmessage, etc. begins with a <, and if you error it everything after the < turns red to tell you its wrong. For example, just try doing <color:abcdefg> in chat.

--- End quote ---

--- Quote from: Gordo12699 on June 21, 2012, 06:30:36 PM ---Sorry for bumping this!

Anyways, the default blockland chat system isn't compatible for hex coloring the words. Some add-ons will allow this, such as add-ons that chang the color of the outcoming chat (I don't know any examples right now) and why would you tell someone to do something that doesn't work? Hhere try <color:abcdefg> Isn't even valid hex, so of course the message would come out red since < makes everything after it red!

--- End quote ---
not quite


as said on the first page, you're breaking TML.
fred da kiko:
because <color:> makes things red by default, or at least it does when i'm using the event system.
Navigation
Message Index
Previous page

Go to full version