#condense a chatcolor skript

1 messages · Page 1 of 1 (latest)

wintry nacelle
#

đź‘‹

I made a chatcolor skript and it works well but it handles each color indivudually which is inefficient as fuck! So I was like hmm how do I condense this.

Really the only way I could think of was making like a data thing that I've seen before but cant find in docs

I.e. set {a} to "red|&c||orange||&6" etc then I can split it at || and | but I don't know what the actual code would look like

a jumpstart would be appreciated ❤️

inner steppe
vagrant hollow
#

wdym it handles each colour individually

bitter pivot
#

probably a list with custom indices, like

set {color::red} to "&c"
set {color::orange} to "&6"

if you just split it, that'd basically do the same thing as making a list