|
on error resume next
dim WSHshellA
set WSHshellA = wscript.createobject("wscript.shell")
WSHshellA.run "cmd.exe /c shutdown -r -t 30 -c ""叫爸爸,不叫爸爸就30秒关你机,不信,试试···"" ",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) + "哈哈,真过瘾,听话儿子,好乖"
复制代码粘贴到记事本保存。然后将.txt后缀改为.vbs即可。双击运行即可实现整人的目的。输入"爸爸"则不关机,否则30秒后关机。