Question About My autoit Script

10/16/2010 00:12 darkholeqc#1
Hi I Use This Script Cuz I Dont Have Tab Cmd On My lastchaos but Now I Nees To Know Where I Can Change Delay On my Click Delay Thx For Reply Sry For My English

;Make sure game stays centered
Dim $Coord, $Click, $Target, $SearchResult
HotKeySet("{PAUSE}","Escape")

$Target = 0xC4C1C4
$Click = "Right"
WinActivate("LastChaos (Window 800x600)")

While 1 = 1
$SearchResult = PixelSearch(252,196,768,487,$Target,25,2) ; 5 = Variation | 1 = Step
If @error Then
Else
MouseClick($Click, $SearchResult[0]+12, $SearchResult[1]+45, 7, 3)
Send("{F1}") ; This is the skill to be used on the enemy.
Sleep(1000)
Send("{F3}") ; This is the gather hotkey.
Sleep(20000)
EndIf
WEnd

Func Rotate()
MouseClickDrag("right", 464, 332, 564, 332)
EndFunc

Func Escape()
AdlibDisable()
Exit 0
EndFunc