on join: set {wybor::%player%} to false on command /klasa []: trigger: if {wybor::%player%} is false: if argument 1 is not set: open chest with 1 row named "&4&lWybierz Klase" to player wait 1 tick format slot 0 of player with 1 of Gray Stained Glass Pane to close format slot 1 of player with 1 of Gray Stained Glass Pane to close format slot 2 of player with 1 of Gray Stained Glass Pane to close format slot 3 of player with 1 of book of unbreaking 10 named "&aKlasa Wojownik" to run [make player execute "kwoj"] format slot 4 of player with 1 of red Stained Glass Pane to close format slot 5 of player with 1 of book of unbreaking 10 named "&aKlasa Lucznik" to run [make player execute "kluczn"] format slot 6 of player with 1 of Gray Stained Glass Pane to close format slot 7 of player with 1 of Gray Stained Glass Pane to close format slot 8 of player with 1 of Gray Stained Glass Pane to close set {wybor::%player%} to true