I have some code that can be seen from below. This is just an example, the skript itself takes 200 lines
when i restart this skript, this error appears
I know that the text can be replaced by an offline player, but if I do this, my main script will not work. Is there a way to fix this error without replacing the text with an offline player?
Code:
command /check [<text>]:
trigger:
if arg-1 is online:
message "&aonline"
else:
message "&coffline"
when i restart this skript, this error appears
Code:
Can't compare a text with a types.onlinestatus
I know that the text can be replaced by an offline player, but if I do this, my main script will not work. Is there a way to fix this error without replacing the text with an offline player?