on chat:
if message contains ".pl" or "pl" or "csrv" or ".csrv" or "aternos" or ".aternos" or ".net" or "net" or "https" or "http" or "http://" or "https://":
send "&6&lM&e&lS &8» &7Gracz: &b&l%player% &7Serwer: &b&lSURVIVAL" to all players where [player input has permission "antyreklama.admin"]
send "&6&lM&e&lS &8» &7Wyraz(y)&8(&f1&8)&7: &c&l.pl &7Wiadomość: &f&l%message%" to all players where [player input has permission "antyreklama.admin"]
Tutaj chce zeby Wyraz byl wiadomosc gracza z "if message contains" Czyli, jak napisze aternos to zeby wyraz byl aternos tak samo z .pl, https itp itd...
EDIT:
Tam gdzie jest "Wyraz(y)(1)" Chce zeby pisalo ile wyrazow gracz napisal, jak np napisze .pl, aternos to zeby 2 pisalo jak napisze .pl to zeby 1 pisalo.
Pytanie
AJent 10
Czesc, napisalem:
on chat: if message contains ".pl" or "pl" or "csrv" or ".csrv" or "aternos" or ".aternos" or ".net" or "net" or "https" or "http" or "http://" or "https://": send "&6&lM&e&lS &8» &7Gracz: &b&l%player% &7Serwer: &b&lSURVIVAL" to all players where [player input has permission "antyreklama.admin"] send "&6&lM&e&lS &8» &7Wyraz(y)&8(&f1&8)&7: &c&l.pl &7Wiadomość: &f&l%message%" to all players where [player input has permission "antyreklama.admin"]
send "&6&lM&e&lS &8» &7Wyraz(y)&8(&f1&8)&7: &c&l.pl
Tutaj chce zeby Wyraz byl wiadomosc gracza z "if message contains" Czyli, jak napisze aternos to zeby wyraz byl aternos tak samo z .pl, https itp itd...
EDIT:
Tam gdzie jest "Wyraz(y)(1)" Chce zeby pisalo ile wyrazow gracz napisal, jak np napisze .pl, aternos to zeby 2 pisalo jak napisze .pl to zeby 1 pisalo.
Edytowane przez AJentOdnośnik do komentarza
Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi