I was hoping to see an incorrect ‘if’ in one of your screenplays, but I didn’t. But I will take a guess at what you are doing wrong.
You can look at an if as some kind of bullet list, like this:
- if hero has token "sword" - guard says "nice, I see you have the sword" - else - guard says "you need a sword"
But forget the ‘-‘ bullets, and make sure the things after the if that need to be done are 4 spaces from the left, like this:
if hero has token "sword" guard says "nice, I see you have the sword" else guard says "you need a sword"
If it’s not clear, save your game with a screenplay that doesn’t work, and I will fix it for you