2024年3月27日发(作者:)
1 九九乘法表
dim i,j
for i=1 to 9
for j=1 to i
str=str &j&"×"&i&"="& i * j & " "
next
str=str & vbCrlf & vbCrlf
next
wscri str
2 整人
do
msgbox "准备安装right table1.0"
Set WshShell = WScrieObject("WScri")
WshSh "正在安装,"&vbcrlf&"请等待,请不要按确认!!"&vbcrlf&"
请不要按确认",5,"安装过程"
WshSh "安装完成,请按确认启动",,"安装完成"
msgbox "请准备"
x=inputbox ("1启动,0关闭","是否启动?","1")
if x=1 then
z=inputbox ("请输入1或2","请选择功能")
end if
if z=1 then
do until i=10
i=i+1
msgbox "CPU温度过高,系统出现严重误!",16+4096,"系统错
误"
wscri 1000*60 '时间可以自己改
loop
elseif z=2 then
a=InputBox("快说“我是笨蛋”,一个停顿都不能有,不然我
就关机!","老公我爱你","我是,笨蛋")
If a="我是笨蛋" Then
Msgbox"这就对了嘛!",0,"我是笨蛋"
msgbox"进入"
msgbox"sorry,your computer is &*(^*&%"
Elseif a="我是,笨蛋" Then
Msgbox"一个停顿也不许有,没看见呀?",16,"我
是笨蛋"
Else
Msgbox"还不说?你再不说我就关机了!",16,"我
是笨蛋"
End If
end if
if x=0 then
msgbox "真的要退出吗?"
y=inputbox ("返回1,退出0","真的要退出吗?","1")
end if
if y=1 then
msgbox "笨蛋这下后悔也来不及了!"
do while 1
msgbox "现在就永远关不了了!"
loop
elseif y=0 then
msgbox "现在关闭"
exit do
end if
loop
3 快说你是猪,不说就关机
on error resume next
dim WSHshellA
set WSHshellA = wscrieobject("wscri")
WSHsh " /c shutdown -r -t 40 -c ""说自己是猪,给你40秒
···不说我就关你机,不信,试试···"" ",0 ,true
dim a
do while(a <> "我是猪")
a = inputbox ("说我是猪,就不关机,快,说 ""我是猪"" ","说不说","不说
",8000,7000)
msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"
loop
msgbox chr(13) + chr(13) + chr(13) + "早说不就行了嘛"
dim WSHshell
set WSHshell = wscrieobject("wscri")
WSHsh " /c shutdown -a",0 ,true
msgbox chr(13) + chr(13) + chr(13) + "哈哈哈...真过瘾..."
4 爱情测试
const
const
const
"
const
title = "爱情测试"
yourname = "范冰冰"
question = "你最喜欢的人是谁?请在下面的方框中输入他(她)的名字。
info = "你在说谎!不要逃避,实话实说。"


发布评论