command /sklep: trigger: open chest with 1 rows named "&a &1&lSklep" to player wait 1 tick format slot 0 of player with emerald named "&c&lKOXY" with lore "&3&lx64" to close then run [execute player command "/koxy"]