command /sklepik []: trigger: if arg 1 is "main": wait 2 ticks open chest with 6 rows named "&6&lSKLEPIK 1/4" to player wait 2 ticks format slot 0 of player with 1 of black glass named " " to close format slot 1 of player with 1 of black glass named " " to close format slot 2 of player with 1 of black glass named " " to close format slot 3 of player with 1 of black glass named " " to close format slot 4 of player with 1 of black glass named " " to close format slot 5 of player with 1 of black glass named " " to close format slot 6 of player with 1 of black glass named " " to close format slot 7 of player with 1 of black glass named " " to close format slot 8 of player with 1 of black glass named " " to close format slot 45 of player with 1 of black glass named " " to close format slot 46 of player with 1 of black glass named " " to close format slot 47 of player with 1 of redstone torch on named "&cPoprzednia Strona (BRAK)" to close format slot 48 of player with 1 of green stained glass named " " to close format slot 49 of player with 1 of paper named "&aSALDO COINSOW:" with lore "Stan twojego konta to %%coinsy%%" to close format slot 50 of player with 1 of green stained glass named " " to close format slot 51 of player with 1 of redstone torch on named "&eNastepna strona" to close then run [execute player command "sklepik SKLEP2"] format slot 52 of player with 1 of black glass named " " to close format slot 53 of player with 1 of black glass named " " to close stop if arg 1 is "SKLEP2": wait 2 ticks open chest with 6 rows named "&6&lSKLEPIK 2/4" to player wait 2 ticks format slot 0 of player with 1 of black glass named " " to close format slot 1 of player with 1 of black glass named " " to close format slot 2 of player with 1 of black glass named " " to close format slot 3 of player with 1 of black glass named " " to close format slot 4 of player with 1 of black glass named " " to close format slot 5 of player with 1 of black glass named " " to close format slot 6 of player with 1 of black glass named " " to close format slot 7 of player with 1 of black glass named " " to close format slot 8 of player with 1 of black glass named " " to close format slot 45 of player with 1 of black glass named " " to close format slot 46 of player with 1 of black glass named " " to close format slot 47 of player with 1 of redstone torch on named "&cPoprzednia Strona" to close then run [execute player command "sklepik main"] format slot 48 of player with 1 of green stained glass named " " to close format slot 49 of player with 1 of paper named "&aSALDO COINSOW:" with lore "Stan twojego konta to %%coinsy%%" to close format slot 50 of player with 1 of green stained glass named " " to close format slot 51 of player with 1 of redstone torch on named "&eNastepna strona" to close then run [execute player command "sklepik SKLEP3"] format slot 52 of player with 1 of black glass named " " to close format slot 53 of player with 1 of black glass named " " to close stop if arg 1 is "SKLEP3": wait 2 ticks open chest with 6 rows named "&6&lSKLEPIK 3/4" to player wait 2 ticks format slot 0 of player with 1 of black glass named " " to close format slot 1 of player with 1 of black glass named " " to close format slot 2 of player with 1 of black glass named " " to close format slot 3 of player with 1 of black glass named " " to close format slot 4 of player with 1 of black glass named " " to close format slot 5 of player with 1 of black glass named " " to close format slot 6 of player with 1 of black glass named " " to close format slot 7 of player with 1 of black glass named " " to close format slot 8 of player with 1 of black glass named " " to close format slot 45 of player with 1 of black glass named " " to close format slot 46 of player with 1 of black glass named " " to close format slot 47 of player with 1 of redstone torch on named "&cPoprzednia Strona" to close then run [execute player command "sklepik SKLEP2"] format slot 48 of player with 1 of green stained glass named " " to close format slot 49 of player with 1 of paper named "&aSALDO COINSOW:" with lore "Stan twojego konta to %%coinsy%%" to close format slot 50 of player with 1 of green stained glass named " " to close format slot 51 of player with 1 of redstone torch on named "&eNastepna strona" to close then run [execute player command "sklepik SKLEP4"] format slot 52 of player with 1 of black glass named " " to close format slot 53 of player with 1 of black glass named " " to close stop if arg 1 is "SKLEP4": wait 2 ticks open chest with 6 rows named "&6&lSKLEPIK 4/4" to player wait 2 ticks format slot 0 of player with 1 of black glass named " " to close format slot 1 of player with 1 of black glass named " " to close format slot 2 of player with 1 of black glass named " " to close format slot 3 of player with 1 of black glass named " " to close format slot 4 of player with 1 of black glass named " " to close format slot 5 of player with 1 of black glass named " " to close format slot 6 of player with 1 of black glass named " " to close format slot 7 of player with 1 of black glass named " " to close format slot 8 of player with 1 of black glass named " " to close format slot 45 of player with 1 of black glass named " " to close format slot 46 of player with 1 of black glass named " " to close format slot 47 of player with 1 of black glass named " " to close format slot 48 of player with 1 of green glass named " " to close format slot 49 of player with 1 of redstone torch on named "&cPoprzednia Strona" to close then run [execute player command "sklepik SKLEP3"] format slot 50 of player with 1 of green glass named " " to close format slot 51 of player with 1 of black glass named " " to close format slot 52 of player with 1 of black glass named " " to close format slot 53 of player with 1 of black glass named " " to close stop