So i have a problem when i try to call a variable thats inside another variable! It will connect to a server to get a file with all users My Code is:
echo Please Login
set /p name=Username:
set /p pass=Password:
if exist users.txt del /f /q users.txt
wget server/users.txt // downloading file from Server
ren users.txt users.bat
call users.bat
del /f /q users.bat
if %%name%% equ %pass% goto login
So the %%name%% means that i need the variable thats inside name, so say "user". Now i need the variable inside "user"! And thats my problem i dont know how to call for that.
The file users.txt contains:
set name=pass
set name=pass
...
Where "name" is the players name and "pass" his password, So like:
set Blaze=1234
set test=5678
And now my file would call that to proceed.
Edit*
!%name%! solved my Problem! Thanks for your help guys!