[SOLVED] Another Expected Statement error
Posted: Wed Feb 22, 2017 11:52 pm
So I'm back with another funny issue. So I want a menu option to only appear if the player has met certain criteria. I know how to do this, but the problem is when I try to have more than one piece of criteria. Let me show you:
This isn't working. It's giving me the expected statement error which usually means something is missing.
I've done two criteria before and it works:
This works just fine. So my theory is it has something to do with the > (Greater than) symbol.
If anyone can explain to me my issues it'd as always be greatly appreciated. I hope it's not some stupid mistake that can be fixed by looking back at my previous work *facepalm*
Thanks!
Code: Select all
"[sib] {i}[sibauraleft] Aura left{/i}" if sibauraleft > 0 and sibpair is True:I've done two criteria before and it works:
Code: Select all
"Frostbolt" if mgedustice is True and cooldown is 0:If anyone can explain to me my issues it'd as always be greatly appreciated. I hope it's not some stupid mistake that can be fixed by looking back at my previous work *facepalm*
Thanks!