Code: Select all
sleep, 1000
start_time := A_TickCount
time_to_run := 1800000
end_time := start_time + time_to_run
arr := [w, a, s, d]
while (A_tickCount < end_time) {
Random, oVar, 1, 4
send, {arr[oVar] down}
sleep, 500
send, {arr[oVar] up}
}
sleep, 10000
send, {Esc}
sleep, 500
send, {l}
sleep, 500
send, {Enter}