How to Code a Prank Program

by Future Software in Circuits > Computers

182 Views, 1 Favorites, 0 Comments

How to Code a Prank Program

Main Photo.png
FDAIBX7LVS463KU.png

In this post, you will learn how to make a prank program to prank your friends and family! It is a simple message, but it never closes!

Make File

Delete.png
Delete.png

Start by opening File Explorer, and clicking on View> Show > Show File Name Extention. This will enable you to change the extension of your program file, which is important. Now create a new text document and rename it to whatever you want, but change the .txt extension to .vbs. If it asks you if you want to change the file name extension, click yes.

Code the Program

Delete.png
Final.png

Right-click on the file and select "Edit In Notepad," and then paste in the following code:

do

msgbox("You got pranked")

loop

This will run the command (a message box) in a loop, which means repeatedly. Since we have not specified an end to the loop, it will run forever!

All done! Just double-click it and watch it run (killing script in the task manager closes it!) Hope you enjoyed it!


Made by the Future Software Development Group