command /os []: trigger: if arg 1 is not set: set {os::*} to configuration section "osiagniecia" get of "plugins/MineCast-OS/config.yml" send "%{os::*}%" set {_num} to 0 open chest with 1 rows named "&eOsiagniecia:" to player loop {os::*}: set {_nazwa} to yaml value "osiagniecia.%loop-value%.nazwa" from file "plugins/MineCast-OS/config.yml" set {_icon} to yaml value "osiagniecia.%loop-value%.ikona" from file "plugins/MineCast-OS/config.yml" set {_lore} to yaml value "osiagniecia.%loop-value%.lore" from file "plugins/MineCast-OS/config.yml" send "%{_nazwa}%, %{_icon}%, %{_lore}%" format slot {_num} of player with 1 of {_icon} named "%{_nazwa}%" with lore "%{_lore}%" to close then run [execute player command "os %loop-value%"] add 1 to {_num}