Alright, so I've really gotten into scripting, and my prefered method is using VBscript, easy, simple, I should know the language like the back of my hand. I create a trigger, with not one, but two if statements in it, as follows:
but I go to test it out, and it gives me this error:
Error number: -2146827274
Event: Execution of line 13 column 7
Description: Expected 'End'
Line in error:
end if
Called by: Immediate execution
But, with VB, and VBscript, even, it tries to tell me that it's the wrong way to end an If statement, but when I go and take out the "If" of end if, it gives me this message:
Error number: -2146827276
Event: Execution of line 12 column 5
Description: Expected 'If'
Line in error:
end
Called by: Immediate execution
if EKill = "off" then
world.EnableTrigger "Balance", FALSE
else
If eshield = "1" then
world.send "raze @target"
else if eprism = "1" then
world.send "raze @target"
else if ereflect = "1" then
world.send "raze @target"
Else
world.send "wave"
end if
end if
but I go to test it out, and it gives me this error:
Error number: -2146827274
Event: Execution of line 13 column 7
Description: Expected 'End'
Line in error:
end if
Called by: Immediate execution
But, with VB, and VBscript, even, it tries to tell me that it's the wrong way to end an If statement, but when I go and take out the "If" of end if, it gives me this message:
Error number: -2146827276
Event: Execution of line 12 column 5
Description: Expected 'If'
Line in error:
end
Called by: Immediate execution