[SOLVED] Code Help! Topic is solved

Ask gaming related questions
Only Spams First

[SOLVED] Code Help!

16 May 2018, 17:42

Hello, i'm in need of help with the script i made. This is what i currently have below, but when i run it, it only spams the "d" key for basically unlimited times... I just need it for 55 seconds, then swap to left key for .4 seconds, then to right key for .4 seconds. Any help would be awesome.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

please use code tags!
Rohwedder
Posts: 1013
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Code Help!

16 May 2018, 23:55

Hallo,
try:

Code: [Select all] [Download] GeSHi © Codebox Plus

F3::Reload
F2::pause,toggle
F1::
While A_TimeSinceThisHotkey < 55000
Send {d Down}
Send {d Up}
Send {Left}
sleep, 400
Send {Right}
Sleep, 400
return
Same guy

Re: Code Help!

17 May 2018, 05:20

Hello. So when I tried the script you help me with in note pad it still just spams “d” infinite but when I put the time to 100 milliseconds it types “d” five times. So I have no clue. Maybe if I type what I’m looking for it would be easier to help. So what I’m looking for is I want the script to spam “d” for 1 minute, after that I want the left arrow key to be hit for 400 milliseconds then switch to the right arrow key for 400 milliseconds. After that I want it to basically loop infinite times.
Louis Tully
Posts: 30
Joined: 25 Apr 2018, 03:03

Re: Code Help!

17 May 2018, 07:52

Hmm... Maybe this?

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

Sameness guy

Re: Code Help!

17 May 2018, 09:09

So I tried that and it only presses the d key once then waits the milliseconds presses left then presses right then presses d 1 time again.
Louis Tully
Posts: 30
Joined: 25 Apr 2018, 03:03

Re: Code Help!  Topic is solved

17 May 2018, 12:56

Sameness guy wrote:So I tried that and it only presses the d key once then waits the milliseconds presses left then presses right then presses d 1 time again.



All right, I think I've got it now. Try this.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

Same guy

Re: Code Help!

17 May 2018, 16:19

That’s it. Thank you so much. You’re a legend!
Louis Tully
Posts: 30
Joined: 25 Apr 2018, 03:03

Re: [SOLVED] Code Help!

18 May 2018, 02:00

Awesome! Glad it worked out.

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 8 guests