0% found this document useful (0 votes)
69 views1 page

Name Inputbox ("Whats Your Name?") Msgbox ("Have A Good Day, ") + Name

A VBS script prompts the user for their name and displays a message box saying "Have a good day" followed by their name. It then prompts for a password, and if the user enters "fish" it shows a message box saying "Correct Password!", otherwise it says "Incorrect Password!".

Uploaded by

Himura Kenshin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views1 page

Name Inputbox ("Whats Your Name?") Msgbox ("Have A Good Day, ") + Name

A VBS script prompts the user for their name and displays a message box saying "Have a good day" followed by their name. It then prompts for a password, and if the user enters "fish" it shows a message box saying "Correct Password!", otherwise it says "Incorrect Password!".

Uploaded by

Himura Kenshin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

VBS Codes

name=inputbox("Whats your name?")


msgbox("Have a good day, ") + name

pass=inputbox("Password?")
if pass="fish" then msgbox("Correct Password!") else msgbox("Incorrect
Password!")

You might also like