so i have a command that when performed it would open a tuske gui and there i have some slots formatted with items, and when clicking on them i'd perform a few actions. This is the format I'm using
how can I make so that whenever a player clicks on this item it'll close? I know that I can do this:
but the issue is that I have multiple effects running apart from message "test" (which aren't tuske or script's ones, i mean they're from other addons) so I tried to make that and it didn't work and what I want is to somehow have clicking on that slot, it'll close the gui and run multiple actions defined in my script. how?
code_language.skript:
command /test:
trigger:
create a gui with id "test" with virtual chest with 1 row named "test gui":
make gui slot 0 with stone named "test":
message "test"
how can I make so that whenever a player clicks on this item it'll close? I know that I can do this:
code_language.skript:
make gui slot 0 with stone named "test"[B] to close[/B] then run something