Points system question about branching

So I just started using the points system, the question I have is do you need to do a separate if/elif for = or > ?
Can these 2 choices be put on the same branch? I am just trying to do the easiest way since I feel like it’s a lot of work to write the same script for the number of points that are equal to above my required amount.
TYIA

1 Like

I could be wrong as I don’t use the point system much myself, but I believe they would have to be two separate branches. You could get around this by having your number it must be greater than set to one number lower. If they need to have 5 points or above, set your condition to >4. You could also have your two separate branches (>5 and = 5), and use a label in the = branch. So it would be

if (POINTS >5) {

label equalgreater

#script

} elif (POINTS = 5) {

goto equalgreater

} else {

#script

}

1 Like

I didn’t even think of that… thank you so much!

1 Like

No prob!

1 Like

Definitely if points = 5 and points > 5 have the same script, it would be smarter to do points >4.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.