Trying to find a way to macro my mushroom farm, the script would need to hold a for a number of seconds, then hold s for a number of seconds, then hold d for a number of seconds, then repeat 3 times and wait a number of seconds, then it would loop. Any help is appreciated
[Mod edit: Moved topic from 'Scripts and Functions' to help since this is a help request, and not a working script.]
Hypixel Skyblock farm
Re: Hypixel Skyblock farm
Sorry forgot to add this, but it would look something like this
Hold a for (x) amount of seconds
Hold s for (y) amount of seconds
Hold d for (x) amount of seconds
Hold a for (x) amount of seconds
Hold s for (y) amount of seconds
Hold d for (x) amount of seconds
Hold a for (x) amount of seconds
Hold s for (y) amount of seconds
Hold d for (x) amount of seconds
Then it would wait for (k) amount of seconds
Then loop
Hold a for (x) amount of seconds
Hold s for (y) amount of seconds
Hold d for (x) amount of seconds
Hold a for (x) amount of seconds
Hold s for (y) amount of seconds
Hold d for (x) amount of seconds
Hold a for (x) amount of seconds
Hold s for (y) amount of seconds
Hold d for (x) amount of seconds
Then it would wait for (k) amount of seconds
Then loop
Re: Hypixel Skyblock farm
Hallo,
try:If your game does not behave as desired, try the other Hold()
try:
Code: Select all
x := 2, y := 3, k := 5
q:: ; Start with Key Q
Loop {
Loop, 3
Hold("a", x), Hold("s", y), Hold("d", x)
Sleep, 1000*k
}
Hold(Key, Seconds) {
SendEvent, {%Key% Down}
Sleep, Seconds*1000
SendEvent, {%Key% Up}
}
; Hold(Key, Seconds)
; { ; with AutoRepeat
; SetKeyDelay, 30
; Loop,% Seconds*1000//30
; Send, {Blind}{%Key% Down}
; Send, {Blind}{%Key% Up}
; }