Your function robotRight() sends the value of 90 to the servo correctly. However within the context of the whole code if the if statement is not met it will be overridden immediately by the servo functions in the loop function.
By the way, what you describe is no longer a real servo, it sounds like it has been modified for continuous rotation and all the angle does is define the direction.