Advertisement
Guest User

orc

a guest
Apr 28th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.87 KB | None | 0 0
  1. if not findalias 'Steed'
  2. headmsg 'Please select your pet'
  3. promptalias 'Steed'
  4. endif
  5. if not listexists 'Runebooks'
  6. createlist 'Runebooks'
  7. endif
  8. if not listexists 'Runes'
  9. createlist 'Runes'
  10. endif
  11. if not timerexists 'visit'
  12. createtimer 'visit'
  13. settimer 'visit' 120000
  14. endif
  15. if not timerexists 'allkill'
  16. createtimer 'allkill'
  17. settimer 'allkill' 5000
  18. endif
  19. // INSERT THE SERIAL NUMBER OF YOUR RUNE BOOK WHERE YOU SEE 'SERIAL NUMBER'
  20. poplist 'Runebooks' 'front'
  21. if list 'Runebooks' == 0
  22. pushlist 'Runebooks' 0x40a30bf0
  23. endif
  24. if not listexists 'Runes'
  25. createlist 'Runes'
  26. endif
  27. if list 'Runes' == 0
  28. pushlist 'Runes' 5
  29. pushlist 'Runes' 11
  30. pushlist 'Runes' 17
  31. pushlist 'Runes' 23
  32. pushlist 'Runes' 29
  33. pushlist 'Runes' 35
  34. pushlist 'Runes' 41
  35. pushlist 'Runes' 47
  36. pushlist 'Runes' 53
  37. pushlist 'Runes' 59
  38. pushlist 'Runes' 65
  39. pushlist 'Runes' 71
  40. pushlist 'Runes' 77
  41. pushlist 'Runes' 83
  42. endif
  43. if list 'Runebooks' == 0
  44. pushlist 'Runebooks' '0x40a30bf0'
  45. endif
  46. if timer 'visit' > 120000
  47. if not @inrange 'Steed' 6
  48. yellmsg 'all come'
  49. yellmsg 'all come'
  50. pause 3000
  51. endif
  52. if @inrange 'Steed' 1
  53. msg 'All follow me'
  54. msg 'All follow me'
  55. msg 'All follow me'
  56. for 0 to 'Runes'
  57. useobject! Runebooks[0]
  58. waitforgump 0x554b87f3 15000
  59. replygump 0x554b87f3 Runes[]
  60. msg 'All follow me'
  61. msg 'All follow me'
  62. msg 'All follow me'
  63. pause 800
  64. msg 'All follow me'
  65. msg 'All follow me'
  66. pause 5000
  67. msg 'All guard'
  68. settimer 'visit' 0
  69. else
  70. msg 'All Come'
  71. pause 1000
  72. endif
  73. endif
  74. // INSERT YOUR TOON'S SERIAL # WHEREVER YOU SEE 'NAME'
  75. if x > 3760 and x < 3762
  76. pause 2000
  77. msg 'bank'
  78. pause 2000
  79. organizer 'restock'
  80. pause 10000
  81. endif
  82. while timer 'visit' < 120000
  83. if timer 'allkill' > 10000
  84. if @findtype '0x83' 'any' 'any' 'any' '8'
  85. getenemy 'closest' 'murderer' 'red' 'criminal' 'grey'
  86. useskill 'peacemaking'
  87. waitfortarget 2000
  88. target! 'enemy'
  89. pause 600
  90. msg 'all kill'
  91. waitfortarget 3000
  92. target! 'found'
  93. pause 100
  94. msg 'all kill'
  95. waitfortarget 3000
  96. target! 'found'
  97. pause 100
  98. msg 'all kill'
  99. waitfortarget 3000
  100. target! 'found'
  101. pause 100
  102. settimer 'allkill' 0
  103. endif
  104. if @findtype '0xa' 'any' 'any' 'any' '10' and timer 'allkill' > 10000
  105. getenemy 'closest' 'murderer' 'red' 'criminal' 'grey'
  106. useskill 'peacemaking'
  107. waitfortarget 2000
  108. target! 'enemy'
  109. pause 600
  110. msg 'all kill'
  111. waitfortarget 3000
  112. target! 'found'
  113. pause 100
  114. msg 'all kill'
  115. waitfortarget 3000
  116. target! 'found'
  117. pause 100
  118. msg 'all kill'
  119. waitfortarget 3000
  120. target! 'found'
  121. pause 100
  122. settimer 'allkill' 0
  123. endif
  124. endif
  125. if hits '0x5b992' < maxhits '0x5b992'
  126. if hits '0x5b992' > 50 '0x5b992'
  127. miniheal
  128. pause 100
  129. else
  130. if hits '0x5b992' < 50 '0x5b992'
  131. if poisoned '0x5b992'
  132. msg '[drink greatercurepotion'
  133. pause 600
  134. endif
  135. msg '[drink greaterhealpotion'
  136. pause 200
  137. miniheal '0xe66cd'
  138. pause 100
  139. endif
  140. endif
  141. endif
  142. // INSERT YOUR STEEDS SERIAL # WHEREVER YOU SEE 'STEED'
  143. if poisoned 'Steed'
  144. cast cure 'Steed'
  145. pause 1000
  146. endif
  147. if hits 'Steed' < 85 'Steed' and @inrange 'Steed' 1
  148. bandage 'Steed'
  149. pause 5100
  150. else
  151. if hits 'Steed' < 85 'Steed' and @inrange 'Steed' 8
  152. bigheal 'Steed'
  153. pause 2000
  154. endif
  155. if hits 'Steed' < 30 'Steed' and @inrange 'Steed' 8
  156. bigheal 'Steed'
  157. pause 2000
  158. msg 'all come'
  159. endif
  160. endif
  161. if not @inrange 'Steed' 1
  162. if @x 'Steed' > x 'self' and @y 'Steed' > y 'self'
  163. walk 'Southeast'
  164. elseif @x 'Steed' < x 'self' and @y 'Steed' > y 'self'
  165. walk 'Southwest'
  166. elseif @x 'Steed' > x 'self' and @y 'Steed' < y 'self'
  167. walk 'Northeast'
  168. elseif @x 'Steed' < x 'self' and @y 'Steed' < y 'self'
  169. walk 'Northwest'
  170. elseif @x 'Steed' > x 'self' and @y 'Steed' == y 'self'
  171. walk 'East'
  172. elseif @x 'Steed' < x 'self' and @y 'Steed' == y 'self'
  173. walk 'West'
  174. elseif @x 'Steed' == x 'self' and @y 'Steed' > y 'self'
  175. walk 'South'
  176. elseif @x 'Steed' == x 'self' and @y 'Steed' < y 'self'
  177. walk 'North'
  178. msg 'all come'
  179. endif
  180. endif
  181. // INSERT YOUR TOON'S SERIAL # WHEREVER YOU SEE 'NAME'
  182. if hits '0x5b992' < 90 '0x5b992'
  183. if hits '0x5b992' > 50 '0x5b992'
  184. miniheal
  185. pause 100
  186. else
  187. if hits '0x5b992' < 50 '0x5b992'
  188. if poisoned '0x5b992'
  189. msg '[drink greatercurepotion'
  190. pause 600
  191. endif
  192. msg '[drink greaterhealpotion'
  193. pause 200
  194. miniheal '0x5b992'
  195. pause 100
  196. endif
  197. endif
  198. endif
  199. if @findtype '0x8a' 'any' 'ground' 'any' '6'
  200. settimer 'visit' 0
  201. elseif @findtype '0x8c' 'any' 'ground' 'any' '6'
  202. settimer 'visit' 0
  203. elseif @findtype '0x8a' 'any' 'ground' 'any' '6'
  204. settimer 'visit' 0
  205. elseif @findtype '0x11' 'any' 'ground' 'any' '6'
  206. settimer 'visit' 0
  207. elseif @findtype '0xbd' 'any' 'ground' 'any' '6'
  208. settimer 'visit' 0
  209. elseif @findtype '0x11' 'any' 'ground' 'any' '6'
  210. settimer 'visit' 0
  211. elseif @findtype '0x83' 'any' 'ground' 'any' '6'
  212. settimer 'visit' 0
  213. elseif @findtype '0xa' 'any' 'ground' 'any' '10'
  214. settimer 'visit' 0
  215. else
  216. settimer 'visit' 120000
  217. endif
  218. endwhile
  219. poplist 'Runes' 'front'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement