On top of what Nappa said, I would also recommend using elseifs , they are more proper and help code efficiency
if elseif else