Search found 1 match
- 24 Sep 2017 03:39
- Forum: DOS Batch Forum
- Topic: How to do math in batch?
- Replies: 1
- Views: 1926
How to do math in batch?
Im coding a .bat game and I need a way to increase/decrease health and money. I just want a smallish command instead of: if %money%=05 set %money% 00 if %money%=10 set %money% 05 if %money%=15 set %money% 10 if %money%=20 set %money% 15 if %money%=25 set %money% 20 if %money%=30 set %money% 25 and e...