Skocz do zawartości
  • 0

whietlist


MrAnvilPlay

Pytanie

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0


Variables:
{wh} = false
{wh.%player%} = false

Options:
powod: &cWPISZ TU POWOD

Command /wh [] []:
Permission: skript.pl
Trigger:
If ARG 1 iS not set:
Send "&a/wh dodaj GRACZ &6- dodaje gracza do whitelist"
Send "&a/wh usun GRACZ &6- usuwa gracza z whitelist"
Send "&a/wh on/off &6- wlacza lub wylacza whitelist"
If arg 1 is "dodaj":
If arg 2 is not set:
Send " &cPodaj nick gracza!"
If arg 2 is set:
Set {_p} to arg 2 parsed as player
Set {wh.%{_p}%} to true
If arg 1 is "usun":
If arg 2 is not set:
Send " &cPodaj nick gracza!"
If arg 2 is set:
Set {_p} to arg 2 parsed as player
Set {wh.%{_p}%} to false
If arg 1 is "on":
If arg 2 is not set:
Set {wh} to true
If arg 1 is "off":
If arg 2 is not set:
Set {wh} to false

On Connect:
If {wh} is true:
Kick player due to "%{@powod}%"

Jak coś nie działa to pisz bo to jest z telefonu ;)

Odnośnik do komentarza
https://skript.pl/temat/10174-whietlist/#findComment-76558
Udostępnij na innych stronach

  • 0

#up

Zapomniałeś o czyms ;)

on connect:

    if {wh} is true:

        if {wh.%player%} is false:

            kick player due to {@powod}

Edytowane przez ry sieł
Odnośnik do komentarza
https://skript.pl/temat/10174-whietlist/#findComment-76579
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...