explosivedolphin wrote:and if we could clean up the code that makes it change colors as you get closer or farther from the number that would be great because its not 100% functional
I found a typo in what I gave you.
Code: Select all
if %guess% GTR %answer% Colorshow /%MDSS% " Lower!" 13 10 /0C "%down%" 32
should have read as
Code: Select all
if %guess% GTR %answer% Colorshow /%MFSS% " Lower!" 13 10 /0C "%down%" 32
I introduced some enhancements to the code in your last post. There were quite a few lines broken in your formatting, but after I fixed those, I found too many logic errors in your changes to test properly.
explosivedolphin wrote: but then if you can how would you make it able to put in the backdoor surf33
While I regroup, here is an improvement for the backdoor
Code: Select all
if "%guess%"=="%variable1%" (ECHO Found the backdoor hey? The answer is: %answer% & Set "guess=%answer%")
If you move that line to just before you check for valid numbers, everything will check out as if the correct number was entered in the normal flow.
Edit: The last line in your script should goto top , not top2, so as not to redo the starting box.
I shall apply my code changes to your second last code block. and post them.
John A.