well i trying make auth system for my server, but i got problem in " on command: " event :/
how this only for player not console too? i cant send any command in console.
how this only for player not console too? i cant send any command in console.
code_language.skript:
on command:
if "%command%" is not "login", "lg", "l", "logout", "reg", "register" or "fauth":
if {logged::%UUID of player%} is false:
send "{@erlog}" to player
cancel event
if {register::%UUID of player%} is not set:
send "{@erlog}" to player
cancel event