$rackunit -= 100;
the first one would have worked if you remembered a semicolon, but you can set a variable with maths (what a horrible way to explain it, haha) by just doing op= instead of =.
ie +=, -=, *=, /=
Warning - while you were typing a new reply has been posted. You may wish to review your post.
welp