Posted by fuzzbrain11 on February 12, 2011 at 13:59:36:
In Reply to: Re: Game in dos posted by SpywareDr on February 10, 2011 at 09:41:00:
: @echo off
: if (%COINS%)==() set COINS=0
: set /a COINS=%COINS%+10
thanks for reply :) but how would i make it so that you can compare it with another value (variable) for example, say the user wanted to buy an item that was say 50 coins, how would you make it so that you can compare the amount of coins they have (using greater than or less than) again help appreciated :)