How to not allow variables to be negitive (Batch game) : (Note: I am most likely overthinking this) I decided to mess around and make a batch game and I am using money as a currency, and I have a shop. It currently lets you buy the items without out having said money, but it makes it into the negatives.

Example: Sword 30$,  You 0$ (buy item) You -30$

this is what I am using set /a money=%money% -30 