So, I am making my own Item Nametag skript. It is 100% working, exept for this one thing. So, I have this:
So, the thing is, if I were to do: /rename &bTest, it would rename it letter for letter: &bTest in white. I understand why it does that, but I don't know how to make it so it takes the color codes and renames the tool with the color codes, such as Test without &b but in Aqua. Thanks
EDIT: If you know a bit of Java, I need something like a translateAlternateColorCodes or whatever the syntax is for that again where you can add color codes such as &b in messages and it will translate it to the color you want.
code_language.skript:
command /rename <text>:
trigger:
set {new.name.%uuid of player%} to arg 1
set tool of player to the player's tool named "%{new.name.%uuid of player%}%"
EDIT: If you know a bit of Java, I need something like a translateAlternateColorCodes or whatever the syntax is for that again where you can add color codes such as &b in messages and it will translate it to the color you want.
Last edited: