i absolutely understand, but how much could I possibly record from 4 keys?
also, i run into another problem. how would I record the time in between the key presses, when no key is pressed. i look more at the _IsPressed function and realized im doing it wrong. came up with this:
HotKeySet("{W down}","wfunc()")
HotKeySet("{S down}","sfunc()")
HotKeySet("{A down}","afunc()")
HotKeySet("{D down}","dfunc()")
HotKeySet("{W up}","wfunc2()")
HotKeySet("{S up}","sfunc2()")
HotKeySet("{A up}","afunc2()")
HotKeySet("{D up}","dfunc2()")
Func wfunc()
$wbegin = TimerInit()
EndFunc
Func wfunc2()
$wdif = TimerDiff($wbegin)
MsgBox(0, "W Key: " + $wdif/1000 + " seconds.", "W")
EndFunc
Func sfunc()
$sbegin = TimerInit()
EndFunc
Func sfunc2()
$sdif = TimerDiff($sbegin)
MsgBox(0, "S Key: " + $sdif/1000 + " seconds.", "S")
EndFunc
Func afunc()
$abegin = TimerInit()
EndFunc
Func afunc2()
$adif = TimerDiff($abegin)
MsgBox(0, "A Key: " + $adif/1000 + " seconds.", "A")
EndFunc
Func dfunc()
$dbegin = TimerInit()
EndFunc
Func dfunc2()
$ddif = TimerDiff($dbegin)
MsgBox(0, "D Key: " + $ddif/1000 + " seconds.", "D")
EndFunc