Proszę
#created by nixolex
options:
title: Tytul gui
h1: Glowka 1 tytul
h2: Glowka 2 tytul
h3: Glowka 3 tytul
lore1: opis 1
lore2: opis 2
lore3: opis 3
command /pomoc:
trigger:
set {_gui} to chest with 5 rows named "{@title}"
#obramowka
set slot 1 and 7 and 9 and 17 and 27 and 35 and 37 and 43 of {_gui} to magenta glass pane
set slot 20 of {_gui} to player's skull named "{@h1}" with lore "{@lore1}"
set slot 22 of {_gui} to player's skull named "{@h2}" with lore "{@lore2}"
set slot 24 of {_gui} to player's skull named "{@h3}" with lore "{@lore3}"
open {_gui} to player
on inventory click:
if name of event-inventory is "{@title}":
cancel event