VBS FORTUNE TEST You were a male or female _vbs in your last life.

Source: Internet
Author: User
Copy Code code as follows:

Dim myvalue, RESPONSE,DATA,THISD
Data= "30007|22899|22934"
Thisd=split (data, "|",-1, 1)
Randomize ' Initializes a random number generator.
Do Until Response = vbyes
MyValue = Int ((3* Rnd) + 1) ' produces a random number between 1 and 3.
result= "&#" &THISD (MyValue-1)
If result= "Demon" Then result= "Simon"
Set objexplorer = WScript.CreateObject ("Internetexplorer.application")
Objexplorer.navigate "About:blank"
Objexplorer.toolbar = 0
Objexplorer.statusbar = 0
objexplorer.visible = 1
objexplorer.height=300
objexplorer.width=400
objexplorer.left=400
Objexplorer.resizable=0
ObjExplorer.Document.Body.InnerHTML = "Your last Life is" &result
Response = MsgBox ("Confirm?", vbYesNo)
Loop

Save the above code as a VBS suffix and double-click it. See the results, please reply, hehe

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.