options: Sciezka: "plugins/skript/scripts/sklepik/Gui/config.yml" on load: if yaml value "sklepik" from file {@Sciezka} is not set: set yaml value "GUI.PrzykladoweGui.name" from file {@Sciezka} to "&3&lSKLEPIK" set yaml value "GUI.PrzykladoweGui.slots.0.item" from file {@Sciezka} to "diamond axe" set yaml value "GUI.PrzykladoweGui.slots.0.name" from file {@Sciezka} to "&6Boska Siekierka" set yaml value "GUI.PrzykladoweGui.slots.0.lore" from file {@Sciezka} to "&6Siekierka" set yaml value "GUI.PrzykladoweGui.slots.0.lore2" from file {@Sciezka} to "&6Siekierka" command /gui: trigger: set {_namegui} to yaml value "GUI.PrzykladoweGui.name" from file {@Sciezka} set {_slotitem} to yaml value "GUI.PrzykladoweGui.slots.0.item" from file {@Sciezka} set {_slotname} to yaml value "GUI.PrzykladoweGui.slots.0.name" from file {@Sciezka} set {_slotlore1} to yaml value "GUI.PrzykladoweGui.slots.0.lore" from file {@Sciezka} set {_slotlore2} to yaml value "GUI.PrzykladoweGui.slots.0.lore2" from file {@Sciezka} open virtual chest with 6 rows named "%{namegui}%" to player format gui slot 0 of player with {_slotitem} parsed as item named "%{_slotname}%" with lore "%{_slotlore1}%" and "%{_slotlore2}%"