How do i create conditional batch files?

Tin Soldier

First time out of the vault
An example of what I want it to do: i type "bat salient50" in the console and it gives me 50 salient green and takes away 500 caps. but, ONLY if I actually have 500 caps.

How could i do this?
 
Back
Top