Alt+Prtscn please
You do have it set wrong. What you have is (from the picture)...
Check condition 1
check condition 2
- conditions are false - then it goes to else
else
check condition 1 <- problem
check condition 2
end
end
end
end
This is where you need to rethink the logic.
Let me structure it for you.
--Check condition 1
====Check condition 2
======false
====else
++++Check condition 1
======Check condition 2
You are getting too deep.
If you have multiple values to check 0, 10, 20, 30 etc
then you need to build those and then build inside them the other conditions.
--Check condition 1 < 10
====Check condition 2 < 10
======if true do stuff and end processing else false
====end
====Check condition 2 >= 10
======if true do stuff and end processing else false
====end
--end
--Check condition 1 <= 20
====Check condition 2 < 10
======if true do stuff and end processing else false
====end
====Check condition 2 >= 10
======if true do stuff and end processing else false
====end
--end
You can see how this gets confusing
It's easier to do your check starting from the highest value.
--Check condition 1 <= 100
====Check condition 2 <= 100
======if true do stuff and end processing else false
====end
====Check condition 2 <= 90
======if true do stuff and end processing else false
====end
====Check condition 2 <= 80
======if true do stuff and end processing else false
====end
...
====Check condition 2 <= 10
======if true do stuff and end processing else false
====end
====Check condition 2 == 0
======if true do stuff and end processing else false
====end
ELSE
Now here is where you can either do another set of conditions inside the else for 90 then another inside for 80 etc, ( not the good way) OR
you end the condition and start a new one for Condition 1 <= 90
then end that and start a new for Condition 1 <= 80
etc
So you build a big long lost for all conditions.