on load: send "[SuperGuilds] alchemyGUI loaded. [%%5]" to console sub "alchemyGUI": set {_p} to "%parameter 1%" parsed as player set {_uuid} to "%uuid of {_p}%" open chest with 3 rows named "%{alchemy_header}%" to {_p} wait 2 ticks set {_sayim} to 0 set {_sira} to 1 set {_item::1_1} to "stone sword" parsed as material set {_item::2_1} to "leather boots" parsed as material set {_item::3_1} to "apple" parsed as material set {_item::4_1} to "leather chestplate" parsed as material set {_item::5_1} to "slimeball" parsed as material set {_item::1_2} to "iron sword" parsed as material set {_item::2_2} to "iron boots" parsed as material set {_item::3_2} to "golden apple item" parsed as material set {_item::4_2} to "iron chestplate" parsed as material set {_item::5_2} to "magma cream" parsed as material set {_item::1_3} to "diamond sword" parsed as material set {_item::2_3} to "diamond boots" parsed as material set {_item::3_3} to "enchanted golden apple" parsed as material set {_item::4_3} to "diamond chestplate" parsed as material set {_item::5_3} to "fire charge" parsed as material loop 5 times: format slot {_sayim} of {_p} with 1 of {_item::%{_sira}%_1} named "%{alchemy::%{_sira}%}% I" with lore "%{alchemyLore::%{_sira}%::1}%||&a%{alchemist}% I" to close then run [invoke "efekt" from "%{_sira}%" and "1" and "%{sg::guildNamePlayer::%{_uuid}%}%"] add 1 to {_sira} add 2 to {_sayim} set {_sayim} to 9 set {_sira} to 1 loop 5 times: format slot {_sayim} of {_p} with 2 of {_item::%{_sira}%_2} named "%{alchemy::%{_sira}%}% II" with lore "%{alchemyLore::%{_sira}%::2}%||&a%{alchemist}% II" to close then run [invoke "efekt" from "%{_sira}%" and "2" and "%{sg::guildNamePlayer::%{_uuid}%}%"] add 1 to {_sira} add 2 to {_sayim} set {_sira} to 1 set {_sayim} to 18 loop 5 times: format slot {_sayim} of {_p} with 3 of {_item::%{_sira}%_3} named "%{alchemy::%{_sira}%}% III" with lore "%{alchemyLore::%{_sira}%::3}%||&a%{alchemist}% III" to close then run [invoke "efekt" from "%{_sira}%" and "3" and "%{sg::guildNamePlayer::%{_uuid}%}%"] add 1 to {_sira} add 2 to {_sayim}