Skocz do zawartości
  • 0

Logowanie


megabeka

Pytanie

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Nie rozumiem czyli każdy ma się logowac a inni nie??


Options:
Haslo: xdreammaster

On join:
Player is op:
Set {s.%player%} to true

On any move:
If {s.%player} is true:
Cancel event

On chat:
If {s.%player%} is true:
Cancel event

On drop of any item:
If {s.%player%} is true:
Cancel event

Command /l []:
Permission: skript.pl
Trigger:
If ARG is not set:
Send "&cPodaj Tajne Haslo"
If ARG is "{@haslo}"
Set {s.%player%} to false
Send "&2Zalogowano!"

Jak coś to jest z telefonu :D

Odnośnik do komentarza
https://skript.pl/temat/10289-logowanie/#findComment-76521
Udostępnij na innych stronach

  • 0


Variables:
{j.%player%} = false

On join:
If player is op:
If {j.%player%} is false:
Set {z.%player%} to false

Command /reg []:
Trigger:
If {j.%player%} is false:
Set {h.%player%} to arg parsed as text
Send "&c Haslo To %arg%" to player
Else:
Send "&cMasz juz konto!"

Command /l []:
Trigger:
If arg is "{h.%player%}":
Set {z.%player%} to true
Else:
Kick player due to " &cZle Haslo"

On any move:
If {z.%player%} is false:
Cancel event

On drop of any item:
If {z.%player%} is false:
Cancel event
Send "&cZaloguj Sie!"

On chat:
If {z.%player%} is false:
Cancel event
Send "&cZaloguj Sie!"

Mam nadzieję że działa ;)

Odnośnik do komentarza
https://skript.pl/temat/10289-logowanie/#findComment-76529
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ę...