Jump to content

help me please. im a noob and dont know what to do

Shalmon

so I copy pasted a code from a website to spam my friends. I wanna know how do I add a line of code so that I can have a trigger button. so that when the code is running in the background I can press the trigger button to execute the task. the code runs on vbscript as far as I know. can you help me please. thanks people I really appreciate it.

 

Set wshShell = wscript.CreateObject("WScript.Shell")
Dim index
index = 0
do
wscript.sleep 500
wshshell.sendkeys "ENTER TEXT HERE"
wshshell.sendkeys "{enter}"
index = index + 1
loop until index > 100

Link to comment
Share on other sites

Link to post
Share on other sites

Figure out your own trolling

I spent $2500 on building my PC and all i do with it is play no games atm & watch anime at 1080p(finally) watch YT and write essays...  nothing, it just sits there collecting dust...

Builds:

The Toaster Project! Northern Bee!

 

The original LAN PC build log! (Old, dead and replaced by The Toaster Project & 5.0)

Spoiler

"Here is some advice that might have gotten lost somewhere along the way in your life. 

 

#1. Treat others as you would like to be treated.

#2. It's best to keep your mouth shut; and appear to be stupid, rather than open it and remove all doubt.

#3. There is nothing "wrong" with being wrong. Learning from a mistake can be more valuable than not making one in the first place.

 

Follow these simple rules in life, and I promise you, things magically get easier. " - MageTank 31-10-2016

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×