Trying to do three things:

A) ;send a value which my script will pick up and stick in a variable

then

B) Subtract 1 from said variable

then

C) Echo to the screen (preferably in highlighted text) a string containing the new variable's value

I've gotten some of what I need from existing code, but these items seem to be holding me up. Anyone able to assist?