Advertisement
Guest User

Untitled

a guest
Jun 29th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.02 KB | None | 0 0
  1. //Experience
  2. //this version makes 5 copies of the selected book to save on regs.
  3. //You will need to insert your own rune names to match ToBeCloned Book
  4. //You will also need 150 Black Pearl, Mandrake, and Blood Moss
  5. promptalias 'ToBeCloned'
  6. promptalias 'Blank Runebook'
  7. promptalias 'Blank Runebook2'
  8. promptalias 'Blank Runebook3'
  9. promptalias 'Blank Runebook4'
  10. promptalias 'Blank Runebook5'
  11. clearlist 'Runes'
  12. clearlist 'Names'
  13. if not listexists 'Runes'
  14. createlist 'Runes'
  15. endif
  16. if list 'Runes' == 0
  17. pushlist 'Runes' 5
  18. pushlist 'Runes' 11
  19. pushlist 'Runes' 17
  20. pushlist 'Runes' 23
  21. pushlist 'Runes' 29
  22. pushlist 'Runes' 35
  23. pushlist 'Runes' 41
  24. pushlist 'Runes' 47
  25. pushlist 'Runes' 53
  26. pushlist 'Runes' 59
  27. pushlist 'Runes' 65
  28. pushlist 'Runes' 71
  29. pushlist 'Runes' 77
  30. pushlist 'Runes' 83
  31. pushlist 'Runes' 89
  32. pushlist 'Runes' 95
  33. endif
  34. if not listexists 'Names'
  35. createlist 'Names'
  36. endif
  37. if list 'Names' == 0
  38. pushlist 'Names' 'Hythloth Altar'
  39. pushlist 'Names' "Destard Altar"
  40. pushlist 'Names' 'Cove Altar'
  41. pushlist 'Names' 'Arch Demon'
  42. pushlist 'Names' 'Baracoon East'
  43. pushlist 'Names' "Oaks South"
  44. pushlist 'Names' "Mephitis NthEast"
  45. pushlist 'Names' 'Rikktor East'
  46. pushlist 'Names' "Neira Altar"
  47. pushlist 'Names' 'Shame South'
  48. pushlist 'Names' 'Semidar West'
  49. pushlist 'Names' "Covetous South"
  50. pushlist 'Names' 'Semidar East'
  51. pushlist 'Names' 'Baracoon West'
  52. pushlist 'Names' 'Neira Teleporter'
  53. pushlist 'Names' "Akor Bottom"
  54. endif
  55. clearjournal
  56. if not @findtype 0x1f14 any 'backpack'
  57. sysmsg 'Out of blank runes!' 25
  58. messagebox 'Error' '*No Runes restock & restart*'
  59. stop
  60. endif
  61. clearjournal
  62. for 0 to 'Runes'
  63. if mana <= 60
  64. useskill 'Meditation'
  65. while not mana == maxmana
  66. endwhile
  67. endif
  68. pause 1500
  69. useobject! 'ToBeCloned'
  70. waitforgump 0x554b87f3 15000
  71. pause 900
  72. replygump 0x554b87f3 Runes[0]
  73. pause '3500'
  74. if injournal 'blocked' 'system'
  75. replay
  76. endif
  77. if @findtype 0x1f14 0 'backpack' 1 2
  78. autotargetobject 'found'
  79. cast 'Mark'
  80. pause 3500
  81. useobject! 'found'
  82. waitforprompt 15000
  83. promptmsg Names[0]
  84. pause 2000
  85. moveitem 'found' 'Blank Runebook'
  86. pause 3000
  87. endif
  88. if mana <= 60
  89. useskill 'Meditation'
  90. while not mana == maxmana
  91. endwhile
  92. endif
  93. if @findtype 0x1f14 0 'backpack' 1 2
  94. autotargetobject 'found'
  95. cast 'Mark'
  96. pause 3500
  97. useobject! 'found'
  98. waitforprompt 15000
  99. promptmsg Names[0]
  100. pause 2000
  101. moveitem 'found' 'Blank Runebook2'
  102. pause 3000
  103. endif
  104. if mana <= 60
  105. useskill 'Meditation'
  106. while not mana == maxmana
  107. endwhile
  108. endif
  109. if @findtype 0x1f14 0 'backpack' 1 2
  110. autotargetobject 'found'
  111. cast 'Mark'
  112. pause 3500
  113. useobject! 'found'
  114. waitforprompt 15000
  115. promptmsg Names[0]
  116. pause 2000
  117. moveitem 'found' 'Blank Runebook3'
  118. pause 3000
  119. endif
  120. if mana <= 60
  121. useskill 'Meditation'
  122. while not mana == maxmana
  123. endwhile
  124. endif
  125. if @findtype 0x1f14 0 'backpack' 1 2
  126. autotargetobject 'found'
  127. cast 'Mark'
  128. pause 3500
  129. useobject! 'found'
  130. waitforprompt 15000
  131. promptmsg Names[0]
  132. pause 2000
  133. moveitem 'found' 'Blank Runebook4'
  134. pause 3000
  135. endif
  136. if mana <= 60
  137. useskill 'Meditation'
  138. while not mana == maxmana
  139. endwhile
  140. endif
  141. if @findtype 0x1f14 0 'backpack' 1 2
  142. autotargetobject 'found'
  143. cast 'Mark'
  144. pause 3500
  145. useobject! 'found'
  146. waitforprompt 15000
  147. promptmsg Names[0]
  148. pause 2000
  149. moveitem 'found' 'Blank Runebook5'
  150. if @injournal 'Names[0]' 'system'
  151. @poplist 'Names' 'front'
  152. @poplist 'Runes' 'front'
  153. pause 5000
  154. else
  155. playsound 984
  156. pause 100
  157. playsound 987
  158. pause 100
  159. playsound 988
  160. pause 100
  161. messagebox 'Error' '*No Runes restock & restart*'
  162. stop
  163. endif
  164. endif
  165. if mana <= 60
  166. useskill 'Meditation'
  167. while not mana == maxmana
  168. endwhile
  169. endif
  170. endfor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement