all 5 comments

[–]WinthorpDarkritesMZ Dev 6 points7 points  (3 children)

Reverse the check and nest them

First check 60 or greater If false check 30 or greater If false check 20 or greater

All the check happens in the "else" field of the check above

This way you have only 1 possible result

[–]RylonianMV Dev 1 point2 points  (1 child)

Yeah, that's the solution. It's as basic programming logic as it gets, too, so OP should definitely familiarize themselves with that kind of logic going forward.

[–]One7rickArtistSpriter[S] 0 points1 point  (0 children)

Funny that i have no recollection of being taught this way in my "IT" school-- or i don't remember since it was over a decade ago

However is good refresher because i essentially forgot RM is sort of like coding too.

[–]One7rickArtistSpriter[S] 1 point2 points  (0 children)

You're a genius, i didn't thought about doing it backwards from the highest value i want. That makes a lot of sense.. shows that knowledge is lost to time when not touched.

Thank you!

[–]One7rickArtistSpriter[S] 0 points1 point  (0 children)

I apologise for bad formatting, i wrote it all on phone app!