Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. // Boat must be facing north
  2. // you need a bag with special nets
  3. if not @findobject 'ship hold'
  4. headmsg 'Target ship hold' 7
  5. sysmsg 'Target ship hold' 7
  6. headmsg 'Hold Ctrl+Shift to ensure proper targeting' 33
  7. sysmsg 'Hold Ctrl+Shift to ensure proper targeting' 33
  8. promptalias 'ship hold'
  9. endif
  10. if not @inrange 'ship hold' 2
  11. headmsg 'Stand next to your ship hold!' 33
  12. sysmsg 'Stand next to your ship hold!' 33
  13. else
  14. useobject 'ship hold'
  15. endif
  16. if not @findobject 'mib bag'
  17. headmsg 'Target your MIB bag' 7
  18. sysmsg 'Target your MIB bag' 7
  19. promptalias 'mib bag'
  20. endif
  21. @removelist 'FishermanFoeCorpse'
  22. // Create Bandage Timer //
  23. if not timerexists 'Bandage timer'
  24. createtimer 'Bandage timer'
  25. settimer 'Bandage timer' 6300
  26. endif
  27. // define corpse graphics for looting
  28. if not listexists 'FishermanFoeCorpse'
  29. createlist 'FishermanFoeCorpse'
  30. pushlist 'FishermanFoeCorpse' 0x2006
  31. pushlist 'FishermanFoeCorpse' 0x2006
  32. pushlist 'FishermanFoeCorpse' 0x2006
  33. endif
  34. // prompt for fish net bag
  35. if not @findobject 'special net bag'
  36. headmsg 'Target your special net bag' 7
  37. sysmsg 'Target your special net bag' 7
  38. promptalias 'special net bag'
  39. endif
  40. while hits < maxhits
  41. endwhile
  42. while mana < maxmana
  43. endwhile
  44. // throw net in the water
  45. useobject 'special net bag'
  46. if @findtype 0xdca
  47. useobject 'found'
  48. waitfortarget 5000
  49. targettileoffset! 4 4 -3
  50. else
  51. headmsg 'Out of nets' 33
  52. sysmsg 'Out of nets' 33
  53. stop
  54. endif
  55. // wait until an enemy shows up
  56. while not @inrange 'enemy' 10
  57. getenemy 'criminal' 'enemy' 'grey' 'murderer' 'closest'
  58. pause 200
  59. endwhile
  60. pause 1000
  61. // kill all the enemies with spell of choice
  62. while @inrange 'enemy' 20
  63. while @inrange 'enemy' 10
  64. // bandage macro, set time based on [mystats
  65. if timer 'bandage timer' > 6500 and hits < maxhits
  66. msg '[bandself'
  67. settimer 'bandage timer' 0
  68. endif
  69. cast 'lightning'
  70. waitfortarget 10000
  71. target! 'enemy'
  72. pause 200
  73. endwhile
  74. getenemy 'criminal' 'enemy' 'grey' 'murderer' 'closest'
  75. endwhile
  76. // move to corpses 1 at a time for
  77. // auto loot to take care of
  78. for 0 to 'FishermanFoeCorpse'
  79. while @findtype FishermanFoeCorpse[] 'any' 'ground' 'any' '20'
  80. if not @inrange 'found' 1
  81. while @y 'found' < y 'self'
  82. msg 'Forward One'
  83. pause 1000
  84. endwhile
  85. while @y 'found' > y 'self'
  86. msg 'Back One'
  87. pause 1000
  88. endwhile
  89. while @x 'found' > x 'self'
  90. msg 'Right One'
  91. pause 1000
  92. endwhile
  93. while @x 'found' < x 'self'
  94. msg 'Left One'
  95. pause 1000
  96. endwhile
  97. else
  98. useobject 'found'
  99. pause 3000
  100. ignoreobject 'found'
  101. endif
  102. endwhile
  103. endfor
  104. msg '[grab'
  105. while @findtype 0x99f 'any' 'backpack' 'any' 2
  106. moveitem 'found' 'mib bag'
  107. pause 500
  108. endwhile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement