function jakiesInv(p: player):
set {_gui} to chest inventory with 1 row named "123"
set {_item} to chest
set name of {_item} to "123"
set lore of {_item} to "abc"
set slot 2 of {_gui} to {_item}
open {_gui} to {_p}
command /123:
trigger:
jakiesInv(player)
command /1234567:
trigger:
jakiesInv(player)
on right click:
jakiesInv(player)
Funkcją to wywołaj,