Advertisement
Guest User

Untitled

a guest
Jun 4th, 2012
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.36 KB | None | 0 0
  1. HotKeySet("{F12}", "buy")
  2. Func buy()
  3.    MouseClick("left", x, y, 1, 0) ;Click item
  4.    Sleep(100)
  5.    MouseClick("left", x, y, 1, 0) ;Click buyout
  6.    Sleep(100)
  7.    MouseClick("left", x, y, 1, 0) ;Accept buyout popup
  8.    Sleep(1000) ;There is a delay here when buying
  9.    MouseClick("left", x, y, 1, 0) ;Click OK after buyout
  10. EndFunc
  11.  
  12. While 1
  13.    Sleep(1000)
  14. WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement