Advertisement
Guest User

Untitled

a guest
Dec 21st, 2014
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.36 KB | None | 0 0
  1. //Cure Keg//
  2. @removelist 'houserunebook'
  3. @removelist 'craftrunebook'
  4. @removelist 'resourcebox'
  5. @removelist 'storagebox'
  6. @removelist 'emptykegbox'
  7. @removelist 'keg'
  8. @removelist 'dyetub'
  9. if not listexists 'houserunebook'
  10. createlist 'houserunebook'
  11. promptalias 'Target House Runebook'
  12. pushlist 'houserunebook' 'Target House Runebook'
  13. endif
  14. if not listexists 'craftrunebook'
  15. createlist 'craftrunebook'
  16. promptalias 'Target craft location runebook'
  17. pushlist 'craftrunebook' 'Target craft location runebook'
  18. endif
  19. if not listexists 'resourcebox'
  20. createlist 'resourcebox'
  21. promptalias 'Target resourcebox'
  22. pushlist 'resourcebox' 'Target resourcebox'
  23. endif
  24. if not listexists 'storagebox'
  25. createlist 'storagebox'
  26. promptalias 'Target storagebox'
  27. pushlist 'storagebox' 'Target storagebox'
  28. endif
  29. if not listexists 'emptykegbox'
  30. createlist 'emptykegbox'
  31. promptalias 'Target empty keg box'
  32. pushlist 'emptykegbox' 'Target empty keg box'
  33. endif
  34. if not listexists 'keg'
  35. createlist 'keg'
  36. endif
  37. if not listexists 'dyetub'
  38. createlist 'dyetub'
  39. promptalias 'Target Dye Tub'
  40. pushlist 'dyetub' 'Target Dye Tub'
  41. endif
  42. for 0 to 50
  43. //grab resources
  44. useobject resourcebox[0]
  45. pause 1000
  46. useobject emptykegbox[0]
  47. pause 1000
  48. useobject storagebox[0]
  49. pause 1000
  50. @findtype '0x1940' 'any' emptykegbox[0]
  51. moveitem 'found' 'backpack'
  52. pause 1000
  53. ////////////////////////////////////////
  54. @findtype '0x1940' 'any' 'backpack'
  55. pushlist 'keg' 'found'
  56. pause 1000
  57. @findtype '0xf07' 'any' 'backpack'//cure pot
  58. moveitem 'found' keg[0]
  59. poplist 'keg' 'front'
  60. pause 1000
  61. ////////////////////////////////////////
  62. @findtype '0xf84' 'any' resourcebox[0]
  63. moveitem 'found' 'backpack' 0 0 0 1500 2
  64. pause 1000
  65. //grabs 5 of each recall reg
  66. @findtype '0xf7b' 'any' resourcebox[0]
  67. moveitem 'found' 'backpack' 0 0 0 5 2
  68. pause 1000
  69. @findtype '0xf86' 'any' resourcebox[0]
  70. moveitem 'found' 'backpack' 0 0 0 5 2
  71. pause 1000
  72. @findtype '0xf7a' 'any' resourcebox[0]
  73. moveitem 'found' 'backpack' 0 0 0 5 2
  74. pause 1000
  75. //Recalls to location for crafting
  76. cast 'Recall'
  77. target craftrunebook[0]
  78. pause 2000
  79. useskill 'Hiding'
  80. //explo pots
  81. while counter 'curepot' == 0
  82. @usetype 0xe9b 0x0 'backpack'
  83. waitforgump 0x38920abd 15000
  84. replygump 0x38920abd 43
  85. waitforgump 0x38920abd 15000
  86. replygump 0x38920abd 16
  87. waitforgump 0x38920abd 15000
  88. pause 250
  89. endwhile
  90. //recall home
  91. cast 'Recall'
  92. target houserunebook[0]
  93. pause 4000
  94. useobject storagebox[0]
  95. pause 1000
  96. useobject resourcebox[0]
  97. pause 1000
  98. useobject emptykegbox[0]
  99. pause 1000
  100. //find dye tub
  101. @findtype '0xfab' 'any' resourcebox[0]
  102. useobject dyetub[0]
  103. pause 1000
  104. @findtype '0x1940' 'any' 'backpack'
  105. target 'found'
  106. pause 1000
  107. moveitem 'found' storagebox[0]
  108. pause 1000
  109. @findtype '0x1940' 'any' storagebox[0]
  110. target 'found'
  111. //put extra regs back in the resource pack
  112. @findtype '0xf84' 'any' 'backpack'///////////////////reg
  113. moveitem 'found' resourcebox[0]
  114. pause 1000
  115. //drops recall regs into resource pack
  116. @findtype '0xf7b' 'any' 'backpack'
  117. moveitem 'found' resourcebox[0]
  118. pause 1000
  119. @findtype '0xf86' 'any' 'backpack'
  120. moveitem 'found' resourcebox[0]
  121. pause 1000
  122. @findtype '0xf7a' 'any' 'backpack'
  123. moveitem 'found' resourcebox[0]
  124. endfor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement