Search found 5 matches
- 24 May 2015 16:16
- Forum: DOS Batch Forum
- Topic: Problem with if statements
- Replies: 10
- Views: 7514
Re: Problem with if statements
Sorry if I have been a bit of a dick, thanks for the support
- 23 May 2015 20:45
- Forum: DOS Batch Forum
- Topic: Problem with if statements
- Replies: 10
- Views: 7514
Re: Problem with if statements
No... you can't. The current code that I have prevents a variables value from going over anothers. The problem is it automatically sets it to that variable.
- 23 May 2015 20:13
- Forum: DOS Batch Forum
- Topic: Problem with if statements
- Replies: 10
- Views: 7514
Re: Problem with if statements
I am aware of that, and already have a health randomizer. The thing is, it adds a random number of health to your current health. To prevent it from going over max health, I added that. Now it automatically resets your health to max whenever you get a kill, no matter what.
- 23 May 2015 19:12
- Forum: DOS Batch Forum
- Topic: Problem with if statements
- Replies: 10
- Views: 7514
Re: Problem with if statements
It still restores them to full health for no reason. I still require assistance.
- 23 May 2015 18:02
- Forum: DOS Batch Forum
- Topic: Problem with if statements
- Replies: 10
- Views: 7514
Problem with if statements
Hello. I don't know much batch, and I am just starting code. I am making a small rpg, and a feature that it has is it gives you a randomly generated amount of health from 1-20. I didn't want people to have their health go over their maxhealth, so I made the code you see below. It doesn't seem to be ...