kakel_anders

UOS - Inscriptiontrainer

Feb 19th, 2022 (edited)
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.86 KB | None | 0 0
  1. // Inscriptiontrainer //
  2. // Made by kakel_anders#1638 (Player UOG:Demise) //
  3. //
  4. // - Prerequisites - //
  5. //1. Character must have sufficient tinkering to make scribetools and tinkerkits
  6. //2. Have a "resourcebag" with regs for poison, lightning and flamestrike, ingots and scrolls
  7. //3. Have a container (Commoditybox) to put scrolls in.
  8. //4. Have a trashbarrel closeby
  9. //5. Start with atleast 1 tinkerkit in backpack
  10. clearlist 'reagents'
  11. unsetalias 'resourcebag'
  12. unsetalias 'commoditybox'
  13. unsetalias 'scribetrash'
  14. promptalias 'resourcebag'
  15. promptalias 'commoditybox'
  16. promptalias 'scribetrash'
  17. createlist 'reagents'
  18. pushlist 'reagents' 0xf8c // Sulfurous Ash
  19. pushlist 'reagents' 0xf86 // Mandrake Root
  20. pushlist 'reagents' 0xf84 // Garlic
  21. pushlist 'reagents' 0xf8d // Spidersilk
  22. pushlist 'reagents' 0xf88 // Nightshade
  23. pushlist 'reagents' 0xf7b // Bloodmoss
  24. pushlist 'reagents' 0xf85 // Ginseng
  25. pushlist 'reagents' 0xf7a // Blackpearl
  26. pushlist 'reagents' 0xf8a // Pigiron
  27. pushlist 'reagents' 0xf78 // Batwing
  28. pushlist 'reagents' 0xf8e // Nox Crystals
  29. pushlist 'reagents' 0xf8f // Gravedust
  30. pushlist 'reagents' 0xf7d // Daemon Blood
  31. // Skill < 53.5 Poisonscrolls
  32. //
  33. //
  34. while skill 'inscription' < 53.5
  35. // Meditate
  36. if mana < 40
  37. useskill 'meditation'
  38. pause 15000
  39. endif
  40. // Fill up on ingots
  41. while counttype 0x1bf2 'any' 'backpack' < 50
  42. movetype 0x1bf2 'resourcebag' 'backpack' (0 0 0) 0 50
  43. endwhile
  44. // Make new tinkerkits
  45. if counttype 0x1eb8 'any' 'backpack' < 3
  46. for 5
  47. usetype 0x1eb8
  48. pause 1000
  49. replygump 0x38920abd 8
  50. pause 500
  51. replygump 0x38920abd 23
  52. endfor
  53. endif
  54. // Make new scribetools
  55. if counttype 0xfbf 'any' 'backpack' < 3
  56. for 5
  57. usetype 0x1eb8
  58. waitforgump 0x38920abd 15000
  59. replygump 0x38920abd 8
  60. waitforgump 0x38920abd 15000
  61. replygump 0x38920abd 156
  62. waitforgump 0x38920abd 15000
  63. endfor
  64. endif
  65. // Fill up on scrolls
  66. if counttype 0xef3 'any' 'backpack' < 50
  67. movetype 0xef3 'resourcebag' 'backpack' (0 0 0) 'any' 50
  68. endif
  69. // Fill up on Regs
  70. if counttype 0xf88 'any' 'backpack' < 50
  71. movetype 0xf88 'resourcebag' 'backpack' (0 0 0) 'any' 1000
  72. endif
  73. // Make Scroll
  74. usetype 0xfbf
  75. waitforgump 0x38920abd 15000
  76. replygump 0x38920abd 15
  77. waitforgump 0x38920abd 15000
  78. replygump 0x38920abd 23
  79. waitforgump 0x38920abd 15000
  80. // Store scroll
  81. movetype 0x1f40 'backpack' 'commoditybox'
  82. pause 500
  83. endwhile
  84. // Move leftover reagents back to storage
  85. for 0 to reagents
  86. if findtype 'reagents[]' 'backpack'
  87. moveitem 'found' 'resourcebag'
  88. endif
  89. endfor
  90. // Skill < 67.9 Lightningscrolls
  91. //
  92. //
  93. while skill 'inscription' < 67.8
  94. // Meditate
  95. if mana < 40
  96. useskill 'meditation'
  97. pause 15000
  98. endif
  99. // Fill up on ingots
  100. while counttype 0x1bf2 'any' 'backpack' < 50
  101. movetype 0x1bf2 'resourcebag' 'backpack' (0 0 0) 0 50
  102. endwhile
  103. // Make new tinkerkits
  104. if counttype 0x1eb8 'any' 'backpack' < 3
  105. for 5
  106. usetype 0x1eb8
  107. pause 1000
  108. replygump 0x38920abd 8
  109. pause 500
  110. replygump 0x38920abd 23
  111. endfor
  112. endif
  113. // Make new scribetools
  114. if counttype 0xfbf 'any' 'backpack' < 3
  115. for 5
  116. usetype 0x1eb8
  117. waitforgump 0x38920abd 15000
  118. replygump 0x38920abd 8
  119. waitforgump 0x38920abd 15000
  120. replygump 0x38920abd 156
  121. waitforgump 0x38920abd 15000
  122. endfor
  123. endif
  124. // Fill up on scrolls
  125. if counttype 0xef3 'any' 'backpack' < 50
  126. movetype 0xef3 'resourcebag' 'backpack' (0 0 0) 'any' 50
  127. endif
  128. // Fill up on Regs
  129. if counttype 0xf86 'any' 'backpack' < 50
  130. movetype 0xf86 'resourcebag' 'backpack' (0 0 0) 'any' 500
  131. endif
  132. // Fill up on Regs
  133. if counttype 0xf8c 'any' 'backpack' < 50
  134. movetype 0xf8c 'resourcebag' 'backpack' (0 0 0) 'any' 500
  135. endif
  136. // Make Scroll
  137. usetype 0xfbf
  138. waitforgump 0x38920abd 15000
  139. replygump 0x38920abd 22
  140. waitforgump 0x38920abd 15000
  141. replygump 0x38920abd 37
  142. waitforgump 0x38920abd 15000
  143. // Store scroll
  144. movetype 0x1f4a 'backpack' 'commoditybox'
  145. pause 500
  146. endwhile
  147. // Move leftover reagents back to storage
  148. for 0 to reagents
  149. if findtype 'reagents[]' 'backpack'
  150. moveitem 'found' 'resourcebag'
  151. endif
  152. endfor
  153. // Skill < 100 Flamestrike scrolls
  154. //
  155. //
  156. while skill 'inscription' < 100
  157. // Meditate
  158. if mana < 40
  159. useskill 'meditation'
  160. pause 15000
  161. endif
  162. // Fill up on ingots
  163. while counttype 0x1bf2 'any' 'backpack' < 50
  164. movetype 0x1bf2 'resourcebag' 'backpack' (0 0 0) 0 50
  165. endwhile
  166. // Make new tinkerkits
  167. if counttype 0x1eb8 'any' 'backpack' < 3
  168. for 5
  169. usetype 0x1eb8
  170. pause 1000
  171. replygump 0x38920abd 8
  172. pause 500
  173. replygump 0x38920abd 23
  174. endfor
  175. endif
  176. // Make new scribetools
  177. if counttype 0xfbf 'any' 'backpack' < 3
  178. for 5
  179. usetype 0x1eb8
  180. waitforgump 0x38920abd 15000
  181. replygump 0x38920abd 8
  182. waitforgump 0x38920abd 15000
  183. replygump 0x38920abd 156
  184. waitforgump 0x38920abd 15000
  185. endfor
  186. endif
  187. // Fill up on scrolls
  188. if counttype 0xef3 'any' 'backpack' < 50
  189. movetype 0xef3 'resourcebag' 'backpack' (0 0 0) 'any' 50
  190. endif
  191. // Fill up on Regs
  192. if counttype 0xf8d 'any' 'backpack' < 50
  193. movetype 0xf8d 'resourcebag' 'backpack' (0 0 0) 'any' 500
  194. endif
  195. // Fill up on Regs
  196. if counttype 0xf8c 'any' 'backpack' < 50
  197. movetype 0xf8c 'resourcebag' 'backpack' (0 0 0) 'any' 500
  198. endif
  199. // Make Scroll
  200. usetype 0xfbf
  201. waitforgump 0x38920abd 15000
  202. replygump 0x38920abd 43
  203. waitforgump 0x38920abd 15000
  204. replygump 0x38920abd 16
  205. waitforgump 0x38920abd 15000
  206. // Store scroll
  207. movetype 0x1f5f 'backpack' 'commoditybox'
  208. pause 500
  209. endwhile
  210. // Move leftover reagents back to storage
  211. for 0 to reagents
  212. if findtype 'reagents[]' 'backpack'
  213. moveitem 'found' 'resourcebag'
  214. endif
  215. endfor
  216.  
Add Comment
Please, Sign In to add comment