Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HotKeySet("{F12}", "buy")
- Func buy()
- MouseClick("left", x, y, 1, 0) ;Click item
- Sleep(100)
- MouseClick("left", x, y, 1, 0) ;Click buyout
- Sleep(100)
- MouseClick("left", x, y, 1, 0) ;Accept buyout popup
- Sleep(1000) ;There is a delay here when buying
- MouseClick("left", x, y, 1, 0) ;Click OK after buyout
- EndFunc
- While 1
- Sleep(1000)
- WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement