How to make multiple variable acceptable while whitelisting any other variable?
Posted: 12 Sep 2017 19:57
I'm not very good at batch, and I'm trying to create this fake "hacker" so my friends and I can roleplay "nerdy I know lolz
"
Anyways, here's the code if you need it.
@echo off
echo . . .
PING 1.1.1.1 -n 1 -w 2000 >NUL
goto Startup
:Startup
cls
echo Verifying User... input registered account credentials.
set /p Credentials=
if %Credentials%==VK11Cyanide06 goto Correct
if %Credentials%==QX19Trojan87 goto Cracked
if %Credentials% NOT==VK11Cyanide06 OR QX19Trojan87 goto Incorrect
I want VK11Cyanide06 and QX19Trojan87 to be acceptable variables and all other variables to goto "Incorrect". Can anyone tell me how to accomplish this?

Anyways, here's the code if you need it.
@echo off
echo . . .
PING 1.1.1.1 -n 1 -w 2000 >NUL
goto Startup
:Startup
cls
echo Verifying User... input registered account credentials.
set /p Credentials=
if %Credentials%==VK11Cyanide06 goto Correct
if %Credentials%==QX19Trojan87 goto Cracked
if %Credentials% NOT==VK11Cyanide06 OR QX19Trojan87 goto Incorrect
I want VK11Cyanide06 and QX19Trojan87 to be acceptable variables and all other variables to goto "Incorrect". Can anyone tell me how to accomplish this?