Benutzer:Techno DJ/Choice-Script: Unterschied zwischen den Versionen
Aus chessmail Wiki
(→Videos) |
|||
Zeile 5: | Zeile 5: | ||
[http://www.youtube.com/watch?v=0NaZ-GrM44Y&list=PLWCOxlrDZSS8AqVCu-0pBLScUkN9h-gxD&index=9 Teil 1] | [http://www.youtube.com/watch?v=0NaZ-GrM44Y&list=PLWCOxlrDZSS8AqVCu-0pBLScUkN9h-gxD&index=9 Teil 1] | ||
− | [http://www.youtube.com/watch?annotation_id=annotation_2680025689&feature=iv&index=10&list=PLWCOxlrDZSS8AqVCu-0pBLScUkN9h-gxD&src_vid=0NaZ-GrM44Y&v=auEoL34hPhU | + | [http://www.youtube.com/watch?annotation_id=annotation_2680025689&feature=iv&index=10&list=PLWCOxlrDZSS8AqVCu-0pBLScUkN9h-gxD&src_vid=0NaZ-GrM44Y&v=auEoL34hPhU Teil 2] |
− | + | ||
− | + | ||
− | + | ||
=Das Script= | =Das Script= |
Version vom 15. Oktober 2013, 23:28 Uhr
Videos
Das Script
@echo off color A title choice evtl. [Teil 1]
:int set m1=X set m2=O set m3=O
:menu cls echo. echo ################################ echo # # echo # ############# # echo # #%m1% YouTube %m1%# # echo # ############# # echo # # echo # ############ # echo # #%m2% Google %m2%# # echo # ############ # echo # # echo # ############# # echo # #%m3% Beenden %m3%# # echo # ############# # echo # # echo ################################ choice /N /C:WSQ if errorlevel 255 goto menu if errorlevel 3 goto bes if errorlevel 2 goto runter if errorlevel 1 goto hoch if errorlevel 0 goto menu
:bes if "%m1%"=="X" start www.youtube.de if "%m2%"=="X" start www.google.de if "%m3%"=="X" exit goto menu :runter if "%m1%"=="X" set m2=X&&set m1=O&&goto menu if "%m2%"=="X" set m3=X&&set m2=O&&goto menu if "%m3%"=="X" set m1=X&&set m3=O&&goto menu :hoch if "%m1%"=="X" set m3=X&&set m1=O&&goto menu if "%m2%"=="X" set m1=X&&set m2=O&&goto menu if "%m3%"=="X" set m2=X&&set m3=O&&goto menu