I made a skript that didn't allow anyone to be opped other than specific users, but when I try making myself op through console while being deopped the server crashed.
Can anyone tell me why?
The skript:
command /op [<player>]:
trigger:
if arg-1 != "(Other player)" or "(Me)":
make console execute command "/deop %arg-1%"
message "&cYou are not allowed to be an operator / make this user an operator on this server!"
else:
make console execute command "/op %arg-1%"
Can anyone tell me why?
The skript:
command /op [<player>]:
trigger:
if arg-1 != "(Other player)" or "(Me)":
make console execute command "/deop %arg-1%"
message "&cYou are not allowed to be an operator / make this user an operator on this server!"
else:
make console execute command "/op %arg-1%"