GUI Properties (Expression) — skript-gui

Addon: skript-gui · Category: Expression · Since: 1.0.0, 1.3 (rework, support outside of edit sections)

Syntax

[the] ([skript-]gui name[s]|([skript-]gui size[s]|rows)|shape[s]|lock status[es]) of %guiinventorys%

Description

Different properties of a GUI. They can be modified.

Examples

edit gui last gui:
	set the name of the edited gui to "New GUI Name!"
	set the rows of the edited gui to 3 # Sets the number of rows to 3 (if possible)
	set the shape of the edited gui to "xxxxxxxxx", "x-------x", and "xxxxxxxxx"
	set the lock status of the edited gui to false # Players can take items from this GUI now

View source