Ok, so I was trying to run a file to open twitch feed ex-browser (it's quite nice,) but his error popped up.
I know it looks like I have haphazardly put a : in the code where there shouldn't be, but I have checked.
I'll place the code below, there may be other errors, (I have not been able to run it to troubleshoot), and the code is below.
color 0a
echo Intitializing......
echo Done loading! (0.0026s) To continue,
pause
cd C:UsersHarryDesktopEverything
tree
GOTO Startup
:Startup
cls
SET /P Answer=Do you want to watch your favorite twitch users?(1) Or enter a custom user?(2) Or add a user to your favorites(3)
if "%Answer%" == "1" (
GOTO Favorite
) else (
if "%Answer%" == "2" (
GOTO Questions
) else (
if "%Answer%" == "3" (
GOTO AddUser
) else (
echo *facepalm*
GOTO Startup
)
:Questions
cls
SET /P User=Who do you want? (Enter twitch user you want to watch):
SET /P Quality=What quality do you want? (low/medium/high/source(highest)/audio/mobile(lowest))
SET /P Verify=So you want to watch %User% at %Quality% quality? (yes/no):
if "%Verify%" == "yes" (
GOTO Stream
) else (
if "%Verify%" == "Yes" (
GOTO Stream
) else (
if "%Verify%" == "no" (
GOTO Questions
) else (
if "%Verify%" == "No" (
GOTO Questions
) else (
echo *facepalm*
GOTO Questions
)
:Stream
cls
livestreamer twitch.tv/%User% %Quality%
GOTO Questions
:AddUser
if exist {save1.txt} (
set check = 4
GOTO Load
) else (
set numb=0
GOTO AddUser1
)
:AddUser1
set person%numb% = ""
SET /P User=Please enter the user: (Enter twitch user you want to add):
%User% = %person%%numb%
set check = 1
GOTO Save
)
:Favorite
if exist {save1.txt} (
set check = 3
GOTO Load
) else (
set numb=0
set check = 2
)
:Favorite1
cls
GOTO Save
:Favorite2
:Save
echo %numb% > save1.txt
echo %person%numb%% > save.txt
if "%check%" = 4 (
GOTO Startup
) else (
if "%check%" = 3 (
GOTO Favorite1
)
:load
< save1.txt (
SET /P numb=
)
< save.txt (
SET /P person1=
SET /P person2=
SET /P person3=
SET /P person4=
SET /P person5=
SET /P person6=
SET /P person7=
SET /P person8=
SET /P person9=
SET /P person1=
SET /P person10=
SET /P person11=
SET /P person12=
SET /P person13=
SET /P person14=
SET /P person15=
)
del save1.txt
if "%check%" = 1 (
GOTO AddUser1
)
) else (
if "%check%" = 2 (
GOTO Favorite2
)
Recent Comments