Hey all! it's me again! the lazy sysadmin, this time at home ;-) anyways, I am really intreeged by AutoIt and I am playing around with it, only have some exprience in Kix32 but I managed to made a bot for Castle Defender Game by reading through the help file, forums and learning from other sourcecodes... ofcourse I want to show it of to friends so I compiled the script to an executable and send it to my friend but unfortantly he get's an error message that the executable is not W32 compatible or something like that :-P here's the code Global $Pause
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Quit")
While 1
$coord = PixelSearch(315, 492, 620, 621, 0x001300)
If IsArray($coord) = 1 Then
MouseMove($coord[0], $coord[1], 0)
MouseClickDrag('left', $coord[0], $coord[1], 370, 240)
sleep(1100)
EndIf
WEnd
Func TogglePause()
$Pause = NOT $Pause
While $Pause
sleep(100)
ToolTip('paused',0,0)
WEnd
ToolTip("")
EndFunc
Func Quit()
Exit 0
EndFunc is there something I need to include so people without autoit can run it?