Advertisement
tabnation

farmrpg mealworm

Jun 14th, 2022
1,356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. ;tab nation with help from Chris Kimbrell ahk=v1
  2.  
  3. xpos1=
  4. xpos2=
  5. SetMouseDelay,-1
  6. SetBatchLines, -1
  7. CoordMode, Mouse, Screen
  8. CoordMode, Pixel, Screen
  9. Process, Priority,, High
  10.  
  11. InputBox, HowMuchCatch, Catch Amount,How much fish to catch?,
  12. tooltip, Put mouse in top left corner of pond and press F1
  13. Return
  14.  
  15.  
  16. f1::
  17. If xpos1 =
  18. {
  19. MouseGetPos, xpos1, ypos1
  20. tooltip, Put mouse in bottom right corner of pond and press F1
  21. Return
  22. }
  23. If xpos2 =
  24. {
  25. MouseGetPos, xpos2, ypos2
  26. }
  27. tooltip
  28. sleep 5000
  29. loop %HowMuchCatch%
  30. {
  31. PixelSearch, 1Px, 1Py, %xpos1%, %ypos1%, %xpos2%, %ypos2%, 0x50452F, 90, Fast ; Find Fish
  32. 1Py:= 1Py+=30
  33. 1Px:= 1Px-15
  34. MouseClick, left, %1Px%, %1Py% ; Click on Fish
  35. sleep 250
  36. }
  37. tooltip, All done Reloading to start over
  38. sleep 3000
  39. reload
  40. exitapp
  41.  
  42.  
  43. f2::
  44. reload
  45.  
  46.  
  47.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement