Koenrad

Sell Shit

Oct 30th, 2013
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.72 KB | None | 0 0
  1. HotKeySet("{End}", "MyExit")
  2. AutoItSetOption("WinTitleMatchMode", 2)
  3. WinActivate("Last")
  4. $i = 0
  5. sleep(3000)
  6. Dim $count = 1
  7. Do
  8.     $count = $count + 1
  9.     MouseClick("Left", 4590, 907, 1, 0)   ;location of [sell] in item
  10.     Sleep(700)
  11.     MouseClick("Left", 4660, 370, 1, 0)   ;location of sell button on sell screen
  12.     sleep(1400)
  13.     If mod($count,16) == 0 Then              ;This will execute every 15 iterations
  14.        MouseClick("Left", 4121, 566, 1, 0)   ;location of Bank in menu
  15.        sleep(1000)
  16.        MouseClick("Left", 4783, 399, 1, 0)   ;location of deposit button
  17.        sleep(1000)
  18.        MouseClick("Left", 4122, 513, 1, 0)   ;location of Inventory in menu
  19.     EndIf
  20.        
  21. Until $i = 1
  22.        
  23. Func MyExit()
  24.     Exit
  25. EndFunc
  26. Run("SellShit.exe")
Advertisement
Add Comment
Please, Sign In to add comment