我也来凑个热闹:- ::code by WANKOILZ 2008/5/28
- @echo off&setlocal enabledelayedexpansion&color 02&mode con lines=30&title 黑客帝国数码雨
- setlocal&set flag=0&set code=1234567890abcdefghijklmnopqrstuvwxyz#*$~\/:
- :loop
- if %flag% lss 30 (set/a flag+=1) else (call :chang)
- for /l %%i in (1,1,26) do (
- if defined a%%i (call :set %%i&set tmp=!a%%i!
- ) else (if !random! lss 1000 (call :set %%i&set tmp=!a%%i!
- ) else (set tmp= ))
- call set line%flag%=%%line!flag!%% !tmp!
- )
- cls&for /l %%i in (%flag%,-1,1) do echo.!line%%i!
- for /l %%i in (1,1,100) do ver>nul
- ::ping /n 1 127.1>nul
- if !random! lss 500 (endlocal&setlocal&set flag=0&set code=1234567890abcdefghijklmnopqrstuvwxyz#*$~\/:)
- goto :loop
-
- :chang
- for /l %%i in (1,1,29) do (
- set/a tmp=%%i+1
- call set line%%i=%%line!tmp!%%
- )
- set line%flag%=
- goto :eof
-
- :set
- set/a rnd=%random%%%43
- set a%1=!code:~%rnd%,1!
复制代码
|