on death: teleport player to {spawn} variables: {aktywny} = false command /tst [] [] [] []: trigger: if arg 1 is not set: send "&7* &cNie ustawiles(as) argumentu 1! Wszystkie komendy znajdziesz pod /tst pomoc" if arg 1 is "pomoc": send "&8=-=-=-=-=-=&6the&cStick&8=-=-=-=-=-=" send "&6/tst pomoc &8- Wiadomosc ktora widzisz teraz" send "&6/tst admin ustaw spawn &8- Ustawianie spawnu w którym gracz ma się zrespić po przegraniu" send "&6/tst admin ustaw lobby &8- Ustawianie lobby do którego ma tepnąć gracza po dołączeniu" send "&6/tst dolacz &8- Dolaczenie do aktywnego eventu" send "&6/tst admin start &8- Rozpoczęcie eventu &6the&cStick" send "&6/tst admin stop &8- Zakończenie eventu" send "&6/tst admin wazne &8- Administrator powinien to przeczytać przed odpaleniem eventu" send "&8=-=-=-=-=-=&6the&cStick&8=-=-=-=-=-=" if arg 1 is "admin": if arg 2 is "wazne": send "&8=-=-=-=-=-=&6the&cStick&8=-=-=-=-=-=" send "&c&lUWAGA!" send "&4&lPo evencie należy wpisać komende /tst admin stop" send "&4&laby wyłączyć komende /tst dolacz" send "&8=-=-=-=-=-=&6the&cStick&8=-=-=-=-=-=" if arg 2 is "ustaw": if arg 3 is "spawn": send "* Pomyslnie ustawiono spawn gracza!" set {spawn} to location of player if arg 3 is "lobby": send "* Pomyslnie ustawiono lobby eventu!" set {lobby} to location of player if arg 2 is "start": send "* Pomyslnie wystartowano event &6the&cStick" broadcast "&4&lAdministrator &c%player% &4&luruchomił event &6the&cStick&f!" broadcast "&4&lWpisz &c/tst dolacz &4&laby dolaczyc" set {aktywny} to true if arg 2 is "stop": send "* Pomyslnie wylaczono event/dolaczanie do eventu &6the&cStick" broadcast "&4&lAdministrator &c%player% &4&lwylaczyl mozliwoc dolaczania do eventu!" set {aktywny} to false if arg 1 is "dolacz": teleport player to {lobby} execute console command "give %player% minecraft:stick 1 0 {ench:[{id:16,lvl:1000}]}"