Advertisement
Guest User

Harry Potter Timer

a guest
Jun 22nd, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 3.71 KB | None | 0 0
  1. @echo off
  2. :start
  3. color 0a
  4. echo Enjoy Harry Potter
  5. pause
  6. :clean
  7. color 4e
  8. echo                                _ _  _
  9. echo             *                ^|^;^| ^|^;^| ^|^;^|                         *
  10. echo       +         _  _ _  _    \\.    .  /    _  _ _  _      +
  11. echo   *            ^|^;^|_^|^;^|_^|^;^|    \\: +   /    ^|^;^|_^|^;^|_^|^;^|
  12. echo                \\..      /    ^|^|:+++. ^|    \\.    .  /          *
  13. echo        +        \\.  ^,  /     ^|^|:+++  ^|     \\:  .  /
  14. echo                  ^|^|:+  ^|_   _ ^|^|_ . _ ^| _   _^|^|:+  ^|      *
  15. echo            *     ^|^|+++.^|^|^|_^|^;^|_^|^;^|_^|^;^|_^|^;^|_^|^;^|^|+++ ^|         +
  16. echo                  ^|^|+++ ^|^|.    .     .      . ^|^|+++.^|  *
  17. echo  +   *           ^|^|: . ^|^|:.     . .   .  ^,   ^|^|:   ^|              *
  18. echo           *      ^|^|:   ^|^|:  ^,     +       .  ^|^|: ^, ^|     +
  19. echo    *             ^|^|:   ^|^|:.     +++++      . ^|^|:   ^|        *
  20. echo       +          ^|^|:   ^|^|.     +++++++  .    ^|^|: . ^|   +
  21. echo                  ^|^|: . ^|^|: ^,   +++++++ .  .  ^|^|:   ^|       *
  22. echo           _    _ ^|^|: . ^|^|: ^,   +++++++ .  .  ^|^|:   ^| _
  23. echo          ^| ^|__^| ^|  ___   __ _  _      _  __ _  _ __ ^| ^|_   ___
  24. echo          ^|  __  ^| / _ \ / _^` ^|^| \ /\/  /  _^ ^|^| __ ^|^| _^| / ___^|
  25. echo          ^| ^|  ^| ^|^| ^(_^) ^| ^(_^| ^| \ V  V /^| ^(_^| ^|^| ^|   ^| ^|_ \___ \
  26. echo          ^|_^|  ^|_^| \___/ \__^, ^|  \_/\_/  \__^,_^|^|_^|    \__^|^|____/
  27. echo                          __/ ^|                    
  28. echo                         ^|___/
  29. color 4e
  30. echo Now type the number of hours you'd like
  31. set /p Hour=to set on the timer without spaces (1 to 5)
  32. if '%Hour%'=='1' timeout -t 3600 /nobreak && shutdown -h
  33. if '%Hour%'=='2' timeout -t 7200 /nobreak && shutdown -h
  34. if '%Hour%'=='3' timeout -t 10800 /nobreak && shutdown -h
  35. if '%Hour%'=='4' timeout -t 14400 /nobreak && shutdown -h
  36. if '%Hour%'=='5' timeout -t 18000 /nobreak && shutdown -h
  37. if '%Hour%'=='73' cls & color 0d &echo This is an easter egg & echo Hidden message here & echo Hidden message here & echo Hidden message here& echo Hidden message here& echo Hidden message here& echo Hidden message here & echo Hidden message here                       .-~-. & echo Hidden message here                     .'     '. & echo Hidden message here                    /         \ & echo Hidden message here            .-~-.  :           !! & echo Hidden message here          .'     '.^|           ^| & echo Hidden message here         /         \           : & echo Hidden message here        :           !! .-~""~-,/ & echo Hidden message here        ^|           /`        `'. & echo Hidden message here        :          ^|             \ & echo Hidden message here         \         ^|             / & echo Hidden message here          `.     .' \          .' & echo Hidden message here            `~~~`    '-.____.-' & echo Hidden message here & echo Hidden message here & echo Hidden message here& echo Hidden message here& echo Hidden message here& pause & cls & goto start
  38. if not '%Hour%'=='1' ECHO "%Hour%" is not valid please try again & pause & cls &echo Enjoy Harry Potter & goto clean
  39. if not '%Hour%'=='2' ECHO "%Hour%" is not valid please try again & pause & cls &echo Enjoy Harry Potter & goto clean
  40. if not '%Hour%'=='3' ECHO "%Hour%" is not valid please try again & pause & cls &echo Enjoy Harry Potter & goto clean
  41. if not '%Hour%'=='4' ECHO "%Hour%" is not valid please try again & pause & cls &echo Enjoy Harry Potter & goto clean
  42. if not '%Hour%'=='5' ECHO "%Hour%" is not valid please try again & pause & cls &echo Enjoy Harry Potter & goto clean
  43. if not '%Hour%'=='73' ECHO "%Hour%" is not valid please try again & pause & cls &echo Enjoy Harry Potter & goto clean
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement