code_language.skript:
command /test:
trigger:
open chest with 3 rows named "Test Inventory" to player
wait 1 tick
format slot 0 of player with compass named "&4COMPASS" to close then run ""
on inventory click:
if inventory named "Test Inventory":
if clicked item is compass:
if name of tool is "&4COMPASS":
send "I hope it works"
Can anyone help me because this dont work :/