YC7qIHM8
Język: Skript
|
Autor: Anonimowy
on join: if {kod::%player%} is set: if {ip::%player%} is not set: set {ip::%player%} to player's ip else: if {tp::%player%} is not player's ip: set {alogin::%player%} to true send "Zweryfikuj, ze to ty: /kod <kod>" command /kod [<text>]: trigger: if {alogin::%player%} is set: if arg 1 is not set: send "Uzycie: /kod <kod>" stop if arg 1 is not {kod::%player%}: kick player due to "Uzyto blednego kodu!" else: clear {alogin::%player%} set {ip::%player%} to player's ip send "Pomyslnie zweryfikowano!" on any movement: if {alogin::%player%} is set: cancel event on mine: if {alogin::%player%} is set: cancel event on break: if {alogin::%player%} is set: cancel event send "Zweryfikuj, ze to ty: /kod <kod>" on chat: if {alogin::%player%} is set: cancel event on drop: if {alogin::%player%} is set: cancel event on pickup: if {alogin::%player%} is set: cancel event on inventory click: if {alogin::%player%} is set: cancel event on command: if {alogin::%player%} is set: if command is not "login" or "l" or "register" or "reg" or "kod": cancel event send "Zweryfikuj, ze to ty: /kod <kod>" command /zalozkod [<offlineplayer>] [<text>]: permission: kod.admin permission message: Brak permisji! trigger: if arg 1 is not set: send "/zalozkod <nick> <kod/off>" stop if arg 2 is not set: send "/zalozkod <nick> <kod/off>" stop if arg 2 is "off": clear {kod::%arg 1%} send "Zabezpieczenie dla %arg 1% wylaczone!" stop set {kod::%arg 1%} to arg 2 send "Kod %arg 1% to teraz: %arg 2%"