on join:
set {t.%player%} to false
set {td.%player%} to false
command /team-stworz:
trigger:
if {t.%player%} is false:
if {td.%player%} is false:
set {t.%player%} to true
set {td.%player%} to true
send "&8[&6Epi&cCraft&8]&a Stworzyles Druzyne!"
else:
send "&8[&6Epi&cCraft&8]&c Juz masz swoja druzyne!"
command /team-dodaj [<player>]:
trigger:
if {td.%player%} is true:
send "&8[&6Epi&cCraft&8]&a Zaprosiles Gracza!"
execute console command "msg %arg-1% &8[&6Epi&cCraft&8]&a Gracz %player% Zaprosil Cie Do Druzyny!"
execute console command "msg %arg-1% &8[&6Epi&cCraft&8]&a Napisz &l/przyjmij&a (Nazwa Gracza)"
execute console command "msg %arg-1% &8[&6Epi&cCraft&8]&a Napisz &c&l/odrzuc&a (Nazwa Gracza)"
set {ttn.%arg-1%.%player%} to true
else:
send "&8[&6Epi&cCraft&8]&c Nie Dowodzisz w Druzynie!"
command /przyjmij [<player>]:
trigger:
if {t.%player%} is false:
if {td.%player%} is false:
if {ttn.%player%.%arg-1%} is true:
set {t.%arg-1%} to true
set {ttn.%player%.%arg-1%} to false
send "&8[&6Epi&cCraft&8] &aDolaczyles do Druzyny Gracza %arg-1%"
execute console command "msg %arg-1% &8[&6Epi&cCraft&8]&a %player% Dolaczyl do Druzyny!"
else:
send "&8[&6Epi&cCraft&8] &cNie Masz Zaproszenia! Lub Masz Juz Swoja Druzyne!"
set {ttn.%player%.%arg-1%} to false
command /odrzuc [<player>]:
trigger:
if {ttn.%player%.%arg-1%} is true:
send "&8[&6Epi&cCraft&8] &cOdrzuciles Zaproszenie Gracza %arg-1%"
execute console command "msg %arg-1% &8[&6Epi&cCraft&8]&c %player% Odrzucil Zaproszenie!"
set {ttn.%player%.%arg-1%} to false
else:
send "&8[&6Epi&cCraft&8] &cNie Masz Od Kogo Odrzucic!"
set {ttn.%player%.%arg-1%} to false
command /team-lista:
trigger:
if {t.%player%} is true:
loop all {t.%player%}:
if {t.%player%} is true:
send "%loop-player%"
Chciałbym Aby Komenda /team-lista Pokazywała Graczy Znajdujących Się w Teamie Gracza
Czy Ktoś Widzi Żeby Dało Się Ulepszyć Ten Skrypt?
Pytanie
piotrus131102 37
on join:
set {t.%player%} to false
set {td.%player%} to false
command /team-stworz:
trigger:
if {t.%player%} is false:
if {td.%player%} is false:
set {t.%player%} to true
set {td.%player%} to true
send "&8[&6Epi&cCraft&8]&a Stworzyles Druzyne!"
else:
send "&8[&6Epi&cCraft&8]&c Juz masz swoja druzyne!"
command /team-dodaj [<player>]:
trigger:
if {td.%player%} is true:
send "&8[&6Epi&cCraft&8]&a Zaprosiles Gracza!"
execute console command "msg %arg-1% &8[&6Epi&cCraft&8]&a Gracz %player% Zaprosil Cie Do Druzyny!"
execute console command "msg %arg-1% &8[&6Epi&cCraft&8]&a Napisz &l/przyjmij&a (Nazwa Gracza)"
execute console command "msg %arg-1% &8[&6Epi&cCraft&8]&a Napisz &c&l/odrzuc&a (Nazwa Gracza)"
set {ttn.%arg-1%.%player%} to true
else:
send "&8[&6Epi&cCraft&8]&c Nie Dowodzisz w Druzynie!"
command /przyjmij [<player>]:
trigger:
if {t.%player%} is false:
if {td.%player%} is false:
if {ttn.%player%.%arg-1%} is true:
set {t.%arg-1%} to true
set {ttn.%player%.%arg-1%} to false
send "&8[&6Epi&cCraft&8] &aDolaczyles do Druzyny Gracza %arg-1%"
execute console command "msg %arg-1% &8[&6Epi&cCraft&8]&a %player% Dolaczyl do Druzyny!"
else:
send "&8[&6Epi&cCraft&8] &cNie Masz Zaproszenia! Lub Masz Juz Swoja Druzyne!"
set {ttn.%player%.%arg-1%} to false
command /odrzuc [<player>]:
trigger:
if {ttn.%player%.%arg-1%} is true:
send "&8[&6Epi&cCraft&8] &cOdrzuciles Zaproszenie Gracza %arg-1%"
execute console command "msg %arg-1% &8[&6Epi&cCraft&8]&c %player% Odrzucil Zaproszenie!"
set {ttn.%player%.%arg-1%} to false
else:
send "&8[&6Epi&cCraft&8] &cNie Masz Od Kogo Odrzucic!"
set {ttn.%player%.%arg-1%} to false
command /team-lista:
trigger:
if {t.%player%} is true:
loop all {t.%player%}:
if {t.%player%} is true:
send "%loop-player%"
Chciałbym Aby Komenda /team-lista Pokazywała Graczy Znajdujących Się w Teamie Gracza
Czy Ktoś Widzi Żeby Dało Się Ulepszyć Ten Skrypt?
Odnośnik do komentarza
https://skript.pl/temat/17930-dru%C5%BCyny/Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi