Color Markup

Color Markup 1.0.1

Denizen Version
5997-DEV
Add color to your chat messages! Comes prepackaged with three colors with three identifiers, *yellow*, ((blue)) and [gold]! The coloring system uses a stack setup, which means that you can have one color start, then another, then when you end the second color, it'll reset back to the first! No more needing to do
Code:
*text*((insidetext))*text*
, simply do
Code:
*text((insidetext))text*
and it will "reset" back to it's previous color. The procedure powerhouse should work with any messages, even pre colored ones, as it will automatically determine the first existing color of the text and add that to the stack. If your message comes with multiple colors, only the first one will be taken into account, unfortunately.

While I put a good amount of work into this to avoid edge cases, and weird behaviour when the script is running, there may be things I missed. Please send me a message on Discord @jumpsplat120#0001 if you find any issues at all.

To configure, you can go into the world script, add a new map that follows the formats of the previous three maps, then add it to the map in the context. The proc.context map is numerically indexed, to make it easier to pass into a procedure.

This script was commissioned by @_Niklas#4810! Thanks Niklas!
Author
jumpsplat120
Downloads
561
Views
595
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from jumpsplat120

Share this resource