GUI Open/Close (Section) — skript-gui
Addon: skript-gui · Category: Section · Since: 1.0.0, 1.3 (open section)
Syntax
run (when|while) (open[ing]|clos(e|ing)) [[the] gui]Description
Sections that will run when a user opens or closes the GUI. This section is optional.
Examples
create a gui with virtual chest inventory with 3 rows named "My GUI"
run on gui open:
send "You just opened this GUI!" to player
run on gui close:
send "You just closed this GUI!" to player