Hey so im working on making a crate system with skript, but I want to get the name of the container or chest when you click it so it sets that to the name of the crate, I have a bit of code but it doesn't work.
Code:
set {_crateName} to name of %location% inventory