var bonerot;

bonerot=clamp(bonerot,-80,80);

this should do the trick... sorry for not using code tags, i still havent found the button for it yet laugh kinda new here