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
yeah plz help me what is a loop ???? helpppppppp
Last edited by chichos; 09-06-2008 at 01:03 AM.
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