Hello, I'm looking for a way to define the number of items by a variable.
Work :
Doesn't work :
Thank's in advance.
Work :
code_language.skript:
command /chest:
trigger:
wait 1 tick
open virtual chest with 4 rows named "test" to player
format gui slot 1 of player with 5 item_frame named "test"
Doesn't work :
code_language.skript:
command /chest:
trigger:
wait 1 tick
open virtual chest with 4 rows named "test" to player
set {_count} to 5
format gui slot 1 of player with {_count} item_frame named "test"
Thank's in advance.