otclient
otclient copied to clipboard
BBCode proccessing for strings in controls.
Basically allowing Bold/italic, underlined text, custom colors, text alignment in strings using some kind of code. BBCode:ish would be the easiest to implement.
If it was easier, you could implement as a Lua function serializes.
example:
"Hello, [bold] [player.getName()] [bold]" This would update when the string is rendered. Update time could be set in otui file
This is perfect idea for text colors.