xKLx
Код:
@echo off
echo Viberite server
set /p serv=(1) Da6avitb (2) 3amenitb ??
if "%serv%"=="1" set "action=>>"
if "%serv%"=="2" set "action=>"
set /p server=(1) ----- (2) ------ {3} ------ {4} ----- (0) quit?
if /i %server%==1 goto 1
if /i %server%==2 goto 2
if /i %server%==3 goto 3
if /i %server%==4 goto 4
if /i %server%==0 goto end
:1
echo 1127.0.0.1 localhost %action% C:\hosts
echo 189.207.221.204 l2testauthd.lineage2.com>> C:\hosts
echo 189.207.221.204 l2authd.lineage2.com>> C:\hosts
echo 189.207.221.204 nprotect.lineage2.com>> C:\hosts
pause
exit
pause
exit
:2
echo 2127.0.0.1 localhost %action% C:\hosts
echo 289.207.221.204 l2testauthd.lineage2.com>> C:\hosts
echo 289.207.221.204 l2authd.lineage2.com>> C:\hosts
echo 289.207.221.204 nprotect.lineage2.com>> C:\hosts
pause
exit
:3
echo 3127.0.0.1 localhost %action% C:\hosts
echo 389.207.221.204 l2testauthd.lineage2.com>> C:\hosts
echo 389.207.221.204 l2authd.lineage2.com>> C:\hosts
echo 389.207.221.204 nprotect.lineage2.com>> C:\hosts
pause
exit
:4
echo 127.0.0.1 vip.tt2xz.com %action% C:\hosts
echo 127.0.0.1 vip1.tt2xz.com>> C:\hosts
echo 127.0.0.1 vip2.tt2xz.com>> C:\hosts
echo 127.0.0.1 vip3.tt2xz.com>> C:\hosts
echo 127.0.0.1 vip4.tt2xz.com>> C:\hosts
echo 127.0.0.1 vip5.tt2xz.com>> C:\hosts
echo 127.0.0.1 vip6.tt2xz.com>> C:\hosts
echo 127.0.0.1 vip7.tt2xz.com>> C:\hosts
echo 127.0.0.1 VIP1.TOWALKER.COM>> C:\hosts
echo 127.0.0.1 VIP2.TOWALKER.COM>> C:\hosts
echo 127.0.0.1 VIP3.TOWALKER.COM>> C:\hosts
pause
exit
Код:
@echo off
echo Viberite server
set /p serv=(1) Da6avitb (2) 3amenitb ??
if "%serv%"=="1" set "action=>>"
if "%serv%"=="2" set "action=>"
set /p server=(1) ----- (2) ------ {3} ------ {4} ----- (0) quit?
if /i %server%==1 goto 1
if /i %server%==2 goto 2
if /i %server%==3 goto 3
if /i %server%==4 goto 4
if /i %server%==0 goto end
:1
echo 1127.0.0.1 localhost %action% C:\hosts
echo 189.207.221.204 l2testauthd.lineage2.com>> C:\hosts
echo 189.207.221.204 l2authd.lineage2.com>> C:\hosts
echo 189.207.221.204 nprotect.lineage2.com>> C:\hosts
pause
exit
pause
exit
:2
echo 2127.0.0.1 localhost %action% C:\hosts
echo 289.207.221.204 l2testauthd.lineage2.com>> C:\hosts
echo 289.207.221.204 l2authd.lineage2.com>> C:\hosts
echo 289.207.221.204 nprotect.lineage2.com>> C:\hosts
pause
exit
:3
echo 3127.0.0.1 localhost %action% C:\hosts
echo 389.207.221.204 l2testauthd.lineage2.com>> C:\hosts
echo 389.207.221.204 l2authd.lineage2.com>> C:\hosts
echo 389.207.221.204 nprotect.lineage2.com>> C:\hosts
pause
exit
:4
echo 127.0.0.1 vip.tt2xz.com %action% C:\hosts
echo 127.0.0.1 vip1.tt2xz.com>> C:\hosts
echo 127.0.0.1 vip2.tt2xz.com>> C:\hosts
echo 127.0.0.1 vip3.tt2xz.com>> C:\hosts
echo 127.0.0.1 vip4.tt2xz.com>> C:\hosts
echo 127.0.0.1 vip5.tt2xz.com>> C:\hosts
echo 127.0.0.1 vip6.tt2xz.com>> C:\hosts
echo 127.0.0.1 vip7.tt2xz.com>> C:\hosts
echo 127.0.0.1 VIP1.TOWALKER.COM>> C:\hosts
echo 127.0.0.1 VIP2.TOWALKER.COM>> C:\hosts
echo 127.0.0.1 VIP3.TOWALKER.COM>> C:\hosts
pause
exit