Guest User

Untitled

a guest
May 21st, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. set %useHorse #False
  2. set %horseID RFHCB
  3. while #true
  4. {
  5. ; Wait for backpack to open
  6. while #contKind <> OZOC || #contSize <> 230_204 || #contID = #backpackID
  7. {
  8. }
  9. ; Find item you want to steal
  10. findItem HJG_UJG_IJG_RJG_SJG_FJG_YTH_AUH_KSF_URH_NSF C_ , #contID ; Prio 1
  11. if #findKind = -1
  12. findItem YTH_LTF_SRH C_ , #contID ; Prio 2
  13. if #findKind <> -1
  14. ;findItem C_ , #contID ; Prio 3
  15. if #findKind = -1
  16. {
  17. ; Jump off horse
  18. if %useHorse
  19. {
  20. set #lObjectID #charID
  21. event Macro 17 0
  22. wait 7
  23. }
  24. ; Steal
  25. event Macro 13 33
  26. set #lTargetID #findID
  27. target 2s
  28. event Macro 22 0
  29. ; Jump back on horse
  30. if %useHorse
  31. {
  32. for %i 0 20
  33. {
  34. findItem %horseID G_2
  35. if #findKind <> -1
  36. {
  37. set #lObjectID #findID
  38. event Macro 17 0
  39. break
  40. }
  41. wait 4
  42. }
  43. }
  44. wait 10s
  45. }
  46. else
  47. {
  48. ; Open bags in the snooped backpack
  49. findItem ZJF_LKF_CKF C_ , #contID
  50. for #findIndex 1 #findCnt
  51. {
  52. set #lObjectID #findID
  53. event Macro 17 0
  54. }
  55. }
  56. }
Add Comment
Please, Sign In to add comment