on load: set {spells::slots::*} to integers between 28 and 34, integers between 37 and 43 load yaml "plugins/Skript/config/spellGUI.yml" as "spells" command /skills: description: Open GUI with archer skills usage: /skills trigger: open chest inventory with {@inventoryRows} rows named "{@inventoryName}" to player loop {@inventoryRows}*9 times: set player's current inventory's slot loop-number -1 to gray glass pane with no nbt named " " # # AKTYWNE UMIEJETNOSCI # set player's current inventory's slot 11 to diamond axe of unbreaking 1 with no nbt named "&6Moc siekiery" {@activeSpelLore} set player's current inventory's slot 13 to lime glass pane with no nbt named "&6Wolny slot na umiejetnosc" with lore "" set player's current inventory's slot 15 to lime glass pane with no nbt named "&6Wolny slot na umiejetnosc" with lore "" # # INNE SKILLE # loop {spells::slots::*}: set {_item::*} to yaml list "spells.%loop-index%" from "spells" set player's current inventory's slot loop-value to yellow glass pane named "&6%{_item::name}%" with lore "&7%{_item::description}%"