Advertisement
Maespark

Semi-AFK Fishing On Boat or Docks

Jan 27th, 2018
502
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. //////////////////////////////////////////////////
  2. //Attempts to fish in any nearby water. Face your//
  3. //character towards the water and begin the macro.//
  4. //This must be done on a boat, or britain docks!//
  5. //////////////////////////////////////////////////
  6. //You must set up an organizer for this to work. Be careful not to allow
  7. //it to trash anything important. Organizer doesn't always descriminate
  8. //between awesome boots and trash boots. remove '//'s to enable this feature.
  9. //if counttype 0x170f 0 'backpack' >= 1
  10. // organizer 'Trash'
  11. // while organizing
  12. // endwhile
  13. // waitforcontext 0x40c87654 0 15000
  14. //endif
  15. //Chops up any fishies in your bag using a dagger
  16. while counttype 0x9cc 'any' 'backpack' >= 1
  17. usetype 0xf52 'any'
  18. waitfortarget 500
  19. targettype 0x9cc
  20. pause 500
  21. endwhile
  22. while counttype 0x9cf 'any' 'backpack' >= 1
  23. usetype 0xf52 'any'
  24. waitfortarget 500
  25. targettype 0x9cf
  26. pause 500
  27. endwhile
  28. while counttype 0x9ce 'any' 'backpack' >= 1
  29. usetype 0xf52 'any'
  30. waitfortarget 500
  31. targettype 0x9ce
  32. pause 500
  33. endwhile
  34. while counttype 0x9cd 'any' 'backpack' >= 1
  35. usetype 0xf52 'any'
  36. waitfortarget 500
  37. targettype 0x9cd
  38. pause 500
  39. endwhile
  40. //Begin using fishing pole
  41. usetype 0xdc0 'any'
  42. waitfortarget 500
  43. if direction == 0
  44. targettileoffset 0 -1 -3
  45. elseif direction == 1
  46. targettileoffset 1 -1 -3
  47. elseif direction == 2
  48. targettileoffset 1 0 -3
  49. elseif direction == 3
  50. targettileoffset 1 1 -3
  51. elseif direction == 4
  52. targettileoffset 0 1 -3
  53. elseif direction == 5
  54. targettileoffset -1 1 -3
  55. elseif direction == 6
  56. targettileoffset -1 0 -3
  57. elseif direction == 7
  58. targettileoffset -1 -1 -3
  59. endif
  60. pause 9000
  61. usetype 0xdc0 'any'
  62. waitfortarget 500
  63. if direction == 1
  64. targettileoffset 0 -1 -3
  65. elseif direction == 2
  66. targettileoffset 1 -1 -3
  67. elseif direction == 3
  68. targettileoffset 1 0 -3
  69. elseif direction == 4
  70. targettileoffset 1 1 -3
  71. elseif direction == 5
  72. targettileoffset 0 1 -3
  73. elseif direction == 6
  74. targettileoffset -1 1 -3
  75. elseif direction == 7
  76. targettileoffset -1 0 -3
  77. elseif direction == 0
  78. targettileoffset -1 -1 -3
  79. endif
  80. pause 9000
  81. usetype 0xdc0 'any'
  82. waitfortarget 500
  83. if direction == 7
  84. targettileoffset 0 -1 -3
  85. elseif direction == 0
  86. targettileoffset 1 -1 -3
  87. elseif direction == 1
  88. targettileoffset 1 0 -3
  89. elseif direction == 2
  90. targettileoffset 1 1 -3
  91. elseif direction == 3
  92. targettileoffset 0 1 -3
  93. elseif direction == 4
  94. targettileoffset -1 1 -3
  95. elseif direction == 5
  96. targettileoffset -1 0 -3
  97. elseif direction == 6
  98. targettileoffset -1 -1 -3
  99. endif
  100. pause 9000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement