I have a running score counter in my game and at the game-over screen I'd like to not only display the score, but display ONLY the single appropriate rating.
Thus far I've got the score to add up and display and the rating. However I'm unable to think or code a way to display the score rating for just one of the ratings. If that makes any sense?
When the code runs it displays every score rating once the score goes above a certain value.
Your adventure has come to an end.
You have scored:
<<print $score>>
That kind of score earns you the rank of:
<<if $score >= 3>><<print "Village Idiot">><</if>>
<<if $score >= 5>><<print "Simpleton">><</if>>
<<if $score >= 10>><<print "Likely Lad">><</if>>
I think maybe the greater than but lesser than is the answer, but my math code isn't very good on this.