Advertisement
Anonym00ze

Timer

May 11th, 2021 (edited)
1,039
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.35 KB | None | 0 0
  1. @echo off
  2. title ----00[ Faucet's Timer by Yogsotho ]00----
  3. color 0A
  4.  
  5. :start
  6. cls
  7. echo.
  8. echo.
  9. set /P seconds=HOW MANY SECONDS?
  10.  
  11. timeout /T %seconds% /NOBREAK
  12.  
  13. :msg
  14. msg %username% TIME OVER
  15. powershell "[console]::beep(500,300)"
  16.  
  17. :choice
  18.  
  19. set /P choice=Again? (y/n)
  20.  
  21. if %choice% == y goto start
  22. if %choice% == n goto exit
  23.  
  24. :exit
  25.  
  26. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement