With VBScript you can make for example message box.
Remove these ads by
Signing UpStep 1Tools
| « Previous Step | Download PDFView All Steps | Next Step » |
Remove these ads by
Signing Up| « Previous Step | Download PDFView All Steps | Next Step » |

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.
Radobot, I would suggest splitting up step 2 by the different kinds of statement you are explaining, and mention in step 4 that your example is a harmless "virus" prank that shows the use of messageboxes, if statements and shells.
But you gotta admit, shutting down the users computer ? maybe running notepad would have been somewhat of a better example no ?
A better example would be:
x=msgbox("Oh look a message!",4148,"Antivirus")
If x=vbYes Then
x=msgbox("You pressed Yes",4160,"Antivirus")
End if
y=createobject("wscript.shell")
result = y.run("notepad.exe",1,true)
msgbox "All done, you closed notepad)"
I dunno maybe it's just me but shutting down the pc sounds like such a script kiddy move.
I think its intended to be somewhat of a prank