Hello,
I am developing a card game for batch. [will give a link when done]
Basiclly what i want to do is 'set' '%random%' to '%numbs%.
set %numbs%=%random%
And then i want the user to type one value from the %random% numbers displayed
echo %numbs%
Set nuchoo=
set /p nuchoo=Number:
What my question now is about how to check if the value typed in by the user is in the %numbs% value. If it is,
GOTO :validnucho
if not,
GOTO :unvalidnucho
When it goes to :validnucho, it should delete that number from the %numbs% var. It does matter obviously if the %numbs% var contains 2x the number, so then it should delete only one of the two. The rest i know.