Advertisement
djvj

Untitled

Apr 9th, 2011
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.39 KB | None | 0 0
  1.                                         $ScanMob3= PixelSearch($xBattle_Left3_mob, $yBattle_Left3_mob, $xBattle_Left3_mob + 20, $yBattle_Left3_mob + 20, 0x000000) ; scanning a box to find a not black color
  2.                                         If Not @error Then
  3.                                             MouseMove($ScanMob3[0], $ScanMob3[1]) ; if we find a not black color, move there
  4.                                             MouseDown("left")
  5.                                             MouseUp("left")
  6.                                             Sleep (100)
  7.                                         EndIf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement