Untitled
unknown
plain_text
a month ago
811 B
8
Indexable
on async chat: set {_asyncMsg} to text component from formatted async chat message set {_m::1} to text component from "%player's prefix%%player%&7: " set {_m::2} to text component from "%unformatted {_asyncMsg}%" set {_merge} to merge components {_m::*} if "%{_merge}%" contains "[item]" or "[i]": player's tool is not air set {_t} to text component from "&a%name of player's tool%" if name of player's tool is set set {_t} to text component from "%player's tool%" if name of player's tool is not set set hover event of {_t} to hover event showing player's tool set {_m} to merge components ("&8[", {_t}, "&8]") set color format of {_m} to rgb(0, 200, 255) component replace "\[item]" and "\[i]" with {_m} in {_merge}
Editor is loading...
Leave a Comment