Ivalue required as left operand of assignment error

Yes, I know I am double posting. I was hoping somebody would have replied by now. Do you know if it would be possible to replace the servos with motors?

P.S. By the way James C4S thanks for the help. I saw a tremendous improvement once I changed it. All I have to do is come of with a debounce because the servos are moving all over the place.