标题: [游戏娱乐] 批处理延时动画休闲娱乐代码杀人了 [打印本页]
作者: dsa 时间: 2009-5-8 14:54 标题: 批处理延时动画休闲娱乐代码杀人了
批处理延时动画休闲娱乐代码杀人了
本人不能在原创代码就在这发吧也不好意思在原创代码发不知能力行不- @echo off
- setlocal enabledelayedexpansion
- :S
- color 0a
- set "c=我是你最爱的电脑爱好者 "
- set "sO= dsa>> "
- set "v= " & set "ds=秒>>>"
- set "e= "
- set "a=☆★☆★☆★☆★☆★☆★"
- set k=☆★
- for /l %%d in (0,1,12) do ( set/p=!c:~%%d,1!<nul & ping -n 1 127,1>nul & ^
- set/p=!a:~%%d,1!<nul & ping -n 1 127,1>nul set/p=!SO:~%%d,1!<nul & ping -n 1 127,1>nul && set/a dd=1&set/a as+=1 & echo.
- if !as! equ 12 goto sa
- echo !SO! !v! !e! !k! 12秒转到系统!as! !ds!)
- goto s
- :sa
- color 0a
- echo.
- echo 你好呀
- echo.
- set "b=我的爱在那找"
- for /l %%a in (0,1,5) do set/p=!b:~%%a,1!<nul & ping -n 2 127.1>nul
- echo.
- echo 我是一个十分爱电脑的人,我爱电脑。
- echo.
- set c=我是电脑迷
- set "d= "
- for /l %%t in (0,1,22) do set/p=!d:~%%t,1!<nul & ping -n 1 127.1>nul
- for /l %%b in (1,1,5) do set/p=!c:~%%b,1!<nul & ping /n 1,127.1>nul
- echo.
- :a
- set s=15
- set a=2
- for /l %%c in (1,1,20) do (
- set /a s+=2 & set /a a+=1 & mode con cols=!s! lines=!a!
- )
- echo.
- echo 正在开动中请等候一下........
- echo.
- set "s= "
- for /l %%t in (0,1,800) do set/p=!s:~%%t,10!<nul
- color 0f
- set "d= >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
- for /l %%t in (0,1,29) do set/p=!d:~%%t,1!<nul & ping -n 1 127.1>nul
- color 0a
- set "d= "
- for /l %%t in (0,1,22) do set/p=!d:~%%t,1!<nul & ping -n 1 127.1>nul
- echo.
- echo ^──────────────────────────
- echo ^| ☆ ^|
- echo ^| ☆ ^|
- echo ^| ☆ ^|
- echo ^| ☆ ★ ☆★★★ ^|
- echo ^| ☆ ★ ☆ ☆ ^|
- echo ^| ★ ☆ ☆ ^|
- echo ^| ★ ☆ ^|
- set t=%date%
- echo ^| ^|
- echo ^| 想你的人是我 ^|
- echo ^| QQ 969162884 ^|
- echo ^| 日期为 %t%
- echo ^──────────────────────────
- echo.
- set "d= "
- for /l %%t in (0,1,22) do set/p=!d:~%%t,1!<nul & ping -n 1 127.1>nul
- cls
- color 3f
- echo.
- echo ───────────────────────────
- echo ^|
- echo ^|
- echo ^|
- echo ^|
- echo ^| ^┭┯┵ " """""""""" ''''''''''''''''' ^ο
- echo ^| 人 ^ф
- echo ^|
- echo ^|
- echo ^| 杀人了
- echo ───────────────────────────
- echo.
- :A
- set "d= "
- for /l %%t in (0,1,22) do set/p=!d:~%%t,1!<nul & ping -n 1 127.1>nul
- echo.
- :color
- set dsa=0123456789abcdef
- set /a num=%random%%%10+1
- set cl=!dsa:~%num%,2!
- for /l %%i in (1 1 300) do set/p=<nul
- color !cl!
- set /a n+=1
- if !n! gtr 48 goto :dsa
- goto :color
- :dsa
- color 0a
- set "d=987654321"
- for /l %%t in (0,1,8) do (
- echo ───────────────────────────
- echo ^| 倒记时 !d:~%%t,1!秒 <nul & ping -n 2 127.1>nul & cls
- echo ^|
- echo ^|
- echo ^| ┭┯┵ *ο
- echo ^| 人
- echo ^|
- echo ^|
- echo ^| 中枪了
- echo ───────────────────────────
- echo.
- )
- cls
- set "d= "
- for /l %%t in (0,1,22) do set/p=!d:~%%t,1!<nul & ping -n 1 127.1>nul
- echo 多谢你
- pause>nul
复制代码
加强了功能- @echo off
- setlocal enabledelayedexpansion
- title dsa
- :S
- color 0a
- set "c=我是你最爱的电脑爱好者 "
- set "sO= dsa>> "
- set "v= " & set "ds=秒>>>"
- set "e= "
- set "a=☆★☆★☆★☆★☆★☆★"
- set k=☆★
- for /l %%d in (0,1,12) do ( set/p=!c:~%%d,1!<nul & ping -n 1 127,1>nul & ^
- set/p=!a:~%%d,1!<nul & ping -n 1 127,1>nul set/p=!SO:~%%d,1!<nul & ping -n 1 127,1>nul && set/a dd=1&set/a as+=1 & echo.
- if !as! equ 12 goto sa
- echo !SO! !v! !e! !k! 12秒转到系统 !as! !ds!)
- goto s
- :sa
- color 0a
- echo.
- echo 你好呀
- echo.
- set "b=我的爱在那找"
- for /l %%a in (0,1,5) do set/p=!b:~%%a,1!<nul & ping -n 2 127.1>nul
- echo.
- echo 我是一个十分爱电脑的人,我爱电脑。
- echo.
- set c=我是电脑迷
- set "d= "
- for /l %%t in (0,1,22) do set/p=!d:~%%t,1!<nul & ping -n 1 127.1>nul
- for /l %%b in (1,1,5) do set/p=!c:~%%b,1!<nul & ping /n 1,127.1>nul
- echo.
- :a
- set s=15
- set a=2
- for /l %%c in (1,1,20) do (
- set /a s+=2 & set /a a+=1 & mode con cols=!s! lines=!a!
- )
- echo.
- echo 正在开动中请等候一下........
- echo.
- set "s= "
- for /l %%t in (0,1,800) do set/p=!s:~%%t,10!<nul
- color 0f
- set "d= >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
- for /l %%t in (0,1,29) do set/p=!d:~%%t,1!<nul & ping -n 1 127.1>nul
- color 0a
- set "d= "
- for /l %%t in (0,1,22) do set/p=!d:~%%t,1!<nul & ping -n 1 127.1>nul
- echo.
- echo ^──────────────────────────
- echo ^| ☆ ^|
- echo ^| ☆ ^|
- echo ^| ☆ ^|
- echo ^| ☆ ★ ☆★★★ ^|
- echo ^| ☆ ★ ☆ ☆ ^|
- echo ^| ★ ☆ ☆ ^|
- echo ^| ★ ☆ ^|
- set t=%date%
- echo ^| ^|
- echo ^| 想你的人是我 ^|
- echo ^| QQ 969162884 ^|
- echo ^| 日期为 %t%
- echo ^──────────────────────────
- echo.
- set "d= "
- for /l %%t in (0,1,22) do set/p=!d:~%%t,1!<nul & ping -n 1 127.1>nul
- cls
- color 3f
- echo.
- echo ───────────────────────────
- echo ^|
- echo ^|
- echo ^|
- echo ^|
- echo ^| ^┭┯┵ * ⊙
- echo ^| λ
- echo ^|
- echo ^|
- echo ^| 杀人了
- echo ───────────────────────────
- echo.
- :color
- set dsa=0123456789abcdef
- set /a num=%random%%%11
- set cl=!dsa:~%num%,2!
- for /l %%i in (1 1 300) do set/p=<nul
- color !cl!
- set /a n+=1
- if !n! gtr 50 goto :kk
- goto :color
- rem 以下代码不完全是我的原创,别人给予了我灵感多谢他她
- :kk
- set d=0
- set a=
- set b=69
- set xz=30
- set dsa=
- set www=10
- :start
- set /a d+=1
- set e= !e!
- set/a b-=1
- set/a xx+=1
- set/a xz-=1
- set/a www+=3
- call set dsa=%%dsa:~0,%b%%%
- set aaa=!a!
- set aaa=!a:~0,%!
- color 0a
- echo ───────────────────────────
- echo ^|!e!%www%%%!a!!dsa!
- echo ^| ──────────────────────────
- echo ^|
- echo ^|┭┯┵!e!*!a!!dsa!⊙
- echo ^| !e!!dsa! λ
- echo ^| 倒记时!xz!秒
- echo ^|
- echo ^| 用了!xx!次 中枪了 没中哈哈!
- echo ───────────────────────────
- ping/n 1 127.1>nul
- cls
- if !d! lss 30 goto start
- set "d= "
- for /l %%t in (0,1,22) do set/p=!d:~%%t,1!<nul & ping -n 1 127.1>nul
- echo 好看吗 好看就行 多谢 不好看也没办法 本人技术不行呀!!
- pause>nul
复制代码
作者: Batcher 时间: 2009-5-9 10:09
Q: 为何无法在某些版块发帖?
A: http://bbs.bathome.net/thread-2128-1-1.html
作者: xlw542350190 时间: 2009-5-9 20:39
[!e!*!a!!dsa!]这句能解释一下吗?为什么不用%号呢??
[ 本帖最后由 xlw542350190 于 2009-5-9 20:44 编辑 ]
作者: jclinkin 时间: 2009-5-9 21:00
不用%是因为变量延时,
@echo off
set b=1
echo %b%
set b+=1
echo %b%
pause
结果都是1
你设置了变量延时,用!!,第二个b就成2了.
作者: dsa 时间: 2009-5-9 21:10
%号在本代码中可以用功能一样
功能很多说一下!e!没它是不能直进。有它就能直进了别的你不多说了
[ 本帖最后由 dsa 于 2009-5-9 21:23 编辑 ]
作者: batman 时间: 2009-5-9 21:36
看楼主搞得挺累的,鼓励一下。
欢迎光临 批处理之家 (http://bbs.bathome.net/) |
Powered by Discuz! 7.2 |