hey hi i wanna know what a have to make in a Script for this never end
example my Script start when i press F1 he does all that i want but what i have to make for this never end
thanks for your help
hey hi i wanna know what a have to make in a Script for this never end
example my Script start when i press F1 he does all that i want but what i have to make for this never end
thanks for your help
What do you mean by "Never End"?
when i press the key for start the script this do the same all time so never finish
Lol
You seriously need to be more in-depth with this..
"Never ends"?
-_-
I'm so confused.
I don't get what you are trying to do.
Be more specific then "never end".
ok look my script do this when i pres space bar
$space:: ;
MouseClick, right, , , , , D
sleep 400
MouseClick, right, , , , , U
Sleep 3100 ;
MouseClick, right, , , , , D
sleep 400
MouseClick, right, , , , , U
sleep 3100
MouseClick, right, , , , , D
sleep 400
MouseClick, right, , , , , U
return
but i wanna know if i cna do something that when i pres 1 time space bar he do all time the same
this all time never finish
MouseClick, right, , , , , D
sleep 400
MouseClick, right, , , , , U
Sleep 3100 ;
MouseClick, right, , , , , D
sleep 400
MouseClick, right, , , , , U
sleep 3100
MouseClick, right, , , , , D
sleep 400
MouseClick, right, , , , , U
more info please cuz i cant help without more info
look this is my complet script how i can loop it ????????????
i try to make a script look and i wanna know what i have to do for this script never finish when i press the start key
example when i press the space bar to start the script he do this
MouseClick, right, , , , , D
sleep 400
MouseClick, right, , , , , U
Sleep 5100 ; <----------------------*edit*
MouseClick, right, , , , , D
sleep 400
MouseClick, right, , , , , U
sleep 5100
MouseClick, right, , , , , D
sleep 400
MouseClick, right, , , , , U
sleep 5100 ; <----------------------*edit*
MouseClick, right, , , , , D
sleep 400
MouseClick, right, , , , , U
that i want is that hi do all time this and never stop
look this is my script
GameName = BF2.exe
KeySleep1 = 100
#Persistent
#SingleInstance force
#InstallMouseHook
#InstallKeybdHook
#NoEnv
KeySleep1 = 100
SetTimer, KeepRunning
return
KeepRunning:
WinGet, szProcessName, ProcessName, A
if szProcessName = BF2.exe
{
; If running check to determine whether in chat mode.
If (v_InTextChatOn == False) ; Text chat isn't active so allow hotkeys
{
Suspend, off
}
Else if (v_InTextChatOn == True) ; Text chat is active so disable hotkeys
{
Suspend, on
}
}
Else ; Else window inactive, disable hotkeys
{
Suspend, on
{
}
}
return
$space:: ; <------ Change hotkey for throwing the RDX by changing the key after $ and before ::
MouseClick, right, , , , , D
sleep 400
MouseClick, right, , , , , U
Sleep 5100 ; <----------------------*edit*
MouseClick, right, , , , , D
sleep 400
MouseClick, right, , , , , U
sleep 5100
MouseClick, right, , , , , D
sleep 400
MouseClick, right, , , , , U
sleep 5100 ; <----------------------*edit*
MouseClick, right, , , , , D
sleep 400
MouseClick, right, , , , , U
return
$F9:: ; <------ This key activates or deactivates the script. Can be changed by changing the key after $ and before ::
Suspend, Toggle
If toggle != 1
{
toggle := 1
SoundBeep
SoundBeep
}
else
{
toggle := 0
SoundBeep
}
return
thanks for your help
If you don't want the script to ever end, try adding a loop to the script.
I don't know one by memory, try google.