Cancel GUI Close (Effect) — skript-gui

Addon: skript-gui · Category: Effect · Since: 1.2.0

Syntax

(cancel|uncancel) [the] gui clos(e|ing)

Description

Cancels or uncancels the closing of a GUI. This effect can be used within a GUI close section. A 1 tick delay is applied by this effect after the code has run.

Examples

create a gui with virtual chest inventory with 3 rows named "My GUI":
	run on gui close:
		cancel the gui closing

View source