Set GUI Slots (Section) — skript-gui
Addon: skript-gui · Category: Section · Since: 1.0.0, 1.2.0 (making specific slots stealable)
Syntax
(make|format) [the] next gui [slot] (with|to) [([re]mov[e]able|stealable)] %itemtype%Description
Set or clear GUI slots.
Examples
create a gui with virtual chest inventory with 3 rows named "My GUI"
make next gui with dirt # Formats the next available GUI slot with dirt. Doesn't do anything when clicked on.
make gui 10 with water bucket:
#code here is run when the gui slot is clicked
unformat gui 10 # Removes the GUI item at slot 10
unformat the next gui # Removes the GUI item at the slot before the next available slot.