Guest User

Untitled

a guest
Jul 16th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.33 KB | None | 0 0
  1. Start:
  2. Gosub relax
  3. Gosub Restock
  4. Gosub Feed
  5. Gosub Recallin1 ; elder 1
  6. Gosub Kill
  7. Gosub Recallin2 ; elder 2
  8. Gosub Kill
  9. Gosub Recallout2
  10. Gosub Healpet
  11. Gosub relax2
  12. Gosub Restock
  13. Gosub Recallin3 ; linch 1
  14. Gosub Kill
  15. Gosub Recallin4 ; linch 2
  16. Gosub Kill
  17. Gosub Recallin5 ; linch 3
  18. Gosub Kill
  19. Gosub Recallout
  20. Gosub Restock
  21. Gosub relax3
  22. Gosub Restock
  23. Gosub Feed
  24. Gosub Recallin1 ; elder 1
  25. Gosub Kill
  26. Gosub Recallin2 ; elder 2
  27. Gosub Kill
  28. Gosub Recallout2
  29. Gosub Healpet
  30. Gosub relax2
  31. Gosub Restock
  32. Gosub Recallin3 ; linch 1
  33. Gosub Kill
  34. Gosub Recallin4 ; linch 2
  35. Gosub Kill
  36. Gosub Recallin5 ; linch 3
  37. Gosub Kill
  38. Gosub Recallout2
  39. Gosub Restock
  40.  
  41. Sub Restock
  42. wait 1s
  43. Key F6 ; bank/restock key
  44. wait 15s
  45. return
  46.  
  47. Sub Feed
  48. Key F4 ; dismout and feed nm 2 times macro
  49. wait 15s
  50. return
  51.  
  52. Sub Recallin1
  53. msg $
  54. msg all come $
  55. msg all follow me $
  56. Key F2 ; Recall in1 & dismount
  57. wait 2s
  58. return
  59.  
  60. Sub Recallin2
  61. msg $
  62. msg all come $
  63. msg all follow me $
  64. Key F3 ; Recall in2 & dismount
  65. wait 2s
  66. return
  67.  
  68. Sub Recallin3
  69. msg $
  70. msg all come $
  71. msg all follow me $
  72. Key F8 ; Recall in1 & dismount
  73. wait 2s
  74. return
  75.  
  76. Sub Recallin4
  77. msg $
  78. msg all come $
  79. msg all follow me $
  80. Key F9 ; Recall in1 & dismount
  81. wait 2s
  82. return
  83.  
  84. Sub Recallin5
  85. msg $
  86. msg all come $
  87. msg all follow me $
  88. Key F11 ; Recall in1 & dismount
  89. wait 2s
  90. return
  91.  
  92. Sub Kill
  93. Finditem I_MD_WD G_5
  94. If #FINDKIND = 1
  95. {
  96. set #ltargetid #Findid
  97. msg $
  98. msg all kill $ ; ymf corpse type
  99. msg all kill$
  100. wait 10
  101. event macro 22 0
  102. wait 10
  103. Gosub check
  104. Gosub loot
  105. }
  106. return
  107.  
  108. Sub Check
  109. Set %Test 1
  110. while %Test < 3
  111. {
  112. Finditem I_MD_WD G_6
  113. if #FINDKIND = -1
  114. {
  115. set %Test %Test + 1
  116. }
  117. Finditem HS_IS G_6
  118. if #findrep = 6
  119. {
  120. Key F1
  121. wait 2s
  122. Key F1
  123. wait 2s
  124. Key F1
  125. wait 2s
  126. Goto Start
  127. }
  128. }
  129. return
  130.  
  131. Sub loot
  132. set %eldercorpseid YFM ; YFM
  133. Finditem %eldercorpseid G_5
  134. if #findkind = 1
  135. {
  136. set %findx #findx
  137. set %findy #findy
  138. wait 20
  139. move %findx %findy 0
  140. }
  141. wait 10
  142. set !monsterc #FINDID
  143. set #lobjectid #findid
  144. wait 10
  145. event macro 17 0
  146. wait 20
  147.  
  148. set %eldercorpseid #CONTID
  149. finditem POF_BFF_CFF_IFF C_ , #contid
  150. if #FINDKIND = 0 ;<> -1
  151. {
  152. for %n 1 #FINDCNT
  153. {
  154. set %backpackid #backpackid
  155. set #contid %backpackid
  156. exevent Drag #FINDID #FINDSTACK
  157. wait 2
  158. exevent Dropc %backpackid
  159. wait 40
  160.  
  161. set #SCNT 20
  162. set %Action Idle
  163.  
  164. }
  165. }
  166.  
  167. set %eldercorpseid #CONTID
  168. finditem POF_BFF_CFF_IFF C_ , #contid
  169. if #FINDKIND = 0 ;<> -1
  170. {
  171. for %n 1 #FINDCNT
  172. {
  173. set %backpackid #backpackid
  174. set #contid %backpackid
  175. exevent Drag #FINDID #FINDSTACK
  176. wait 2
  177. exevent Dropc %backpackid
  178. wait 40
  179.  
  180. set #SCNT 20
  181. set %Action Idle
  182.  
  183. }
  184. }
  185. return
  186.  
  187.  
  188. Sub Recallout
  189. msg $
  190. msg all follow me $
  191. Key F1 ; recall out & mount
  192. wait 2s
  193. return
  194.  
  195. Sub Recallout2
  196. msg $
  197. msg all follow me $
  198. msg all follow me $
  199. Key F10 ; recall out & mount
  200. wait 2s
  201. return
  202.  
  203. Sub Healpet
  204. wait 5s
  205. Key F7 ; cast gheal, heal pet
  206. wait 2s
  207. return
  208.  
  209. Sub relax
  210. Key F1
  211. wait 2s
  212. Set %hmm 1
  213. while %hmm < 90
  214. {
  215. Finditem FDS_SXHZ G_4
  216. if #FINDKIND = -1
  217. {
  218. msg $
  219. msg all come $
  220. msg all follow me $
  221. }
  222. set %hmm %hmm + 1
  223. wait 1s
  224. }
  225. Return
  226.  
  227. Sub relax2
  228. Set %hmm 1
  229. while %hmm < 30
  230. {
  231. Finditem FDS_SXHZ G_4
  232. if #FINDKIND = -1
  233. {
  234. msg $
  235. msg all come $
  236. msg all follow me $
  237. }
  238. set %hmm %hmm + 1
  239. wait 1s
  240. }
  241. Return
  242.  
  243. Sub relax3
  244. Key F10
  245. wait 2s
  246. Set %hmm 1
  247. while %hmm < 90
  248. {
  249. Finditem FDS_SXHZ G_4
  250. if #FINDKIND = -1
  251. {
  252. msg $
  253. msg all come $
  254. msg all follow me $
  255. }
  256. set %hmm %hmm + 1
  257. wait 1s
  258. }
  259. Return
Add Comment
Please, Sign In to add comment