command /shop:
trigger:
set {chestgui} to a new chest inventory with 3 rows with name "&aSite 1009"
set slot integers from 0 to 26 of {chestgui} to grey stained glass pane with name ""
set slot 13 of {chestgui} to sunflower with name "Cigány" with lore "&6Im cigány" and "&1"
open {chestgui} to player
on inventory click:
if name of event-invetnory is "&aSite 1009":
if event-slot is 13:
close player's inventory
send "" to player
send "%player% spawn selected" to player
cancel event