Rules for inputting commands, ip addresses and such with AHK macros/scripts.
4 years ago
Canada

I am writing an AHK script for cooperative speedrunning server resetting that needs to input server ip addresses and the /stop command. I know that there is a 70 ms requirement for inputs but am wondering if something like:

Send, t Sleep, 70 Send, /stop Sleep, 70 Send, {Enter}

Is acceptable (it send the entirety of /stop all at once, as if pasted in) or would it count as multiple inputs and have to be split up like this:

Send, t Sleep, 70 Send, / Sleep, 70 Send, s Sleep, 70 Send, t Sleep, 70 Send, o Sleep, 70 Send, p Sleep, 70 Send, {Enter}

I suspect and hope it is acceptable as it would make the script/macro a heck of a lot easier to write and it would also perform faster.

I would like an answer citing someone of authority or a direct answer from someone of authority.

Edited by the author 4 years ago
Germany

the first variant would also work

Also I would extend the waiting time at least to 100 if 70 is required or you could desync because of lag

Edited by the author 4 years ago
Canada

I know the first one would work, but is it allowed?

Game stats
Followers
43,973
Runs
25,002
Players
8,646
Latest news
Rules v5

View the current version of the rules at

This is a unique release, as no rule changes were made. This release should be functionally identical to rules v4, with only minor whitespace and formatting changes.

4 hours ago
Latest threads
Posted 13 hours ago
1 reply
Posted 14 hours ago
27 replies
Posted 14 hours ago
2 replies
Posted 2 days ago
1 reply