Advertisement
Guest User

Untitled

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