7 segment display

Not if the servo is in motion. Because once the pushbutton or switch change states to 1 than the i (indicating the number needing to be shown on the seven segment) will move up a number. When this happens the program looks only into the loop of the if statement which says to turn the servo and not the ii = 92 statement. Once the turn is over, the servo is back to 92 at rest position and the number has increased by one. Also, the segment may display the increased number after the button or switch has been hit since the turn does pass 92 once. However, it will only be for a split second.

What are you talking about? It's important to quote whatever you are responding to. If you are doubting that ii = 92 is always true, then you have to learn the difference between the assignment operator (=) and the equality operator (==).

The assignment operator that you are using returns a value - the value that was assigned. The conditional part of your if test is 92, which is true, by definition.

It appears that you want if(ii == 92), not if(ii = 92).