There are a number of ways to do what you want, @stray showa one of them, and the following shows all the main ways to increment and decrement a variable.
''Incrementing''
(set: $variable to $variable + 1)
(set: $variable to it + 1)
(set: $variable += 1)
''Decrementing''
(set: $variable to $variable - 1)
(set: $variable to it - 1)
(set: $variable -= 1)
Ok thank you guys very much! I didn't expect to be answered so quickly. I tried what @stray had said, but it didn't work. I only realize now, I had misspelled a variable, and that was the reason it had not worked.
Comments
Again thank you both very much.
-Bumpkin