Hi. I have a Minecraft script and now want to do an update checker. I have the following script code as a test:
command / test:
trigger:
set {_version} to text from "/WXcEXyAU"
if {_version} is not "1.2":
send "no" to console
send "% {_ version}%" to console
else if {_version} is "1.2":
send "yes" to console
send "% {_ version}%" to console
I have no idea why that doesn't work. Can anyone help me please?
Didn't work with data from websites. Only with bars.
But why the hell are you using
else if {_version} is "1.2":
You have an "If" and an "Else". You use an "else if" for a 3 possibility that you do not have.
Admin