nie widze czegos takiego w kodzie,
poprawiony kod
command /register <text> <text>:
trigger:
if {password::%uuid of player%} is set:
send "Login! .login <password>"
stop
if arg-1 is arg-2:
set {password::%uuid of player%} to argument-1 hashed with SHA-256
else:
send "&c.register <password> <password>"
command /login <text>:
trigger:
if {password::%uuid of player%} is not set:
send "Register first! .register <password> <password>"
if text-argument hashed with SHA-256 is {password::%uuid of player%}:
message "Login successful."
set {logged::%uuid of player%} to true
else:
message "Wrong password!"
on join:
if {password::%uuid of player%} is not set:
send "Register now! .register <password> <password>"
else:
send "Login! .login <password>"
on quit:
set {logged::%uuid of player%} to false
on chat:
if message starts with ".login" or ".register":
cancel event
execute player command "%subtext of message from characters 2 to (length of message)%"
pokaż jeszcze komendę /ver Skript, bo domyślam się że jest to pewnie jakiś skript 2.1.2 (jeśli tak jest to zaktualizuj)