Ant1leve
Mouse
Miceforce Color CodesThe color codesExtra tags
Miceforce Color Codes
Hey there! Today I bring here the Miceforce color codes topic that can be used in your own module.But first, if you don't know how to use it or what is this there are some questions:
• What is color codes?
Color codes are used to color Miceforce. An example is the Sevenops nickname's color, which is red in the game. Many codes are in hexadecimal and need to be in Lua scripts. An example of a hexadecimal color code is the blue color code: #0000ff or 0x0000ff. On the forum, color codes are in RGB that are no longer useful/functional in Lua scripts.
• How can be color codes used in Lua scripts?
Can be used in textareas, popups, chat messages, lua console prints, and many utilities. In Miceforce Lua scripts, can be used the <font> tag, which is also used in HTML Scripts. For example, if you want to a word be wrote in yellow color can be used <font color='#ffff00'>, in other words, first you write <font> tag with the color attribute inside and write on the color attribute ='ColorCode'>, finishing: <font color='ColorCode'>, and instead of "ColorCode" you write the color code you want, but remembering, in hexadecimal.
Try yourself:I hope helped someone. It's my first thread in english then I'm sorry for some mistakes.Code:ui.addTextArea(0, "<font color='#ffff00'>Yellow text", nil)
The color codes
HEX Color Code - Meaning in game - TAG
#2F7FCC - Mapcrew color. - <BV>
#CB546B - Errors color. - <R>
#6C77C1 - Normal information color. - <BL>
#BABD2F - Special information color/Moderator nickname's color - <J>
#C2C2DA - Old forum/game writing color. - <N>
#9292AA - Desactived buttons color. - <N2>
#2EBA7E - Used color in tribe. - <PT>
#E88F4F - Color of whisper sent. - <CE>
#F0A78E - Whispers color. - <CEP>
#EFCE8F - Whispers color. - <CS>
#CAA4CF - Players chat color (/chat ...). - <S>
#E9E654 - Color when click (<a>) text. - <A:ACTIVE>
#F1C4F6 - Color of players' chat messages (/chat ...). - <PS>
#606090 - Automatic friends color. - <G>
#009D9D - Normal nickname color. - <V>
#2ECF73 - Color of tutorial tips in game. - <VP>
#C53DFF - Unused. - <VI>
#ED67EA - Message color of server, moderators and bots. - <ROSE>
#98E2EB - Color of blue shaman message. - <CH>
#A4CF9E - Automatic tribe message color. - <T>
#FF8547 - FunCorp Nickname Color - <FC>
There are others text tags like the <B> tag, <I> tag and <U> tag. Examples of uses and meaning:
<B>Try yourself:
<I>
<U>
Code:tfm.exec.chatMessage("<B>Bolds the message") tfm.exec.chatMessage("<I>Italics the message") tfm.exec.chatMessage("<U>Underlines the message")Thanks Dark_nlght for sharing these tags!
Last edited:


