Apologies if this has already been covered, I've searched the new and old forums and haven't found anything on this particular error.
I have a very simple Boolean test for a player score report. It goes something like this:
(set: $p1Score to 5)\
(set: $p2Score to 10)\
(if: $p1Score > $p2Score)[Player 1 is ahead.]\
(else-if: $p2Score > $p1Score)[Player 2 is ahead.]\
(else-if: $p1Score = $p2Score)[Players are tied.]
When I run it, I get the following error:
Player 2 is ahead. (elseif:)'s 1st value is a 'to' or 'into' expression, but should be a boolean.►Players are tied.
If I expand the error, I see the following text: "If you gave a number, you may instead want to check that the number is not 0. If you gave a string, you may instead want to check that the string is not ""."
Am I missing something when it comes to Boolean operators?
I'm using Twine 2.1.3 on MacOS Sierra, Story Format Harlowe 2.0.1