Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.68 KB | None | 0 0
  1. //!!!be standing on the runebook stack when you start macro!!!
  2. clearjournal
  3. @setalias 'Book 1' '0x40cec770'
  4. settimer 'notify' 0
  5. while not @injournal 'beam'
  6. if timer 'notify' > 300000
  7. guildmsg 'Gate bot is running'
  8. settimer 'notify' 0
  9. endif
  10. //if hits < 120
  11. //guildmsg 'Gate bot attacked! Logging out!'
  12. //logoutbutton
  13. //endif
  14. endwhile
  15. @unsetalias 'dontmove'
  16. ///
  17. //
  18. //
  19. if @injournal 'beam commands'
  20. guildmsg "Say 'beam' then say a dungeon or a location"
  21. pause 500
  22. guildmsg "Example: beam fire dungeon"
  23. //Deceit
  24. elseif @injournal 'beam Deceit'
  25. useobject 'Book 1'
  26. waitforgump 0x59 15000
  27. replygump 0x59 100
  28. pause 3000
  29. if @injournal 'already a gate'
  30. guildmsg 'Already Gate There'
  31. @setalias 'dontmove' 'self'
  32. elseif @injournal 'Location blocked' or @injournal 'Location is blocked'
  33. @setalias 'dontmove' 'self'
  34. guildmsg 'Blocked'
  35. else
  36. guildmsg 'Sent to Deceit Dungeon'
  37. endif
  38. //Fire
  39. elseif @injournal 'beam Fire'
  40. useobject 'Book 1'
  41. waitforgump 0x59 15000
  42. replygump 0x59 101
  43. pause 3000
  44. if @injournal 'already a gate'
  45. guildmsg 'Already Gate There'
  46. @setalias 'dontmove' 'self'
  47. elseif @injournal 'Location blocked' or @injournal 'Location is blocked'
  48. @setalias 'dontmove' 'self'
  49. guildmsg 'Blocked'
  50. else
  51. guildmsg 'Sent to Fire Dungeon'
  52. endif
  53. //Despise
  54. elseif @injournal 'beam Despise'
  55. useobject 'Book 1'
  56. waitforgump 0x59 15000
  57. replygump 0x59 102
  58. pause 3000
  59. if @injournal 'already a gate'
  60. guildmsg 'Already Gate There'
  61. @setalias 'dontmove' 'self'
  62. elseif @injournal 'Location blocked' or @injournal 'Location is blocked'
  63. @setalias 'dontmove' 'self'
  64. guildmsg 'Blocked'
  65. else
  66. guildmsg 'Sent to Despise Dungeon'
  67. endif
  68. //Vesper Graveyard
  69. elseif @injournal 'beam Vesper Graveyard'
  70. useobject 'Book 1'
  71. waitforgump 0x59 15000
  72. replygump 0x59 103
  73. pause 3000
  74. if @injournal 'already a gate'
  75. guildmsg 'Already Gate There'
  76. @setalias 'dontmove' 'self'
  77. elseif @injournal 'Location blocked' or @injournal 'Location is blocked'
  78. @setalias 'dontmove' 'self'
  79. guildmsg 'Blocked'
  80. else
  81. guildmsg 'Sent to Vesper Graveyard Dungeon'
  82. endif
  83. //Papua
  84. elseif @injournal 'beam Papua'
  85. useobject 'Book 1'
  86. waitforgump 0x59 15000
  87. replygump 0x59 104
  88. pause 3000
  89. if @injournal 'already a gate'
  90. guildmsg 'Already Gate There'
  91. @setalias 'dontmove' 'self'
  92. elseif @injournal 'Location blocked' or @injournal 'Location is blocked'
  93. @setalias 'dontmove' 'self'
  94. guildmsg 'Blocked'
  95. else
  96. guildmsg 'Sent to Papua'
  97. endif
  98. //North Mines
  99. elseif @injournal 'beam North Mines'
  100. useobject 'Book 1'
  101. waitforgump 0x59 15000
  102. replygump 0x59 105
  103. pause 3000
  104. if @injournal 'already a gate'
  105. guildmsg 'Already Gate There'
  106. @setalias 'dontmove' 'self'
  107. elseif @injournal 'Location blocked' or @injournal 'Location is blocked'
  108. @setalias 'dontmove' 'self'
  109. guildmsg 'Blocked'
  110. else
  111. guildmsg 'Sent to North Mines'
  112. endif
  113. //Island Temple
  114. elseif @injournal 'beam Island Temple'
  115. useobject 'Book 1'
  116. waitforgump 0x59 15000
  117. replygump 0x59 106
  118. pause 3000
  119. if @injournal 'already a gate'
  120. guildmsg 'Already Gate There'
  121. @setalias 'dontmove' 'self'
  122. elseif @injournal 'Location blocked' or @injournal 'Location is blocked'
  123. @setalias 'dontmove' 'self'
  124. guildmsg 'Blocked'
  125. else
  126. guildmsg 'Sent to Island Temple'
  127. endif
  128. //Del Pass
  129. elseif @injournal 'beam Del Pass'
  130. useobject 'Book 1'
  131. waitforgump 0x59 15000
  132. replygump 0x59 107
  133. pause 3000
  134. if @injournal 'already a gate'
  135. guildmsg 'Already Gate There'
  136. @setalias 'dontmove' 'self'
  137. elseif @injournal 'Location blocked' or @injournal 'Location is blocked'
  138. @setalias 'dontmove' 'self'
  139. guildmsg 'Blocked'
  140. else
  141. guildmsg 'Sent to Del Pass'
  142. endif
  143. //Marble
  144. elseif @injournal 'beam Marble'
  145. useobject 'Book 1'
  146. waitforgump 0x59 15000
  147. replygump 0x59 108
  148. pause 3000
  149. if @injournal 'already a gate'
  150. guildmsg 'Already Gate There'
  151. @setalias 'dontmove' 'self'
  152. elseif @injournal 'Location blocked' or @injournal 'Location is blocked'
  153. @setalias 'dontmove' 'self'
  154. guildmsg 'Blocked'
  155. else
  156. guildmsg 'Sent to Marble'
  157. endif
  158. //Lighthouse
  159. elseif @injournal 'beam Lighthouse'
  160. useobject 'Book 1'
  161. waitforgump 0x59 15000
  162. replygump 0x59 109
  163. pause 3000
  164. if @injournal 'already a gate'
  165. guildmsg 'Already Gate There'
  166. @setalias 'dontmove' 'self'
  167. elseif @injournal 'Location blocked' or @injournal 'Location is blocked'
  168. @setalias 'dontmove' 'self'
  169. guildmsg 'Blocked'
  170. else
  171. guildmsg 'Sent to Lighthouse'
  172. endif
  173. else
  174. guildmsg 'Invalid command!'
  175. @setalias 'dontmove' 'self'
  176. endif
  177. //Destard
  178. elseif @injournal 'beam Destard'
  179. useobject 'Book 1'
  180. waitforgump 0x59 15000
  181. replygump 0x59 110
  182. pause 3000
  183. if @injournal 'already a gate'
  184. guildmsg 'Already Gate There'
  185. @setalias 'dontmove' 'self'
  186. elseif @injournal 'Location blocked' or @injournal 'Location is blocked'
  187. @setalias 'dontmove' 'self'
  188. guildmsg 'Blocked'
  189. else
  190. guildmsg 'Sent to Destard'
  191. endif
  192. else
  193. guildmsg 'Invalid command!'
  194. @setalias 'dontmove' 'self'
  195. endif
  196. //
  197. //
  198. //
  199. if not @findalias 'dontmove'
  200. if x < 1192 and x > 1190
  201. if y < 2335 and y > 2333
  202. if timer 'west' < 30000
  203. guildmsg 'Command overload, stalling...'
  204. settimer 'north' 0
  205. while 'timer' 'west' < 30000
  206. pause 1500
  207. endwhile
  208. guildmsg 'unstalled'
  209. turn 'north'
  210. walk 'north'
  211. else
  212. settimer 'north' 0
  213. turn 'north'
  214. walk 'north'
  215. endif
  216. else
  217. if timer 'south' < 30000
  218. guildmsg 'Command overload, stalling...'
  219. settimer 'west' 0
  220. while 'timer' 'south' < 30000
  221. pause 1500
  222. endwhile
  223. guildmsg 'unstalled'
  224. turn 'west'
  225. walk 'west'
  226. else
  227. settimer 'west' 0
  228. turn 'west'
  229. walk 'west'
  230. endif
  231. endif
  232. elseif x < 1191 and x > 1189
  233. if y < 2335 and y > 2333
  234. if timer 'north' < 30000
  235. guildmsg 'Command overload, stalling...'
  236. settimer 'east' 0
  237. while 'timer' 'north' < 30000
  238. pause 1500
  239. endwhile
  240. guildmsg 'unstalled'
  241. turn 'east'
  242. walk 'east'
  243. else
  244. settimer 'east' 0
  245. turn 'east'
  246. walk 'east'
  247. endif
  248. else
  249. if timer 'east' < 30000
  250. guildmsg 'Command overload, stalling...'
  251. settimer 'south' 0
  252. while 'timer' 'east' < 30000
  253. pause 1500
  254. endwhile
  255. guildmsg 'unstalled'
  256. turn 'south'
  257. walk 'south'
  258. else
  259. settimer 'south' 0
  260. turn 'south'
  261. walk 'south'
  262. endif
  263. endif
  264. endif
  265. endif
  266. clearjournal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement