String Colors (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.11
Syntax
[all [[of] the]|the] string colo[u]r[s] [code[s]] of %strings%Description
Retrieve the first, the last, or all of the color objects or color codes of a string. The retrieved color codes of the string will be formatted with the color symbol.
Examples
set {_colors::*} to the string colors of "<red>hey<blue>yo"set {_color} to the first string color code of "&aGoodbye!"
send "%{_color}%Howdy!" to all players