I had edited the code,
can you please check my code if it is right?
and if it is wrong tell me what to do
Im trying to contribute in adding more functions to these script..
heres the line of codes :
Quote:
;Toggle to check and not to check so as to reduce in game lag
If ($i = 1) Then
$i = 2
$ToggleTimer = TimerInit()
EndIf
If (WinExists($WinTitle) And TimerDiff($SpamTimer) > $SpamInterval And $SpamEnable = $GUI_CHECKED) Then
$SpamTimer = TimerInit()
ControlSend($WinTitle,'','',$SpamKey)
While 1 = 1 ; the code i added starts here
$i = 0
While $i <= 6
ControlSend($WinTitle,'','','{Right}')
ControlSend($WinTitle,'','','{space}')
$i = $i + 1
WEnd
while $i <= 12
ControlSend($WinTitle,'','','{Left}')
ControlSend($WinTitle,'','','{space}')
$i = $i + 1
WEnd ; the code i added ends here
EndIf
|
Is this correct?
im trying to add a movement in the script
i want to output this movement
attack is in spam mode so i only add the movement
right>loot>right>loot>right>loot until $i <= 6
and
left>loot>left>loot>left>loot until $i <= 12
is this right?
im a newbie in autoit
please tell me if something is wrong..