Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if player has permission "x.x":
- set {hasloadmina.%player%} to "true"
- set {lx.%player%} to x-coordinate of player
- set {ly.%player%} to y-coordinate of player
- set {lz.%player%} to z-coordinate of player
- set {lcord.%player%} to "(%{lx.%player%}%,%{ly.%player%}%,%{lz.%player%}%)"
- every 5 seconds:
- if {hasloadmina.%player%} is "true":
- set {x.%player%} to x-coordinate of player
- set {y.%player%} to y-coordinate of player
- set {z.%player%} to z-coordinate of player
- set {cord.%player%} to "(%{x.%player%}%,%{y.%player%}%,%{z.%player%}%)"
- if {lcord.%player%} is not {cord.%player%}:
- ban player due "Brak potwierdzenia!"
- command /ahaslo [<text>]:
- trigger:
- if arg 1 is set:
- if arg 1 is {@hasloadmina}:
- set {hasloadmina.%player%} to "false":
- send "Poprawnie zalogowano na konto admina!"
- else:
- ban player due "Brak potwierdzenia!"
- else:
- ban player due "Brak potwierdzenia!"
- on command:
- if {hasloadmina.%player%} is "true":
- if command is not "login" or "haslo":
- ban player due "Brak potwierdzenia!"
- else:
- stop
- else:
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement