Clicky

Batch Script for Up and Down Movement

Don’t copy yet,

      Make sure when you copy this down, add it as Movement.bat and make sure you use the W key to move the character ( [} ) Up and press the S key to go down!!!

Have fun with this

Copy the script at @echo off:

@setlocal enableextensions enabledelayedexpansion
@echo off
color 0a

set length=
set height= a

 :var
cls
echo.
for %%a in ( %height% ) do echo.
echo [}
choice /c wasd /n
if %errorlevel% equ 1 call:up
if %errorlevel% equ 2 call:left
if %errorlevel% equ 3 call:down
if %errorlevel% equ 4 call:right

 @echo off
:left
set length=!length:~0,-1!
goto var

@echo off
:right
set length=%length%
goto var

 @echo off
:up
set height=!height:~0,-2!
goto var

 @echo off
:down
set height=%height% a
goto var