When you open inventory, is there a way to judge whether it is a player's area or a chest area?
For example, if there is a diamond in the chest (blue), click on it to make an event that happens.
However, even if you click on the diamond in the player 's inventory (red), a similar event will occur.
I want to raise an event only if there are items in the chest.
It looks like no good
thanks.
For example, if there is a diamond in the chest (blue), click on it to make an event that happens.
code_language.skript:
on mor.inventory click:
if event-item is diamond:
(code...)
I want to raise an event only if there are items in the chest.
code_language.skript:
if name of event-inventory contains "%event-player%":
stop
thanks.