Closed MinecraftMan1013number2 closed 3 years ago
Duplicate of https://github.com/SkriptLang/Skript/issues/3840. You cannot have two else
sections on the same level.
Your script should look like this:
command /hello <text>:
trigger:
if arg-1 is "hi":
send "hi"
else if arg-1 is "hello":
send "this errors"
else:
send "bye"
Duplicate of SkriptLang/Skript#3840. You cannot have two
else
sections on the same level. Your script should look like this:command /hello <text>: trigger: if arg-1 is "hi": send "hi" else if arg-1 is "hello": send "this errors" else: send "bye"
Maybe you could find a way to add a reload error (something like "You have an if else after an else! You can't do this!") instead of that console error?
I would recommend opening an issue on the official SkriptLang repository for that.
Closing as it is not related to this fork.
Hello, I have discovered that if you put and
if else
statement after anelse
statement, Skript errors out with this.What I mean is something like this (pretend there is tabs/spaces)