Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- title Luke's Timer
- color 80
- mode con cols=100 lines=20
- :start
- cls
- set /p timer=Set Timer:
- set time=%timer%
- goto a
- :loop
- cls
- set /a time=%time% -1
- if %time%==0 goto timesup
- :a
- cls
- title %timer%
- echo.
- if %time% leq -1 goto error
- if time lss 100 echo %time%
- if time geq 100 echo %time%
- ping localhost -n 2 >nul
- cls
- goto loop
- :error
- title Timer
- cls
- echo.
- echo ERROR!
- echo Press ENTER!
- pause >nul
- goto start
- :error2
- title Timer
- cls
- echo.
- echo ERROR!
- echo Press ENTER!
- pause >nul
- goto noleft
- :timesup
- rem start "" /min mplayer2 "C:\Windows\Media\chord.wav" /play /close
- set x=9
- title Timer
- echo Time's Up!
- :b
- echo
- set /a x=%x% -1
- if %x% leq 0 goto noleft
- goto b
- :noleft
- cls
- echo.
- set /p exit=1-Use 2-Exit
- if %exit%==1 goto start
- if %exit%==2 goto Exit
- :Exit
- exit
Add Comment
Please, Sign In to add comment