Advertisement
Guest User

Untitled

a guest
Jun 24th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. if not @listexists 'xaxis'
  2. @createlist 'xaxis'
  3. @pushlist 'xaxis' 3
  4. @pushlist 'xaxis' -3
  5. endif
  6. if not @listexists 'yaxis'
  7. @createlist 'yaxis'
  8. @pushlist 'yaxis' 3
  9. @pushlist 'yaxis' -3
  10. endif
  11. if not listexists 'fish'
  12. createlist 'fish'
  13. @pushlist 'fish' '0x9ce'
  14. @pushlist 'fish'' 0x9cf'
  15. @pushlist 'fish' '0x9cc'
  16. @pushlist 'fish' '0x9cd'
  17. endif
  18. while dead
  19. playsound 'error.wav'
  20. pause 8000
  21. endwhile
  22. if not @findobject 'bow'
  23. promptalias 'bow'
  24. endif
  25. if not @findobject 'lefthand'
  26. equipitem 'bow' 2
  27. endif
  28. if not @findobject 'pole' and @findtype 0xdbf 0x0 'self'
  29. setalias 'pole' 'found'
  30. endif
  31. for 0 to 'xaxis'
  32. for 0 to 'yaxis'
  33. while not @injournal 'biting' 'system'
  34. while dead
  35. playsound 'error.wav'
  36. pause 8000
  37. endwhile
  38. @canceltarget
  39. @useobject 'pole'
  40. waitfortarget 2000
  41. targettileoffset! 'xaxis[]' 'yaxis[]' 0
  42. pause 500
  43. if not @injournal 'biting' 'system'
  44. pause 7750
  45. endif
  46. if @injournal 'pull a bottle' 'system'
  47. clearjournal
  48. playmacro 'Fishing Bottle'
  49. endif
  50. if @injournal 'mess' 'system'
  51. clearjournal
  52. @usetype! 0xdd6
  53. pause 1000
  54. @usetype! 0xdd6
  55. pause 1000
  56. endif
  57. if @injournal 'closer' 'system'
  58. clearjournal
  59. resync
  60. endif
  61. //fishing cleanup
  62. if weight >= maxweight
  63. for 0 to 'fish'
  64. while @findtype fish[] 'any' 'backpack'
  65. usetype! 0xf52
  66. waitfortarget 1000
  67. target! 'found'
  68. pause 600
  69. endwhile
  70. endfor
  71. // adds to fishsteak pile on floor
  72. if @findtype 0x97a 'any' 'ground' 'any' 2
  73. movetype 0x97a 'backpack' 'found'
  74. pause 600
  75. else
  76. //starts fishsteak pile on floor if doesnt exist
  77. movetypeoffset 0x97a 'backpack' 'ground'
  78. pause 600
  79. endif
  80. endif
  81. //end fishing cleanup
  82. while diffhits > 30 and not dead
  83. autotargetself
  84. bigheal
  85. pause 1500
  86. if not @findobject 'lefthand'
  87. equipitem 'bow' 2
  88. endif
  89. endwhile
  90. getenemy 'gray' 'criminal' 'closest'
  91. if @inrange 'enemy' 10
  92. @autotargetenemy
  93. attack 'enemy'
  94. endif
  95. endwhile
  96. clearjournal
  97. endfor
  98. clearjournal
  99. endfor
  100. msg 'forward'
  101. pause 4000
  102. msg 'stop'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement