[Request]working pickup bot

11/15/2009 19:58 tuxx95#1
anybody got a working pick up bot nothing works for me :(
11/15/2009 20:09 Dark Raccoon#2
They all work.

Looks like you set them up wrong.
11/15/2009 23:09 tuxx95#3
how do u set them up wrong i tried the multi bot that didn't work and i wrote a few scripts of my own following the same syntax as all the other scripts so.....
11/15/2009 23:44 tuxx95#4
this is one of my scripts for some reason i cant even get it to find the source picture



Code:
#include <ImageSearch.au3>
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
While 1
$x1=0
$y1=0
$result = _ImageSearch("fomor.jpg",1,$x1,$y1,100)
if $result=1 Then
	MouseMove($x1,$y1,0)
	MouseClick("left",$x1,$y1,1,0)
	Sleep(2000)
EndIf
WEnd
Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc

Func Terminate()
    Exit 0
EndFunc