I need help with a game I'm making in Batch.?
Ok so I am making a game in batch and I'm having trouble with 4 different features. The first is with the spending money for equipment and other similar items in game. I need a line of code that will cause the user to be prompted with the message, "You do not have enough money" and the money will not be spent. The next two features that I am having trouble with is the saving and loading feature. I need to save all of the stats such as strength, defense, intelligence, luck, name, sex, current location, ect. in a seperate file that will remain after command prompt is closed. From there I need to be able to open the game in command prompt, click load, select the file (i.e. slot1, slot2, slot3), and have it load the stats and take me to the current location (reminder: current location is already set as a variable that was saved. Also I need to be able to delete a save file from the load or save menu.
Please do not just past a line of code and tell me it will work. Explain the how each piece of the line of code works or I won't use it. Tutorials are fine to post as long as they follow the previously stated rule.
Thank you in advance to anyone who provides help in this delima.