Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- :reset
- Set count=0
- Set delay=0
- Set break=0
- Set linepos=[1;!count!H
- Set lowlinepos=[32;!count!H
- Mode Con: cols=120 lines=33
- Setlocal EnableDelayedExpansion
- :main
- Set /a break=%break% + 1
- IF %break% GTR 399 goto end
- Set /a count=%count% + 1
- ECHO [1;1H[K%linepos%[31mR[33mO[1m[33mY[0m[32mG[36mB[1m[35mI[0m[35mV
- ECHO [32;1H[K%lowlinepos%[31m^>^>^>^>^>^>^>
- IF %count%==114 GOTO second
- Call :delay
- GOTO main
- pause
- :second
- Set /a count=%count% - 1
- Set /a break=%break% + 1
- IF %break% GTR 399 goto end
- ECHO [1;1H[K%linepos%[31mR[33mO[1m[33mY[0m[32mG[36mB[1m[35mI[0m[35mV
- ECHO [32;1H[K%lowlinepos%[31m^<^<^<^<^<^<
- IF %count%==0 GOTO main
- Call :delay
- GOTO second
- :delay
- Set /a delay=%delay% + 1
- IF %delay%==3 Set delay=0
- If %delay%==0 GOTO :EOF
- GOTO delay
- :end
- endlocal EnableDelayedExpansion
- ECHO [16;58H[37m[4mDone[0m
- pause >nul
- GOTO reset
Advertisement
Add Comment
Please, Sign In to add comment