Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.29 KB | None | 0 0
  1. setalias 'source_container' 'chestpick'
  2. if not @findobject 'source_container'
  3. promptalias 'source_container'
  4. endif
  5. if not @findobject 'keep_container'
  6. promptalias 'keep_container'
  7. endif
  8. if not @findobject 'reg_container'
  9. promptalias 'reg_container'
  10. endif
  11. if @findtype 0x2006 'any' 'ground' 'any' 2
  12. setalias 'trash_container' 'found'
  13. endif
  14. if not @findobject 'trash_container'
  15. promptalias 'trash_container'
  16. endif
  17. if not listexists 'item_types'
  18. createlist 'item_types'
  19. endif
  20. @useobject 'source_container'
  21. @useobject 'sell_container'
  22. @useobject 'keep_container'
  23. //Shields
  24. clearlist 'item_types'
  25. //Shields
  26. @pushlist 'item_types' 0x1b72
  27. //BronzeShields
  28. @pushlist 'item_types' 0x1b73 //Buckler
  29. @pushlist 'item_types' 0x1b7b //MetalShield
  30. @pushlist 'item_types' 0x1b74 //Metal Kite Shield
  31. @pushlist 'item_types' 0x1b79 //Tear Kite Shield
  32. @pushlist 'item_types' 0x1b7a //WoodenShield
  33. @pushlist 'item_types' 0x1b76 //HeaterShield //Platemail
  34. @pushlist 'item_types' 0x1408 //Close Helmet
  35. @pushlist 'item_types' 0x1410 //Platemail Arms
  36. @pushlist 'item_types' 0x1411 //Platemail Legs
  37. @pushlist 'item_types' 0x1412 //Plate Helm
  38. @pushlist 'item_types' 0x1413 //Plate Gorget
  39. @pushlist 'item_types' 0x1414 //Platemail Gloves
  40. @pushlist 'item_types' 0x1415 //Plate Chest
  41. @pushlist 'item_types' 0x140a //Helmet
  42. @pushlist 'item_types' 0x140c //Bascinet
  43. @pushlist 'item_types' 0x140e //Norse Helm
  44. @pushlist 'item_types' 0x1f0b //Orc Helm
  45. //Chainmail
  46. @pushlist 'item_types' 0x13bb //Chainmail Coif
  47. @pushlist 'item_types' 0x13be //Chainmail Leggins
  48. @pushlist 'item_types' 0x13bf //Chainmail Tunic //Ringmail
  49. @pushlist 'item_types' 0x13ee //Ringmail Sleeves
  50. @pushlist 'item_types' 0x13eb //Ringmail Gloves
  51. @pushlist 'item_types' 0x13ec //Ringmail Tunic
  52. @pushlist 'item_types' 0x13f0 //Ringmail Leggins //Studded
  53. @pushlist 'item_types' 0x13da //Studded Leggings
  54. @pushlist 'item_types' 0x13db //Studded Tunic
  55. @pushlist 'item_types' 0x13d5 //Studded Gloves
  56. @pushlist 'item_types' 0x13d6 //Studded Gorget
  57. @pushlist 'item_types' 0x13dc //Studded Sleeves //Leather
  58. @pushlist 'item_types' 0x13c6 //Leather Gloves
  59. @pushlist 'item_types' 0x13cd //Leather Sleeves
  60. @pushlist 'item_types' 0x13cc //Leather Tunic
  61. @pushlist 'item_types' 0x13cb //Leather Pants
  62. @pushlist 'item_types' 0x13c7 //Leather Gorget
  63. @pushlist 'item_types' 0x1db9 //Leather Cap //Female Armor
  64. @pushlist 'item_types' 0x1c04 //Female Plate
  65. @pushlist 'item_types' 0x1c0c //Female Studded Bustier
  66. @pushlist 'item_types' 0x1c02 //Female Studded Armor
  67. @pushlist 'item_types' 0x1c00 //Female Leather Shorts
  68. @pushlist 'item_types' 0x1c08 //Female Leather Skirt
  69. @pushlist 'item_types' 0x1c06 //Female Leather Armor
  70. @pushlist 'item_types' 0x1c0a //Female Leather Bustier
  71. //Bone Armor
  72. @pushlist 'item_types' 0x1452 //Bone Legs //
  73. @pushlist 'item_types' 0x144e //Bone Legs
  74. @pushlist 'item_types' 0x1451 //Bone Chest
  75. @pushlist 'item_types' 0x144f //Bone Helm
  76. @pushlist 'item_types' 0x1450 //Bone Gloves
  77. @pushlist 'item_types' 0xf62 //Spear
  78. @pushlist 'item_types' 0x1403 //Short Spear
  79. @pushlist 'item_types' 0xe87 //Pitchfork
  80. @pushlist 'item_types' 0x1405 //Warfork
  81. @pushlist 'item_types' 0x1401 //Kryss
  82. @pushlist 'item_types' 0xf52 //Dagger //Macing
  83. @pushlist 'item_types' 0x13b0 //War axe
  84. @pushlist 'item_types' 0xdf0 //Black Staff
  85. @pushlist 'item_types' 0x1439 //War Hammer
  86. @pushlist 'item_types' 0x1407 //War Mace
  87. @pushlist 'item_types' 0xe89 //Quarter Staff
  88. @pushlist 'item_types' 0x143d //Hammer Pick
  89. @pushlist 'item_types' 0x13b4 //Club
  90. @pushlist 'item_types' 0xe81 //Shepherds Crook
  91. @pushlist 'item_types' 0x13f8 //Gnarled Staff
  92. @pushlist 'item_types' 0xf5c //Mace
  93. @pushlist 'item_types' 0x143b //Maul //Swords
  94. @pushlist 'item_types' 0x13b9 //Viking Sword
  95. @pushlist 'item_types' 0xf61 //Longsword
  96. @pushlist 'item_types' 0x1441 //Cutlass
  97. @pushlist 'item_types' 0x13b6 //Scimitar
  98. @pushlist 'item_types' 0xec4 //Skinning Knife
  99. @pushlist 'item_types' 0x13f6 //Butcher Knife
  100. @pushlist 'item_types' 0xf5e //Broadsword
  101. @pushlist 'item_types' 0x13ff //Katana
  102. @pushlist 'item_types' 0xec3 //Cleaver //Axes
  103. @pushlist 'item_types' 0xf43 //Hatchet
  104. @pushlist 'item_types' 0xf45 //Executioner's Axe
  105. @pushlist 'item_types' 0xf4d //Bardiche
  106. @pushlist 'item_types' 0xf4b //Double Axe
  107. @pushlist 'item_types' 0x143e //Halberd
  108. @pushlist 'item_types' 0x13fb //Large Battle Axe
  109. @pushlist 'item_types' 0x1443 //Two Handed Axe
  110. @pushlist 'item_types' 0xf47 //Battle Axe
  111. @pushlist 'item_types' 0xf49 //Axe
  112. @pushlist 'item_types' 0xe85 //Pickaxe
  113. @pushlist 'item_types' 0xe86 //Pickaxe //Bows
  114. @pushlist 'item_types' 0x13fd //HeavyXbow
  115. @pushlist 'item_types' 0xf50 //Xbow
  116. @pushlist 'item_types' 0x13b2 //bow
  117. @pushlist 'item_types' 0x13b4 //club
  118. //---------------------TRASH------------------------
  119. if not listexists 'trash'
  120. createlist 'trash'
  121. endif
  122. clearlist 'trash'
  123. // Cloth hats
  124. @pushlist 'trash' 0x1544
  125. @pushlist 'trash' 0x1540
  126. @pushlist 'trash' 0x1713
  127. @pushlist 'trash' 0x1715
  128. @pushlist 'trash' 0x1714
  129. @pushlist 'trash' 0x1716
  130. @pushlist 'trash' 0x1717
  131. @pushlist 'trash' 0x1718
  132. @pushlist 'trash' 0x1719
  133. @pushlist 'trash' 0x171a
  134. @pushlist 'trash' 0x171b
  135. @pushlist 'trash' 0x171c
  136. @pushlist 'trash' 0x2306
  137. @pushlist 'trash' 0x1f2d // Reactive Armor
  138. @pushlist 'trash' 0x1f2e // Clumsy
  139. @pushlist 'trash' 0x1f2f // Create Food
  140. @pushlist 'trash' 0x1f30 // Feeblemind
  141. @pushlist 'trash' 0x1f31 // Heal
  142. @pushlist 'trash' 0x1f32 // Magic Arrow
  143. @pushlist 'trash' 0x1f33 // Night Sight
  144. @pushlist 'trash' 0x1f34 // Weaken
  145. @pushlist 'trash' 0x1f35 // Agility
  146. @pushlist 'trash' 0x1f36 // Cunning
  147. @pushlist 'trash' 0x1f37 // Cure
  148. @pushlist 'trash' 0x1f38 // Harm
  149. @pushlist 'trash' 0x1f39 // Magic Trap
  150. @pushlist 'trash' 0x1f3a // Magic Untrap
  151. @pushlist 'trash' 0x1f3b // Protection
  152. @pushlist 'trash' 0x1f3c // Strength
  153. @pushlist 'trash' 0x1f3d // Bless
  154. @pushlist 'trash' 0x1f3e // Fireball
  155. @pushlist 'trash' 0x1f3f // Magic Lock
  156. @pushlist 'trash' 0x1f40 // Poison
  157. @pushlist 'trash' 0x1f41 // Telekinesis
  158. @pushlist 'trash' 0x1f42 // Teleport
  159. @pushlist 'trash' 0x1f43 // Unlock
  160. @pushlist 'trash' 0x1f44 // Wall of Stone
  161. @pushlist 'trash' 0x1f45 // Arch Cure
  162. @pushlist 'trash' 0x1f46 // Arch Protection
  163. @pushlist 'trash' 0x1f47 // Curse
  164. @pushlist 'trash' 0x1f48 // Fire Field
  165. @pushlist 'trash' 0x1f49 // Greater Heal
  166. @pushlist 'trash' 0x1f4a // Lightning
  167. @pushlist 'trash' 0x1f4b // Mana Drain //
  168. @pushlist 'trash' 0x1f4c // Recall
  169. @pushlist 'trash' 0x1f4d // Blade Spirit
  170. @pushlist 'trash' 0x1f4e // Dispel Field
  171. @pushlist 'trash' 0x1f4f // Incognito
  172. @pushlist 'trash' 0x1f50 // Magic Reflection
  173. @pushlist 'trash' 0x1f51 // Mind Blast
  174. @pushlist 'trash' 0x1f52 // Paralyze
  175. @pushlist 'trash' 0x1f53 // Poison Field
  176. @pushlist 'trash' 0x1f54 // Summon Creature
  177. @pushlist 'trash' 0x1f55 // Dispel
  178. @pushlist 'trash' 0x1f56 // Energy Bolt
  179. @pushlist 'trash' 0x1f57 // Explosion
  180. @pushlist 'trash' 0x1f58 // Invisibility //
  181. @pushlist 'trash' 0x1f59 // Mark
  182. @pushlist 'trash' 0x1f5a // Mass Curse
  183. @pushlist 'trash' 0x1f5b // Paralyze Field
  184. @pushlist 'trash' 0x1f5c // Reveal
  185. @pushlist 'trash' 0x1f5d // Chain Lightning
  186. @pushlist 'trash' 0x1f5e // Energy Field
  187. @pushlist 'trash' 0x1f5f // Flamestrike //
  188. @pushlist 'trash' 0x1f60 // Gate Travel
  189. @pushlist 'trash' 0x1f61 // Mana Vampire
  190. @pushlist 'trash' 0x1f62 // Mass Dispel
  191. @pushlist 'trash' 0x1f63 // Meteor Swarm
  192. @pushlist 'trash' 0x1f64 // Polymorph
  193. @pushlist 'trash' 0x1f65 // Earthquake
  194. @pushlist 'trash' 0x1f66 // Energy Vortex
  195. @pushlist 'trash' 0x1f67 // Ressurrection
  196. @pushlist 'trash' 0x1f68 // Summon Air Elemental
  197. @pushlist 'trash' 0x1f69 // Summon Daemon
  198. @pushlist 'trash' 0x1f6a // Summon Earth Elemental
  199. @pushlist 'trash' 0x1f6b // Summon Fire Elemental
  200. @pushlist 'trash' 0x1f6c // Summon Water Elemental // ----------------------REGS-----------------------
  201. if not listexists 'regs'
  202. createlist 'regs'
  203. @pushlist! 'regs' 0xf7b
  204. @pushlist! 'regs' 0xf7a
  205. @pushlist! 'regs' 0xf8c
  206. @pushlist! 'regs' 0xf84
  207. @pushlist! 'regs' 0xf86
  208. @pushlist! 'regs' 0xf85
  209. @pushlist! 'regs' 0xf88
  210. @pushlist! 'regs' 0xf8d
  211. @pushlist! 'regs' 0xf21
  212. endif
  213. // ----------------------GEMS-------------------------
  214. if not listexists 'gems'
  215. createlist 'gems'
  216. @pushlist! 'gems' 0xf16
  217. @pushlist! 'gems' 0xf13
  218. @pushlist! 'gems' 0xf26
  219. @pushlist! 'gems' 0xf15
  220. @pushlist! 'gems' 0xf10
  221. @pushlist! 'gems' 0xf2d
  222. @pushlist! 'gems' 0xf19
  223. @pushlist! 'gems' 0xf25
  224. @pushlist! 'gems' 0xf21
  225. endif
  226. //-----------------------KEEP------------------------
  227. if not listexists 'keep_keywords'
  228. createlist 'keep_keywords'
  229. endif
  230. clearlist 'keep_keywords'
  231. pushlist 'keep_keywords' 'Exorcism'
  232. pushlist 'keep_keywords' 'Repond'
  233. pushlist 'keep_keywords' 'Daemon'
  234. pushlist 'keep_keywords' 'Silver'
  235. pushlist 'keep_keywords' 'Fey'
  236. pushlist 'keep_keywords' 'Arachnid'
  237. pushlist 'keep_keywords' 'Reptilian'
  238. pushlist 'keep_keywords' 'Dragon'
  239. pushlist 'keep_keywords' 'Orc Slaying'
  240. pushlist 'keep_keywords' 'Elemental Ban'
  241. //pushlist 'keep_keywords' 'Fortification'
  242. //pushlist 'keep_keywords' 'Invulnerability'
  243. //pushlist 'keep_keywords' 'Power'
  244. pushlist 'keep_keywords' 'Vanquishing'
  245. partymsg 'Starting to Loot Chest!!'
  246. partymsg 'Starting to Loot Chest!!'
  247. partymsg 'Starting to Loot Chest!!'
  248. partymsg 'Starting to Loot Chest!!'
  249. partymsg 'Starting to Loot Chest!!'
  250. partymsg 'Item Loot Section'
  251. partymsg 'Item Loot Section'
  252. partymsg 'Item Loot Section'
  253. for 0 to 'item_types'
  254. while @findtype item_types[] 'any' 'source_container'
  255. @clearjournal
  256. useskill 'Item Identification'
  257. waitfortarget 20000
  258. @target 'found'
  259. pause 900
  260. //@clickobject 'found'
  261. //pause 300
  262. unsetalias 'keep_object'
  263. for 0 to 'keep_keywords'
  264. if @injournal keep_keywords[] 'system'
  265. setalias 'keep_object' 'self'
  266. @moveitem 'found' 'keep_container'
  267. partymsg 'Item to Keep!!'
  268. partymsg 'Item to Keep!!'
  269. partymsg 'Item to Keep!!'
  270. partymsg 'Item to Keep!!'
  271. partymsg 'Item to Keep!!'
  272. msg 'All Guard Me'
  273. warmode 'on'
  274. warmode 'off'
  275. pause 800
  276. break
  277. endif
  278. endfor
  279. if not findalias 'keep_object'
  280. @moveitem 'found' 'trash_container'
  281. msg 'All Guard Me'
  282. warmode 'on'
  283. warmode 'off'
  284. pause 800
  285. endif
  286. endwhile
  287. endfor
  288. partymsg 'Trash Section'
  289. partymsg 'Trash Section'
  290. partymsg 'Trash Section'
  291. for 0 to 'trash'
  292. while @findtype trash[] 'any' 'source_container'
  293. msg 'All Guard Me'
  294. @moveitem 'found' 'trash_container'
  295. pause 800
  296. warmode 'on'
  297. warmode 'off'
  298. endwhile
  299. endfor
  300. partymsg 'Reg Loot Section'
  301. partymsg 'Reg Loot Section'
  302. partymsg 'Reg Loot Section'
  303. for 0 to 'regs'
  304. while @findtype regs[] 'any' 'source_container'
  305. @moveitem 'found' 'reg_container'
  306. msg 'All Guard Me'
  307. pause 800
  308. warmode 'on'
  309. warmode 'off'
  310. endwhile
  311. endfor
  312. partymsg 'Gem Loot Section'
  313. partymsg 'Gem Loot Section'
  314. partymsg 'Gem Loot Section'
  315. for 0 to 'gems'
  316. while @findtype gems[] 'any' 'source_container'
  317. msg 'All Guard Me'
  318. @moveitem 'found' 'reg_container'
  319. pause 800
  320. warmode 'on'
  321. warmode 'off'
  322. endwhile
  323. endfor
  324. msg 'Done!!' 58
  325. msg 'Done!!' 58
  326. msg 'Done!!' 58
  327. msg 'Done!!' 58
  328. partymsg 'Done!!'
  329. partymsg 'Done!!'
  330. partymsg 'Done!!'
  331. partymsg 'Done!!'
  332. partymsg 'Done!!'
  333. partymsg 'Done!!'
  334. partymsg 'Done!!'
  335. partymsg 'Done!!'
  336. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement