Guest User

Untitled

a guest
Jun 25th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. initevents
  2.  
  3. mainloop:
  4. gosub cleanupcheck
  5. gosub itemid
  6. gosub alchemy
  7. gosub drag
  8. wait 9s
  9. goto mainloop
  10.  
  11. sub itemid
  12. finditem AVF C_
  13. set %potion #findid
  14. set #lobjectid %potion
  15. set #ltargetid %potion
  16. event macro 13 3
  17. target
  18. event macro 22
  19. wait 1s
  20. return
  21.  
  22. sub alchemy
  23. finditem RQF
  24. set %mortarid #findid
  25. set #lobjectid %mortarid
  26. event macro 17
  27. wait 1s
  28. Click 462 383
  29. wait 3s
  30. return
  31.  
  32. sub drag
  33. event Drag %potion
  34. wait 2s
  35. click 388 355 p
  36. wait 500ms
  37. return
  38.  
  39. sub cleanupcheck
  40.  
  41. finditem AVF C_
  42. if #findcnt > 10
  43. {
  44. gosub itemid
  45. wait 2s
  46. gosub drag
  47. wait 7s
  48. gosub cleanupcheck
  49. goto mainloop
  50. }
  51. else
  52. return
Add Comment
Please, Sign In to add comment