Hello,
I am looking for a way to detect an item without having to put several times a format gui.
Example :
I also tried to put the color in quotation marks, nothing works
Thank's !
I am looking for a way to detect an item without having to put several times a format gui.
Example :
code_language.skript:
command /gui:
trigger:
open virtual chest with 4 rows named "Gui" to player
if {test} is true:
set {_Dye} to green
if {test} is false or not set:
set {_Dye} to gray
format gui slot 0 of player with %{_Dye}% dye named "%{test}%" to run using "left" click:
I also tried to put the color in quotation marks, nothing works
Thank's !