哈 我们把它改成向里跑的要不要?等下去做做看 汗 好复杂
我自己也做一个 有一些变量为什么这么设也没搞清楚,是慢慢测试的……
嘿嘿 不过我这个 在行间滑动的时候没这么闪烁哦
- @echo off&color 1f
- setlocal enabledelayedexpansion
- for /l %%a in (1,1,80) do set kong= !kong!
- set /a a=0,b=0
- call :a hehe
- :a
- if "%1"=="hehe" (for /l %%a in (1,1,50) do echo,>nul
- set /p= *<nul
- if %a% equ 77 (call :b xixi)
- set /a a+=1
- ) else (for /l %%a in (1,1,50) do echo,>nul
- set /p= *<nul
- if %a% equ 0 (call :b kaka)
- set /a a-=1)
- goto :a
- :b
- if "%1"=="xixi" (for /l %%a in (1,1,100) do echo,>nul
- cls
- for /l %%a in (1,1,%b%) do echo,
- set /p=%kong:~2%*<nul
- if !b! equ 20 (call :a haha)
- set /a b+=1) else (
- for /l %%a in (1,1,100) do echo,>nul
- cls
- for /l %%a in (1,1,%b%) do echo,
- set /p=*<nul
- if !b! equ 0 (call :a hehe)
- set /a b-=1)
- goto :b
复制代码
[ 本帖最后由 523066680 于 2008-8-10 18:22 编辑 ] |