Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on load:
- send "[TheWalls] Loading TheWalls v0.9" to console
- on unload:
- send "[TheWalls] Disabling TheWalls v0.9" to console
- variables:
- {team1::*} = 0
- {team2::*} = 0
- {team3::*} = 0
- {team4::*} = 0
- options:
- # Logo Skryptu
- logo: &7[&cWalls&7]
- # Glowna Komenda:
- maincommand: walls
- command /team [<text>]:
- trigger:
- if arg 1 is not "1" or "2" or "3" or "4":
- send "{@logo}&7Musisz wybrac druzyne 1-4"
- if arg 1 is not set:
- send "{@logo}&7Poprawne uzycie: /team <1-4>"
- stop
- if arg 1 is "1":
- if {team1::*} is true:
- send "{@logo}&aNalezysz juz do druzyny &a1 &a!"
- stop
- if {team2::*} is true:
- if {team1::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove player from {team2::*}
- set {team2::*} to false
- set the player's tablist name to "&a%name of player%"
- add player to {team1::*}
- send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{team1::*}%/10] !"
- set {team1::*} to true
- stop
- if {team3::*} is true:
- if {team1::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove player from {team3::*}
- set {team3::*} to false
- set the player's tablist name to "&a%name of player%"
- add player to {team1::*}
- send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{team1::*}%/10] !"
- set {team1::*} to true
- stop
- if {team4::*} is true:
- if {team1::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove player from {team4::*}
- set {team4::*} to false
- set the player's tablist name to "&a%name of player%"
- add player to {team1::*}
- send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{team1::*}%/10] !"
- set {team1::*} to true
- stop
- if {team1::*} is false:
- if {team2::*} is false:
- if {team1::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {team1::*}
- send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{team1::*}%/10] !"
- set {team1::*} to true
- stop
- if {team3::*} is false:
- if {team1::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {team1::*}
- send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{team1::*}%/10] !"
- set {team1::*} to true
- stop
- if {team4::*} is false:
- if {team1::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {team1::*}
- send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{team1::*}%/10] !"
- set {team1::*} to true
- stop
- if arg 1 is "2":
- if {team1::*} is true:
- if {team2::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove player from {team1::*}
- set {team1::*} to false
- set the player's tablist name to "&b%name of player%"
- add player to {team2::*}
- send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{team2::*}%/10] !"
- set {team2::*} to true
- stop
- if {team2::*} is true:
- send "{@logo}&aNalezysz juz do druzyny &b2 &a!"
- stop
- if {team3::*} is true:
- if {team2::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove player from {team3::*}
- set {team-3.%player%} to false
- set the player's tablist name to "&b%name of player%"
- add 1 to {team2::*}
- send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{team2::*}%/10] !"
- set {team-2.%player%} to true
- stop
- if {team4::*} is true:
- if {team2::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove player from {team4::*}
- set {team-4.%player%} to false
- set the player's tablist name to "&b%name of player%"
- add player to {team2::*}
- send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{team2::*}%/10] !"
- set {team2::*} to true
- stop
- if {team2::*} is false:
- if {team1::*} is false:
- if {team2::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add player to {team2::*}
- send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{team2::*}%/10] !"
- set {team2::*} to true
- stop
- if {team3::*} is false:
- if {team2::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add player to {team2::*}
- send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{team2::*}%/10] !"
- set {team2::*} to true
- stop
- if {team4::*} is false:
- if {team2::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add player to {team2::*}
- send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{team2::*}%/10] !"
- set {team2::*} to true
- stop
- if arg 1 is "3":
- if {team1::*} is true:
- if {team3::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove player from {team1::*}
- set {team1::*} to false
- set the player's tablist name to "&c%name of player%"
- add player to {team3::*}
- send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{team3::*}%/10] !"
- set {team3::*} to true
- stop
- if {team2::*} is true:
- if {team3::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove player from {team2::*}
- set {team2::*} to false
- set the player's tablist name to "&c%name of player%"
- add player to {team3::*}
- send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{team3::*}%/10] !"
- set {team3::*} to true
- stop
- if {team3::*} is true:
- send "{@logo}&aNalezysz juz do druzyny &c3 &a!"
- stop
- if {team4::*} is true:
- if {team3::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove player from {team4::*}
- set {team4::*} to false
- set the player's tablist name to "&c%name of player%"
- add player to {team3::*}
- send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{team3::*}%/10] !"
- set {team3::*} to true
- stop
- if {team3::*} is false:
- if {team1::*} is false:
- if {team3::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add player to {team3::*}
- send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{team3::*}%/10] !"
- set {team3::*} to true
- stop
- if {team2::*} is false:
- if {team3::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add player to {team3::*}
- send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{team3::*}%/10] !"
- set {team3::*} to true
- stop
- if {team4::*} is false:
- if {team3::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add player to {team3::*}
- send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{team3::*}%/10] !"
- set {team3::*} to true
- stop
- if arg 1 is "4":
- if {team1::*} is true:
- if {team4::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove 1 from {team1::*}
- set {team1::*} to false
- set the player's tablist name to "&e%name of player%"
- add 1 to {team4::*}
- send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{team4::*}%/10] !"
- set {team4::*} to true
- stop
- if {team2::*} is true:
- if {team4::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove 1 from {team2::*}
- set {team2::*} to false
- set the player's tablist name to "&e%name of player%"
- add 1 to {team4::*}
- send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{team4::*}%/10] !"
- set {team4::*} to true
- stop
- if {team3::*} is true:
- if {team4::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove 1 from {team3::*}
- set {team3::*} to false
- set the player's tablist name to "&e%name of player%"
- add 1 to {team4::*}
- send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{team4::*}%/10] !"
- set {team4::*} to true
- stop
- if {team4::*} is true:
- send "{@logo}&aNalezysz juz do druzyny &64 &a!"
- stop
- if {team4::*} is false:
- if {team1::*} is false:
- if {team4::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {team4::*}
- send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{team4::*}%/10] !"
- set {team4::*} to true
- stop
- if {team2::*} is false:
- if {team4::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {team4::*}
- send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{team4::*}%/10] !"
- set {team4::*} to true
- stop
- if {team3::*} is false:
- if {team4::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {team4::*}
- send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{team4::*}%/10] !"
- set {team4::*} to true
- stop
- command /teamspawn [<text>]:
- permission: walls.teamspawn
- trigger:
- if arg 1 is not set:
- send "{@logo}&7Aby ustawic spawn musisz wpisac argument"
- if arg 1 is "1":
- set {team1.pos} to location of player
- send "{@logo}&aUstawiono lokalizacje spawnu [Team 1] !"
- stop
- if arg 1 is "2":
- set {team2.pos} to location of player
- send "{@logo}&bUstawiono lokalizacje spawnu [Team 2] !"
- stop
- if arg 1 is "3":
- set {team3.pos} to location of player
- send "{@logo}&cUstawiono lokalizacje spawnu [Team 3] !"
- stop
- if arg 1 is "4":
- set {team4.pos} to location of player
- send "{@logo}&eUstawiono lokalizacje spawnu [Team 4] !"
- stop
- if arg 1 is "1-2":
- set {team1.pos2} to location of player
- send "{@logo}&aUstawiono lokalizacje spawnu [Team 1] !"
- stop
- if arg 1 is "2-2":
- set {team2.pos2} to location of player
- send "{@logo}&bUstawiono lokalizacje spawnu [Team 2] !"
- stop
- if arg 1 is "3-2":
- set {team3.pos2} to location of player
- send "{@logo}&cUstawiono lokalizacje spawnu [Team 3] !"
- stop
- if arg 1 is "4-2":
- set {team4.pos2} to location of player
- send "{@logo}&eUstawiono lokalizacje spawnu [Team 4] !"
- stop
- if arg 1 is "1-3":
- set {team1.pos3} to location of player
- send "{@logo}&aUstawiono lokalizacje spawnu [Team 1] !"
- stop
- if arg 1 is "2-3":
- set {team2.pos3} to location of player
- send "{@logo}&bUstawiono lokalizacje spawnu [Team 2] !"
- stop
- if arg 1 is "3-3":
- set {team3.pos3} to location of player
- send "{@logo}&cUstawiono lokalizacje spawnu [Team 3] !"
- stop
- if arg 1 is "4-3":
- set {team4.pos3} to location of player
- send "{@logo}&eUstawiono lokalizacje spawnu [Team 4] !"
- stop
- command /falldown:
- permission: walls.falldown
- trigger:
- loop all blocks in region "team1-1":
- execute server command "rg flag team1-1 entry -w world allow"
- execute server command "rg flag team1-1 build -w world allow"
- set loop-blocks to air
- loop all blocks in region "team1-2":
- execute server command "rg flag team1-2 entry -w world allow"
- execute server command "rg flag team1-2 build -w world allow"
- set loop-blocks to air
- loop all blocks in region "team2-1":
- execute server command "rg flag team2-1 entry -w world allow"
- execute server command "rg flag team2-1 build -w world allow"
- set loop-blocks to air
- loop all blocks in region "team2-2":
- execute server command "rg flag team2-2 entry -w world allow"
- execute server command "rg flag team2-2 build -w world allow"
- set loop-blocks to air
- loop all blocks in region "team3-1":
- execute server command "rg flag team3-1 entry -w world allow"
- execute server command "rg flag team3-1 build -w world allow"
- set loop-blocks to air
- loop all blocks in region "team3-2":
- execute server command "rg flag team3-2 entry -w world allow"
- execute server command "rg flag team3-2 build -w world allow"
- set loop-blocks to air
- loop all blocks in region "team4-1":
- execute server command "rg flag team4-1 entry -w world allow"
- execute server command "rg flag team4-1 build -w world allow"
- set loop-blocks to air
- loop all blocks in region "team4-2":
- execute server command "rg flag team4-2 entry -w world allow"
- execute server command "rg flag team4-2 build -w world allow"
- set loop-blocks to air
- stop
- command /tep [<text>]:
- permission: walls.tep
- trigger:
- if {arena} is true:
- if {team1::*} is true:
- execute server command "tp arg-player"
- send "Przeteleportowano do gracza %arg-player%" to player
- stop
- if {team1::*} is false:
- send "&4Nie mozesz teleportowac sie do gracza z innej druzyny!" to player
- stop
- if {team2::*} is true:
- execute server command "tp arg-player"
- send "Przeteleportowano do gracza %arg 1%" to player
- stop
- if {team2::*} is false:
- send "&4Nie mozesz teleportowac sie do gracza z innej druzyny!" to player
- stop
- if {team3::*} is true:
- execute server command "tp arg-player"
- send "Przeteleportowano do gracza %arg 1%" to player
- stop
- if {team3::*} is false:
- send "&4Nie mozesz teleportowac sie do gracza z innej druzyny!" to player
- stop
- if {team4::*} is true:
- execute server command "tp arg-player"
- send "Przeteleportowano do gracza %arg 1%" to player
- stop
- if {team4::*} is false:
- send "&4Nie mozesz teleportowac sie do gracza z innej druzyny!" to player
- stop
- command /bc [<text>]:
- permission: walls.broadcast
- trigger:
- if arg 1 is not set:
- send "{@logo}Musisz wpisac argument!"
- if arg 1 is set:
- broadcast "{@logo}%coloured arg%"
- stop
- command /bc2 [<text>]:
- permission: walls.broadcast2
- trigger:
- if arg 1 is not set:
- send "{@logo}Musisz wpisac argument!"
- if arg 1 is set:
- broadcast "%coloured arg%"
- stop
- command /walls [<text>] [<text>]:
- aliases: w
- trigger:
- if arg 1 is not set:
- send " &b=-=-=-=-= TheWalls =-=-=-=-="
- send " &e/walls start - Startuje arene TheWalls"
- send " &e/walls help - Pomoc pluginu TheWalls"
- send " &e/walls - Pokazuje komendy TheWalls"
- send " &e/wyjdz - Startuje arene TheWalls"
- send " &e/team <1-4> - Startuje arene TheWalls"
- send " &e/tep <nick> - Startuje arene TheWalls"
- stop
- if arg 1 is "help":
- if arg 2 is "1":
- send " &2Strona 1/3"
- send " &b=-=-=-=-= TheWalls =-=-=-=-="
- send " &e/walls help - Pomoc pluginu TheWalls"
- send " &e/walls - Pokazuje komendy TheWalls"
- send " &e/wyjdz - Startuje arene TheWalls"
- send " &e/team <1-4> - Startuje arene TheWalls"
- send " &e/tep <nick> - Startuje arene TheWalls"
- stop
- if arg 2 is "2":
- send " &2Strona 2/3"
- send " &b=-=-=-=-= TheWalls =-=-=-=-="
- send " &eTheWalls to minigierka w ktorej sa cztery"
- send " &edruzyny: 1 - zielona, 2 - niebieska, "
- send " &e3 - czerwona, 4 - zolta. Jest 10 min."
- send " &ena zbieranie(kopanie, zbieranie drewna."
- send " &eSurowce wypadaja ze stone(kamienia)."
- send " &eNastepnie opadaja sciany i najlepiej"
- send " &ezebrac jak najwiecej skrzynek ze srodka."
- send " &eJesli przez 10 min. walki po opadnieciu"
- send " &escian jedna druzyna nie zostanie i nie"
- send " &ewygra rozpocznie sie DeathMatch. Tam"
- send " &eroztrzygnie sie bitwa"
- stop
- if arg 2 is "3":
- send " &cStrona 3/3"
- send " &b=-=-=-=-= TheWalls =-=-=-=-="
- send " &eZa zabicie gracza otrzymujemy +5 monet"
- send " &enatomiast za wygrana +15 monet. W czasie"
- send " &eeventow za zabicie bedzie +10 monet, a"
- send " &eza wygrana +30 monet. Eventy beda srednio"
- send " &eco 1 mies. i beda trwaly ok. caly weekend."
- stop
- if arg 1 is "start":
- if player has permission "walls.start":
- execute server command "bc Gra zacznie sie za 5 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 5 sekund!"
- wait 1 second
- execute server command "bc Gra zacznie sie za 4 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 4 sekund!"
- wait 1 second
- execute server command "bc Gra zacznie sie za 3 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 3 sekund!"
- wait 1 second
- execute server command "bc Gra zacznie sie za 2 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 2 sekund!"
- wait 1 second
- execute server command "bc Gra zacznie sie za 1 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 1 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra juz trwa!"
- set {arena} to true
- wait 2 tick
- if {team1::*} contains "player":
- teleport {team1::*} to {team1.pos}
- send "Znajdujesz się w Team1" to {team1::*}
- if {team2::*} contains "player":
- teleport {team2::*} to {team2.pos}
- send "Znajdujesz się w Team1" to {team2::*}
- if {team3::*} contains "player":
- teleport {team3::*} to {team3.pos}
- send "Znajdujesz się w Team1" to {team3::*}
- if {team4::*} contains "player":
- teleport {team4::*} to {team4.pos}
- send "Znajdujesz się w Team1" to {team4::*}
- wait 5 minutes
- execute server command "bc &7Sciany opadna za 5 minut!"
- wait 3 minutes
- execute server command "bc &7Sciany opadna za 2 minuty!"
- wait 1 minute
- execute server command "bc &7Sciany opadna za 1 minute!"
- wait 30 second
- execute server command "bc &7Sciany opadna za 30 sekund!"
- wait 10 second
- execute server command "bc &7Sciany opadna za 20 sekund!"
- wait 10 second
- execute server command "bc &7Sciany opadna za 10 sekund!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 9 sekund!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 8 sekund!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 7 sekund!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 6 sekund!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 5 sekund!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 4 sekundy!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 3 sekundy!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 2 sekundy!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 1 sekunde!"
- wait 1 second
- execute server command "bc &7Sciany opadly!"
- execute server command "falldown"
- wait 10 minutes
- execute server command "bc &7Deathmatch rozpoczety!"
- loop {team1::*}:
- teleport loop-player to {team1.pos3}
- loop {team2::*}:
- teleport loop-player to {team2.pos3}
- loop {team3::*}:
- teleport loop-player to {team3.pos3}
- loop {team4::*}:
- teleport loop-player to {team4.pos3}
- if arg 1 is "reload":
- execute server command "skript reload TheWalls"
- remove all players from {team1::*}
- remove all players from {team2::*}
- remove all players from {team3::*}
- remove all players from {team4::*}
- set {arena} to false
- stop
- on chat:
- if {arena} is true:
- if {team1::*} is true:
- set the player's display name to "%player's prefix%&7[&aTeam 1&7]&f%player%"
- set the player's tablist name to "&a%name of player%"
- stop
- if {team2::*} is true:
- set the player's display name to "%player's prefix%&7[&bTeam 2&7]&f%player%"
- set the player's tablist name to "&b%name of player%"
- stop
- if {team3::*} is true:
- set the player's display name to "%player's prefix%&7[&cTeam 3&7]&f%player%"
- set the player's tablist name to "&c%name of player%"
- stop
- if {team4::*} is true:
- set the player's display name to "%player's prefix%&7[&eTeam 4&7]&f%player%"
- set the player's tablist name to "&e%name of player%"
- stop
- if {team1::*} is false:
- set the player's tablist name to "&f%name of player%"
- stop
- if {team2::*} is false:
- set the player's tablist name to "&f%name of player%"
- stop
- if {team3::*} is false:
- set the player's tablist name to "&f%name of player%"
- stop
- if {team4::*} is false:
- set the player's tablist name to "&f%name of player%"
- stop
- on quit:
- if {team1::*} is true:
- remove 1 from {team1::*}
- set {team1::*} to false
- set the player's tablist name to "&f%name of player%"
- stop
- if {team2::*} is true:
- remove 1 from {team2::*}
- set {team2::*} to false
- set the player's tablist name to "&f%name of player%"
- stop
- if {team3::*} is true:
- remove 1 from {team3::*}
- set {team3::*} to false
- set the player's tablist name to "&f%name of player%"
- stop
- if {team4::*} is true:
- remove 1 from {team4::*}
- set {team4::*} to false
- set the player's tablist name to "&f%name of player%"
- stop
- on death:
- if {arena} is true:
- if {team1::*} is true:
- remove 1 from {team1::*}
- set {team1::*} to false
- set the player's tablist name to "&f%name of player%"
- execute server command "kick %player% &7Zginales! &7Musisz czekac na zakonczenie rozgrywki. &7Jesli posiadasz range &6VIP&7/&3Super&6VIP &7mozesz obserwowac rozgrywke!"
- if attacker is player:
- if victim is player:
- send "&aGracz &e{team.%victim%}%victim% &azostał zabity przez gracza &e{team.%attacker%}%attacker% &az %attacker's tool%!"
- stop
- if {team2::*} is true:
- remove 1 from {team2::*}
- set {team2::*} to false
- set the player's tablist name to "&f%name of player%"
- execute server command "kick %player% &7Zginales! &7Musisz czekac na zakonczenie rozgrywki. &7Jesli posiadasz range &6VIP&7/&3Super&6VIP &7mozesz obserwowac rozgrywke!"
- if attacker is player:
- if victim is player:
- send "&aGracz &e{team.%victim%}%victim% &azostał zabity przez gracza &e{team.%attacker%}%attacker% &az %attacker's tool%!"
- stop
- if {team3::*} is true:
- remove 1 from {team3::*}
- set {team3::*} to false
- set the player's tablist name to "&f%name of player%"
- execute server command "kick %player% &7Zginales! &7Musisz czekac na zakonczenie rozgrywki. &7Jesli posiadasz range &6VIP&7/&3Super&6VIP &7mozesz obserwowac rozgrywke!"
- if attacker is player:
- if victim is player:
- send "&aGracz &e{team.%victim%}%victim% &azostał zabity przez gracza &e{team.%attacker%}%attacker% &az %attacker's tool%!"
- stop
- if {team4::*} is true:
- remove 1 from {team4::*}
- set {team4::*} to false
- set the player's tablist name to "&f%name of player%"
- execute server command "kick %player% &7Zginales! &7Musisz czekac na zakonczenie rozgrywki. &7Jesli posiadasz range &6VIP&7/&3Super&6VIP &7mozesz obserwowac rozgrywke!"
- if attacker is player:
- if victim is player:
- send "&aGracz &e{team.%victim%}%victim% &azostał zabity przez gracza &e{team.%attacker%}%attacker% &az %attacker's tool%!"
- stop
- on damage:
- if {arena} is true:
- if {team1::%attacker%::*} is true:
- if {team1::%victim%::*} is true:
- cancel event
- if {team2::%attacker%::*} is true:
- if {team2::%victim%::*} is true:
- cancel event
- if {team3::%attacker%::*} is true:
- if {team3::%victim%::*} is true:
- cancel event
- if {team4::%attacker%::*} is true:
- if {team4::%victim%::*} is true:
- cancel event
- on join:
- if {arena} is true:
- execute server command "kick %player% &7Musisz czekac na zakończenie rozgrywki!"
- stop
- on command "team 1":
- if {arena} is true:
- cancel event
- send "{@logo}Nie mozesz wybierac teamu podczas rozgrywki!"
- on command "team 2":
- if {arena} is true:
- cancel event
- send "{@logo}Nie mozesz wybierac teamu podczas rozgrywki!"
- on command "team 3":
- if {arena} is true:
- cancel event
- send "{@logo}Nie mozesz wybierac teamu podczas rozgrywki!"
- on command "team 4":
- if {arena} is true:
- cancel event
- send "{@logo}Nie mozesz wybierac teamu podczas rozgrywki!"
- on command "team leave":
- if {arena} is true:
- cancel event
- send "{@logo}&7Nie mozesz wychodzic z teamu podczas rozgrywki!"
- on rightclick on sign:
- if line 1 is "&f&lZESTAW":
- if line 2 is "&f&lGORNIKA":
- if {team1::*} is true:
- execute server command "kit gornik %player%"
- teleport player to {team1.pos2}
- stop
- if {team2::*} is true:
- execute server command "kit gornik %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit gornik %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit gornik %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&6&lZESTAW":
- if line 2 is "&f&lGORNIKA":
- if {team-1.%player%} is true:
- execute server command "kit gornikvip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit gornikvip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit gornikvip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit gornikvip %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&b&lZESTAW":
- if line 2 is "&f&lGORNIKA":
- if {team-1.%player%} is true:
- execute server command "kit gorniksupervip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit gorniksupervip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit gorniksupervip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit gorniksupervip %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&f&lZESTAW":
- if line 2 is "&f&lLUCZNIKA":
- if {team-1.%player%} is true:
- execute server command "kit lucznik %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit lucznik %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit lucznik %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit lucznik %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&6&lZESTAW":
- if line 2 is "&f&lLUCZNIKA":
- if {team-1.%player%} is true:
- execute server command "kit lucznikvip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit lucznikvip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit lucznikvip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit lucznikvip %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&b&lZESTAW":
- if line 2 is "&f&lLUCZNIKA":
- if {team-1.%player%} is true:
- execute server command "kit luczniksupervip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit luczniksupervip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit luczniksupervip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit luczniksupervip %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&f&lZESTAW":
- if line 2 is "&f&lDRWALA":
- if {team-1.%player%} is true:
- execute server command "kit drwal %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit drwal %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit drwal %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit drwal %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&6&fZESTAW":
- if line 2 is "&f&lDRWALA":
- if {team-1.%player%} is true:
- execute server command "kit drwalvip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit drwalvip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit drwalvip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit drwalvip %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&b&lZESTAW":
- if line 2 is "&f&lDRWALA":
- if {team-1.%player%} is true:
- execute server command "kit drwalsupervip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit drwalsupervip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit drwalsupervip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit drwalsupervip %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&f&lZESTAW":
- if line 2 is "&f&lWOJOWNIKA":
- if {team-1.%player%} is true:
- execute server command "kit wojownik %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit wojownik %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit wojownik %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit wojownik %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&6&lZESTAW":
- if line 2 is "&f&lWOJOWNIKA":
- if {team-1.%player%} is true:
- execute server command "kit wojownikvip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit wojownikvip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit wojownikvip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit wojownikvip %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&b&lZESTAW":
- if line 2 is "&f&lWOJOWNIKA":
- if {team-1.%player%} is true:
- execute server command "kit wojowniksupervip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit wojowniksupervip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit wojowniksupervip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit wojowniksupervip %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&b&lZESTAW":
- if line 2 is "&f&lALCHEMIKA":
- if {team-1.%player%} is true:
- execute server command "kit alchemiksupervip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit alchemiksupervip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit alchemiksupervip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit alchemiksupervip %player%"
- teleport player to {team4.pos2}
- stop
Advertisement
Add Comment
Please, Sign In to add comment