Mavric Posted January 7, 2010 Posted January 7, 2010 I have a quick question. I have made some hotkey macros for a game I play that simply send a few different key presses with a single hotkey. The problem I am having is that often when I press the hotkey and I am moving my mouse around the cursor will stutter and chop around. This is an FPS game so you can see why that would be a problem. Is there anything I can do to alleviate this problem? Here are a few of the functions I wrote: this one lets me use a couple of skills and switch a hot bar with 1 button Func Thand() send("4"); send("{NUMPAD2}"); Send("^4"); Sleep("500"); send("4"); EndFunc this one lets me cycle through some skills with 1 button func NukeCycle() if $nukeX = "0" Then Send("'"); $nukeX += 1; ElseIf $nukeX = "1" Then Send(";"); $nukeX = 0; EndIf Sleep("200"); EndFunc
whim Posted January 7, 2010 Posted January 7, 2010 Maybe because Sleep("200") is not proper AI syntax, try Sleep(200) ... whim
James Posted January 7, 2010 Posted January 7, 2010 Maybe because Sleep("200") is not proper AI syntax, try Sleep(200) ... No, this script: ConsoleWrite("HEY!" & @CRLF) Sleep("1000") ConsoleWrite("I paused one second!" & @CRLF) Leaves a seconds pause between both ConsoleWrites. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now