Using Variables for BHOP Delay in AHK
Code
;GUI font
Gui,Font,Normal s16 c0x0
;Header Text
Gui,Add,Text,x18 y10 w500 h250, BHOP Script by godlvl
;Function Text
Gui,Font,Normal s10 c0x0,
Gui,Add,Text,x30 y50 w250 h250,F11 :: Toggles Auto-Jump.
Gui,Add,Text,x30 y70 w250 h250,Space :: Use Auto-Jump.
Gui,Add,Text,x30 y90 w250 h250,F10 :: Panic Button.
Gui,Add,Text,x30 y110 w250 h250,BHOP Delay:
Gui,Add,Edit,x120 y110 vbhopdelay,Enter BHOP Delay Here
Gui, Add, Button, default, Submit BHOP Delay ;
Gui, Show,, Simple Input Example.
return
;show GUI
Gui,Show,x39 y21 w250 h100,
F11:: Hotkey, *space, Toggle
*~$Space::
sleep "%vbhopdelay%"
loop
{
GetKeyState, SpaceState, Space, P
if SpaceState = U
break
Sleep 1
Send, {Blind}{Space}
}
return
F10::ExitApp
For anyone that has experience with AHK, as far as I am aware, this variable is not working, the bhop script itself works. I need help regarding the sleep "%vbhopdelay%" as (I think) the variable doesn't work.
