options: tag: &b[&c&lSedzia&b] perm: &cNie masz uprawnien do tej komendy! variables: {ignor::%player%} = true on first join: set {ignor::%player%} to true command /sedzia [] []: trigger: if arg 1 is not set: if player has permissions "sad.*" or "sad.mod": send "&c-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-" send "&4/sedzia setsad &e- &bUstawia miejsce spawnu graczy" send "&4/sedzia zacznij &e- &bTeleportuje wszystkich graczy w wybrane miejsce" send "&4/sedzia koniec &e- &bkonczysz rozprawe" send "&4/sedzia wyrzuc [nick] &e- &bwyrzuca dana osobe na spawn" send "&4/sedzia setspawn &e- &bUstawiasz spawn po zakonczeniu rozprawy" send "&c-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=---=-=-=-=-=-=-" else: send "{@perm}" stop if arg 1 is "setsad": if player has permissions "sad.*" or "sad.mod": set {sedzia::rozprawa} to location of player send "{@tag} &fUstawiles miejsce &bSpawnu Graczy po zaczeciu rozprawy!" else: send "{@perm}" stop if arg 1 is "zacznij": if player has permissions "sad.*" or "sad.mod": loop all players: if {ignor::%player%} is true: teleport loop-player to {sedzia::rozprawa} broadcast "{@tag} &aRozpoczynamy rozprawe. &eProsze usiasc na miejsca!" if arg 1 is "setspawn": if player has permission "sad.*" or "sad.mod": set {spawn::spawn} to location or player send "{@tag} &austawiles spawn po wyrzuceniu gracza" if arg 1 is "koniec": if player has permission "sad.*" or "sad.mod": if arg 2 is set: if player has permissions "sad.*" or "sad.mod": teleport all player to {spawn::spawn} broadcast "{@tag} &2Rozprawa zakonczona!" if arg 1 is "wyrzuc" or "wywal": if player has permission "sad.*": if arg 2 is set: if player has permission "sad.*": teleport to arg 2 {spawn::spawn} send "{@tag} &cZostales wyrzucony z rozprawy!" to loop-player if arg 1 is "ignor": if player has permission "sad.*": if arg 2 is set: if player has permission "sad.*": set {ignor::%player%} to false