Advertisement
Guest User

Untitled

a guest
Dec 12th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.39 KB | None | 0 0
  1. //clearignorelist
  2. removelist 'trash'
  3. removelist 'armor'
  4. @unsetalias 'vanqbag'
  5. @unsetalias 'vanqbestbag'
  6. @unsetalias 'powerbag'
  7. @unsetalias 'powerbestbag'
  8. @unsetalias 'gembag'
  9. @unsetalias 'scrollbag'
  10. @unsetalias 'trashcan'
  11. @unsetalias 'regbag'
  12. @unsetalias 'goldbag'
  13. @unsetalias 'lootbag'
  14. @unsetalias 'box'
  15. @unsetalias 'weapontrash'
  16. @unsetalias 'weaponkeep'
  17. @unsetalias 'resourcebag'
  18. @unsetalias 'armortrash'
  19. @unsetalias 'armorkeep'
  20. @unsetalias 'boxbag'
  21. @unsetalias 'netbag'
  22. @unsetalias 'netbag2'
  23. removelist 'trash'
  24. if not @listexists 'boxes'
  25. createlist 'boxes'
  26. @pushlist 'boxes' 0xe41
  27. @pushlist 'boxes' 0xe40
  28. @pushlist 'boxes' 0xe7c
  29. @pushlist 'boxes' 0x9ab
  30. @pushlist 'boxes' 0xe43
  31. @pushlist 'boxes' 0xe42
  32. endif
  33. @clearjournal
  34. if not @findobject 'box' 'any'
  35. headmsg 'no box'
  36. for 0 to boxes
  37. if @findtype 'boxes[]' 'any' 'ground' 1 2
  38. headmsg 'found box' 69
  39. @setalias 'box' found
  40. @useobject 'box'
  41. pause 700
  42. endif
  43. endfor
  44. endif
  45. if not listexists 'loot'
  46. createlist 'loot'
  47. @pushlist 'loot' 0x2260 //Skill scrolls
  48. endif
  49. if not listexists 'gems'
  50. createlist 'gems'
  51. @pushlist 'gems' 0xf16 // Amethyst
  52. @pushlist 'gems' 0xf15 // Citrine
  53. @pushlist 'gems' 0xf19 // Sapphire
  54. @pushlist 'gems' 0xf25 // Amber
  55. @pushlist 'gems' 0xf21 // Star Sapphire
  56. @pushlist 'gems' 0xf10 // Emerald
  57. @pushlist 'gems' 0xf26 // Diamond
  58. @pushlist 'gems' 0xf2d // Tourmaline
  59. @pushlist 'gems' 0xf13 // Ruby
  60. endif
  61. if not listexists 'regs'
  62. createlist 'regs'
  63. @pushlist 'regs' 0xf7a // Black Pearl
  64. @pushlist 'regs' 0xf7b // Blood Moss
  65. @pushlist 'regs' 0xf86 // Mandrake Root
  66. @pushlist 'regs' 0xf84 // Garlic
  67. @pushlist 'regs' 0xf85 // Ginseng
  68. @pushlist 'regs' 0xf88 // Nightshade
  69. @pushlist 'regs' 0xf8d // Spider's Silk
  70. @pushlist 'regs' 0xf8c // Sulphurous Ash
  71. endif
  72. if not listexists 'scrolls'
  73. createlist 'scrolls'
  74. @pushlist 'scrolls' 0x1f2d // Reactive Armor
  75. @pushlist 'scrolls' 0x1f56 // Energy Bolt
  76. @pushlist 'scrolls' 0x1f57 // Explosion
  77. @pushlist 'scrolls' 0x1f5d // Chain Lightning
  78. @pushlist 'scrolls' 0x1f5e // Energy Field
  79. @pushlist 'scrolls' 0x1f5f // Flamestrike
  80. @pushlist 'scrolls' 0x1f60 // Gate Travel
  81. @pushlist 'scrolls' 0x1f61 // Mana Vampire
  82. @pushlist 'scrolls' 0x1f62 // Mass Dispel
  83. @pushlist 'scrolls' 0x1f65 // Earthquake
  84. @pushlist 'scrolls' 0x1f66 // Energy Vortex
  85. @pushlist 'scrolls' 0x1f67 // Ressurrection
  86. @pushlist 'scrolls' 0x1f69 // Summon Daemon
  87. @pushlist 'scrolls' 0x1f4c //Recall
  88. endif
  89. if not listexists 'trash'
  90. createlist 'trash'
  91. @pushlist 'trash' 0x171c
  92. @pushlist 'trash' 0x1717
  93. @pushlist 'trash' 0x1718
  94. @pushlist 'trash' 0x1544
  95. @pushlist 'trash' 0x1540
  96. @pushlist 'trash' 0x1713
  97. @pushlist 'trash' 0x1715
  98. @pushlist 'trash' 0x1714
  99. @pushlist 'trash' 0x1716
  100. @pushlist 'trash' 0x1717
  101. @pushlist 'trash' 0x1718
  102. @pushlist 'trash' 0x1719
  103. @pushlist 'trash' 0x171a
  104. @pushlist 'trash' 0x171b
  105. @pushlist 'trash' 0x171c
  106. @pushlist 'trash' 0x2306
  107. @pushlist 'trash' 0x1f6a // Summon Earth Elemental
  108. @pushlist 'trash' 0x1f6b // Summon Fire Elemental
  109. @pushlist 'trash' 0x1f6c // Summon Water Elemental
  110. @pushlist 'trash' 0x1f68 // Summon Air Elemental
  111. @pushlist 'trash' 0x1f63 // Meteor Swarm
  112. @pushlist 'trash' 0x1f64 // Polymorph
  113. @pushlist 'trash' 0x1f58 // Invisibility
  114. @pushlist 'trash' 0x1f59 // Mark
  115. @pushlist 'trash' 0x1f5a // Mass Curse
  116. @pushlist 'trash' 0x1f5b // Paralyze Field
  117. @pushlist 'trash' 0x1f5c // Reveal
  118. @pushlist 'trash' 0x1f2e // Clumsy
  119. @pushlist 'trash' 0x1f2f // Create Food
  120. @pushlist 'trash' 0x1f30 // Feeblemind
  121. @pushlist 'trash' 0x1f31 // Heal
  122. @pushlist 'trash' 0x1f32 // Magic Arrow
  123. @pushlist 'trash' 0x1f33 // Night Sight
  124. @pushlist 'trash' 0x1f34 // Weaken
  125. @pushlist 'trash' 0x1f35 // Agility
  126. @pushlist 'trash' 0x1f36 // Cunning
  127. @pushlist 'trash' 0x1f37 // Cure
  128. @pushlist 'trash' 0x1f38 // Harm
  129. @pushlist 'trash' 0x1f39 // Magic Trap
  130. @pushlist 'trash' 0x1f3a // Magic Untrap
  131. @pushlist 'trash' 0x1f3b // Protection
  132. @pushlist 'trash' 0x1f3c // Strength
  133. @pushlist 'trash' 0x1f3d // Bless
  134. @pushlist 'trash' 0x1f3e // Fireball
  135. @pushlist 'trash' 0x1f3f // Magic Lock
  136. @pushlist 'trash' 0x1f40 // Poison
  137. @pushlist 'trash' 0x1f41 // Telekinesis
  138. @pushlist 'trash' 0x1f42 // Teleport
  139. @pushlist 'trash' 0x1f43 // Unlock
  140. @pushlist 'trash' 0x1f44 // Wall of Stone
  141. @pushlist 'trash' 0x1f45 // Arch Cure
  142. @pushlist 'trash' 0x1f46 // Arch Protection
  143. @pushlist 'trash' 0x1f47 // Curse
  144. @pushlist 'trash' 0x1f48 // Fire Field
  145. @pushlist 'trash' 0x1f49 // Greater Heal
  146. @pushlist 'trash' 0x1f4a // Lightning
  147. @pushlist 'trash' 0x1f4b // Mana Drain
  148. @pushlist 'trash' 0x1f4d // Blade Spirit
  149. @pushlist 'trash' 0x1f4e // Dispel Field
  150. @pushlist 'trash' 0x1f4f // Incognito
  151. @pushlist 'trash' 0x1f50 // Magic Reflection
  152. @pushlist 'trash' 0x1f51 // Mind Blast
  153. @pushlist 'trash' 0x1f52 // Paralyze
  154. @pushlist 'trash' 0x1f53 // Poison Field
  155. @pushlist 'trash' 0x1f54 // Summon Creature
  156. @pushlist 'trash' 0x1f55 // Dispel
  157. @pushlist 'trash' 0xdf3 // wand
  158. @pushlist 'trash' 0xdf2 // wand
  159. @pushlist 'trash' 0xdf5 // wand
  160. @pushlist 'trash' 0xdf4 // wand
  161. endif
  162. useobject 'box'
  163. pause 900
  164. //
  165. //loot
  166. //
  167. if @findobject 'box'
  168. if not @findobject 'lootbag'
  169. if @findtype 0xe76 '113' 'ground' 1 4
  170. headmsg 'found loot bag' 69
  171. @setalias 'lootbag' found
  172. endif
  173. endif
  174. for 0 to loot
  175. while @findtype 'loot[]' 'any' 'box'
  176. moveitem found 'lootbag'
  177. pause 700
  178. endwhile
  179. endfor
  180. //
  181. //gems
  182. //
  183. if not @findobject 'gembag'
  184. if @findtype 0xe76 '2' 'ground' 1 4
  185. @setalias 'gembag' found
  186. endif
  187. endif
  188. for 0 to gems
  189. while @findtype 'gems[]' 'any' 'box'
  190. moveitem found 'gembag'
  191. pause 700
  192. endwhile
  193. endfor
  194. //
  195. //maps
  196. //
  197. if not @findobject 'mapbag'
  198. if @findtype 0xe76 '493' 'ground' 1 4
  199. @setalias 'mapbag' found
  200. endif
  201. endif
  202. while @findtype 0x14ec '0' 'box'
  203. if @movetype 0x14ec 'box' 'mapbag'
  204. pause 700
  205. endif
  206. endwhile
  207. //
  208. //scrolls
  209. //
  210. if not @findobject 'scrollbag'
  211. if @findtype 0xe76 '1001' 'ground' 1 4
  212. @setalias 'scrollbag' found
  213. endif
  214. endif
  215. for 0 to scrolls
  216. while @findtype 'scrolls[]' 'any' 'box'
  217. moveitem found 'scrollbag'
  218. pause 700
  219. endwhile
  220. endfor
  221. //
  222. //regs
  223. //
  224. if not @findobject 'regbag'
  225. if @findtype 0xe76 '183' 'ground' 1 4
  226. @setalias 'regbag' found
  227. endif
  228. endif
  229. for 0 to regs
  230. while @findtype 'regs[]' 'any' 'box'
  231. moveitem found 'regbag'
  232. pause 700
  233. endwhile
  234. endfor
  235. //
  236. //white nets
  237. //
  238. if not @findobject 'netbag'
  239. if @findtype 0xe76 '936' 'ground' 1 4
  240. @setalias 'netbag' found
  241. endif
  242. endif
  243. while @findtype 0xdca '1153' 'box'
  244. if contents 'netbag' == 100
  245. ignoreobject 'netbag'
  246. pause 300
  247. if @findtype 0xe76 '936' 'ground' 1 4
  248. @setalias 'netbag' found
  249. pause 300
  250. endif
  251. endif
  252. if @moveitem found 'netbag'
  253. pause 700
  254. endif
  255. endwhile
  256. //
  257. //normal nets
  258. //
  259. if not @findobject 'netbag2'
  260. if @findtype 0xe76 '268' 'ground' 1 4
  261. @setalias 'netbag2' found
  262. endif
  263. endif
  264. while @findtype 0xdca '2208' 'box'
  265. if contents 'netbag2' == 100
  266. ignoreobject 'netbag2'
  267. pause 300
  268. if @findtype 0xe76 '936' 'ground' 1 4
  269. @setalias 'netbag2' found
  270. pause 300
  271. endif
  272. endif
  273. if @moveitem found 'netbag2'
  274. pause 700
  275. endif
  276. endwhile
  277. //
  278. //gold
  279. //
  280. if not @findobject 'goldbag'
  281. if @findtype 0xe76 '48' 'ground' 1 4
  282. @setalias 'goldbag' found
  283. endif
  284. endif
  285. while @findtype 0xeed '0' 'box'
  286. if @movetype 0xeed 'box' 'goldbag'
  287. pause 700
  288. endif
  289. endwhile
  290. //
  291. //trash
  292. //
  293. if not @findobject 'trashcan'
  294. headmsg 'find trash can' 69
  295. if @findtype 0xe77 '946' 'ground' 1 4
  296. @setalias 'trashcan' found
  297. @useobject 'trashcan'
  298. pause 700
  299. endif
  300. endif
  301. for 0 to trash
  302. while @findtype 'trash[]' 'any' 'box'
  303. moveitem found 'trashcan'
  304. pause 700
  305. endwhile
  306. endfor
  307. //
  308. //ID & Sort Weapons
  309. //
  310. if not @listexists 'weapons'
  311. createlist 'weapons'
  312. @pushlist 'weapons' 0xf62 //Spear
  313. @pushlist 'weapons' 0x1403 //Short Spear
  314. @pushlist 'weapons' 0xe87 //Pitchfork
  315. @pushlist 'weapons' 0x1405 //Warfork
  316. @pushlist 'weapons' 0x1401 //Kryss
  317. @pushlist 'weapons' 0xf52 //Dagger
  318. @pushlist 'weapons' 0x13b0 //War axe
  319. @pushlist 'weapons' 0xdf0 //Black Staff
  320. @pushlist 'weapons' 0x1439 //War Hammer
  321. @pushlist 'weapons' 0x1407 //War Mace
  322. @pushlist 'weapons' 0xe89 //Quarter Staff
  323. @pushlist 'weapons' 0x143d //Hammer Pick
  324. @pushlist 'weapons' 0x13b4 //Club
  325. @pushlist 'weapons' 0xe81 //Shepherds Crook
  326. @pushlist 'weapons' 0x13f8 //Gnarled Staff
  327. @pushlist 'weapons' 0xf5c //Mace
  328. @pushlist 'weapons' 0x143b //Maul
  329. @pushlist 'weapons' 0x13b9 //Viking Sword
  330. @pushlist 'weapons' 0xf61 //Longsword
  331. @pushlist 'weapons' 0x1441 //Cutlass
  332. @pushlist 'weapons' 0x13b6 //Scimitar
  333. @pushlist 'weapons' 0xec4 //Skinning Knife
  334. @pushlist 'weapons' 0x13f6 //Butcher Knife
  335. @pushlist 'weapons' 0xf5e //Broadsword
  336. @pushlist 'weapons' 0x13ff //Katana
  337. @pushlist 'weapons' 0xec3 //Cleaver
  338. @pushlist 'weapons' 0xf43 //Hatchet
  339. @pushlist 'weapons' 0xf45 //Executioner's Axe
  340. @pushlist 'weapons' 0xf4d //Bardiche
  341. @pushlist 'weapons' 0xf4b //Double Axe
  342. @pushlist 'weapons' 0x143e //Halberd
  343. @pushlist 'weapons' 0x13fb //Large Battle Axe
  344. @pushlist 'weapons' 0x1443 //Two Handed Axe
  345. @pushlist 'weapons' 0xf47 //Battle Axe
  346. @pushlist 'weapons' 0xf49 //Axe
  347. @pushlist 'weapons' 0xe85 //Pickaxe
  348. @pushlist 'weapons' 0xe86 //Pickaxe
  349. @pushlist 'weapons' 0x13fd //HeavyXbow
  350. @pushlist 'weapons' 0xf50 //Xbow
  351. @pushlist 'weapons' 0x13b2 //bow
  352. endif
  353. @clearjournal
  354. for 0 to 'weapons'
  355. headmsg 'found weapons'
  356. while @findtype 'weapons[]' 'any' 'box'
  357. @setalias 'weapon' found
  358. @clearjournal
  359. if not @findobject 'vanqbestbag'
  360. if @findtype 0xe76 '53' ground 1 3
  361. headmsg 'found vanq best bag' 69
  362. @setalias 'vanqbestbag' found
  363. pause 300
  364. endif
  365. endif
  366. if not @findobject 'vanqbag'
  367. if @findtype 0xe76 '88' ground 1 3
  368. headmsg 'found vanq bag' 69
  369. @setalias 'vanqbag' found
  370. pause 300
  371. endif
  372. endif
  373. if not @findobject 'powerbestbag'
  374. if @findtype 0xe76 '18' ground 1 3
  375. headmsg 'found power best bag' 69
  376. @setalias 'powerbestbag' found
  377. pause 300
  378. endif
  379. endif
  380. if not @findobject 'powerbag'
  381. if @findtype 0xe76 '38' ground 1 3
  382. headmsg 'found power bag' 69
  383. @setalias 'powerbag' found
  384. pause 300
  385. endif
  386. endif
  387. if not @findobject 'weapontrash'
  388. if @findtype 0xe76 '433' ground 1 3
  389. headmsg 'found weapon trash' 69
  390. @setalias 'weapontrash' found
  391. @useobject 'weapontrash'
  392. pause 300
  393. endif
  394. endif
  395. if contents 'vanqbestbag' == 123
  396. headmsg 'vanq best bag full' 69
  397. ignoreobject 'vanqbestbag'
  398. unsetalias 'vanqbestbag'
  399. pause 700
  400. endif
  401. if contents 'vanqbag' == 123
  402. headmsg 'vanq bag full' 69
  403. ignoreobject 'vanqbag'
  404. unsetalias 'vanqbag'
  405. pause 700
  406. endif
  407. if contents 'powerbag' == 123
  408. headmsg 'power bag full' 69
  409. ignoreobject 'powerbag'
  410. unsetalias 'powerbag'
  411. pause 700
  412. endif
  413. if contents 'powerbestbag' == 123
  414. headmsg 'weapon keep bag full' 69
  415. ignoreobject 'powerbestbag'
  416. unsetalias 'powerbestbag'
  417. pause 700
  418. endif
  419. if contents 'weapontrash' == 123
  420. headmsg 'weapon trash bag full' 69
  421. ignoreobject 'weapontrash'
  422. unsetalias 'weapontrash'
  423. pause 700
  424. endif
  425. moveitem 'weapon' 'weapontrash'
  426. pause 1500
  427. useskill 'Item Identification'
  428. waitfortarget 15000
  429. target! 'weapon'
  430. pause 1500
  431. if @injournal 'Vanquishing' 'system'
  432. headmsg 'Vanquishing' '2213'
  433. if @injournal 'Exceedingly' 'system'
  434. moveitem 'weapon' 'vanqbestbag'
  435. headmsg '+20' '2213'
  436. @clearjournal
  437. elseif @injournal 'Supremely' 'system'
  438. moveitem 'weapon' 'vanqbestbag'
  439. headmsg '+25' '2213'
  440. @clearjournal
  441. elseif @injournal 'Silver' 'system'
  442. moveitem 'weapon' 'vanqbestbag'
  443. headmsg 'Silver' '2213'
  444. @clearjournal
  445. elseif @injournal 'Exorcism' 'system'
  446. moveitem 'weapon' 'vanqbestbag'
  447. headmsg 'Exorcisim' '2213'
  448. @clearjournal
  449. elseif @injournal 'Air' 'system'
  450. moveitem 'weapon' 'vanqbestbag'
  451. headmsg 'Air' '2213'
  452. @clearjournal
  453. elseif @injournal 'Daemon' 'system'
  454. moveitem 'weapon' 'vanqbestbag'
  455. headmsg 'Daemon' '2213'
  456. @clearjournal
  457. elseif @injournal 'Gargoyle' 'system'
  458. moveitem 'weapon' 'vanqbestbag'
  459. headmsg 'Gargoyle' '2213'
  460. @clearjournal
  461. elseif @injournal 'Fey' 'system'
  462. moveitem 'weapon' 'vanqbestbag'
  463. headmsg 'Fey' '2213'
  464. @clearjournal
  465. elseif @injournal 'Respond' 'system'
  466. moveitem 'weapon' 'vanqbestbag'
  467. headmsg 'Respond' '2213'
  468. @clearjournal
  469. elseif @injournal 'Repond' 'system'
  470. moveitem 'weapon' 'vanqbestbag'
  471. headmsg 'Repond' '2213'
  472. @clearjournal
  473. elseif @injournal 'Vacuum' 'system'
  474. moveitem 'weapon' 'vanqbestbag'
  475. headmsg 'Vacuum' '2213'
  476. @clearjournal
  477. elseif @injournal 'Flame' 'system'
  478. moveitem 'weapon' 'vanqbestbag'
  479. headmsg 'Flame' '2213'
  480. @clearjournal
  481. elseif @injournal 'Elemental' 'system'
  482. moveitem 'weapon' 'vanqbestbag'
  483. headmsg 'Elemental' '2213'
  484. @clearjournal
  485. elseif @injournal 'Earth' 'system'
  486. moveitem 'weapon' 'vanqbestbag'
  487. headmsg 'Earth' '2213'
  488. @clearjournal
  489. elseif @injournal 'Water' 'system'
  490. moveitem 'weapon' 'vanqbestbag'
  491. headmsg 'Water' '2213'
  492. @clearjournal
  493. elseif @injournal 'Ogre' 'system'
  494. moveitem 'weapon' 'vanqbestbag'
  495. headmsg 'Ogre' '2213'
  496. @clearjournal
  497. elseif @injournal 'Orc Slayer' 'system'
  498. moveitem 'weapon' 'vanqbestbag'
  499. headmsg 'Orc' '2213'
  500. @clearjournal
  501. elseif @injournal 'Arachnid' 'system'
  502. moveitem 'weapon' 'vanqbestbag'
  503. headmsg 'Arachnid' '2213'
  504. @clearjournal
  505. elseif @injournal 'Spider' 'system'
  506. moveitem 'weapon' 'vanqbestbag'
  507. headmsg 'Spider' '2213'
  508. @clearjournal
  509. elseif @injournal 'Scorpion' 'system'
  510. moveitem 'weapon' 'vanqbestbag'
  511. headmsg 'Scorpion' '2213'
  512. @clearjournal
  513. elseif @injournal 'Terathan' 'system'
  514. moveitem 'weapon' 'vanqbestbag'
  515. headmsg 'Terathan' '2213'
  516. @clearjournal
  517. elseif @injournal 'Reptile' 'system'
  518. moveitem 'weapon' 'vanqbestbag'
  519. headmsg 'Reptile' '2213'
  520. @clearjournal
  521. elseif @injournal 'Dragon' 'system'
  522. headmsg 'Dragon' '2213'
  523. moveitem 'weapon' 'vanqbestbag'
  524. @clearjournal
  525. elseif @injournal 'Lizardman' 'system'
  526. moveitem 'weapon' 'vanqbestbag'
  527. headmsg 'Lizardman' '2213'
  528. @clearjournal
  529. elseif @injournal 'Ophidian' 'system'
  530. moveitem 'weapon' 'vanqbestbag'
  531. headmsg 'Ophidan' '2213'
  532. @clearjournal
  533. elseif @injournal 'Snake' 'system'
  534. moveitem 'weapon' 'vanqbestbag'
  535. headmsg 'Snake' '2213'
  536. @clearjournal
  537. elseif @injournal 'Undead' 'system'
  538. moveitem 'weapon' 'vanqbestbag'
  539. headmsg 'Undead' '2213'
  540. @clearjournal
  541. elseif @injournal 'Blood' 'system'
  542. moveitem 'weapon' 'vanqbestbag'
  543. headmsg 'Blood' '2213'
  544. @clearjournal
  545. elseif @injournal 'Poison' 'system'
  546. moveitem 'weapon' 'vanqbestbag'
  547. headmsg 'Poison' '2213'
  548. @clearjournal
  549. elseif @injournal 'Troll' 'system'
  550. moveitem 'weapon' 'vanqbestbag'
  551. headmsg 'Troll' '2213'
  552. @clearjournal
  553. elseif @injournal 'Fire' 'system'
  554. moveitem 'weapon' 'vanqbestbag'
  555. headmsg 'Fire' '2213'
  556. @clearjournal
  557. elseif @injournal 'Snow' 'system'
  558. moveitem 'weapon' 'vanqbestbag'
  559. headmsg 'Snow' '2213'
  560. @clearjournal
  561. elseif @injournal 'Demon' 'system'
  562. moveitem 'weapon' 'vanqbestbag'
  563. headmsg 'Demon' '2213'
  564. @clearjournal
  565. elseif @injournal 'Balron' 'system'
  566. moveitem 'weapon' 'vanqbestbag'
  567. headmsg 'Balron' '2213'
  568. @clearjournal
  569. pause 1000
  570. endif
  571. endif
  572. if @injournal 'Vanquishing' 'system'
  573. moveitem 'weapon' 'vanqbag'
  574. headmsg 'Vanquishing' '2213'
  575. @clearjournal
  576. pause 1000
  577. endif
  578. if @injournal 'Power' 'system'
  579. headmsg 'Power' '2213'
  580. if @injournal 'Exceedingly' 'system'
  581. moveitem 'weapon' 'powerbestbag'
  582. headmsg '+20' '2213'
  583. @clearjournal
  584. elseif @injournal 'Supremely' 'system'
  585. moveitem 'weapon' 'powerbestbag'
  586. headmsg '+25' '2213'
  587. @clearjournal
  588. elseif @injournal 'Silver' 'system'
  589. moveitem 'weapon' 'powerbestbag'
  590. headmsg 'Silver' '2213'
  591. @clearjournal
  592. elseif @injournal 'Exorcism' 'system'
  593. moveitem 'weapon' 'powerbestbag'
  594. headmsg 'Exorcisim' '2213'
  595. @clearjournal
  596. elseif @injournal 'Air' 'system'
  597. moveitem 'weapon' 'powerbestbag'
  598. headmsg 'Air' '2213'
  599. @clearjournal
  600. elseif @injournal 'Daemon' 'system'
  601. moveitem 'weapon' 'powerbestbag'
  602. headmsg 'Daemon' '2213'
  603. @clearjournal
  604. elseif @injournal 'Gargoyle' 'system'
  605. moveitem 'weapon' 'powerbestbag'
  606. headmsg 'Gargoyle' '2213'
  607. @clearjournal
  608. elseif @injournal 'Fey' 'system'
  609. moveitem 'weapon' 'powerbestbag'
  610. headmsg 'Fey' '2213'
  611. @clearjournal
  612. elseif @injournal 'Respond' 'system'
  613. moveitem 'weapon' 'powerbestbag'
  614. headmsg 'Respond' '2213'
  615. @clearjournal
  616. elseif @injournal 'Repond' 'system'
  617. moveitem 'weapon' 'powerbestbag'
  618. headmsg 'Repond' '2213'
  619. @clearjournal
  620. elseif @injournal 'Vacuum' 'system'
  621. moveitem 'weapon' 'powerbestbag'
  622. headmsg 'Vacuum' '2213'
  623. @clearjournal
  624. elseif @injournal 'Flame' 'system'
  625. moveitem 'weapon' 'powerbestbag'
  626. headmsg 'Flame' '2213'
  627. @clearjournal
  628. elseif @injournal 'Elemental' 'system'
  629. moveitem 'weapon' 'powerbestbag'
  630. headmsg 'Elemental' '2213'
  631. @clearjournal
  632. elseif @injournal 'Earth' 'system'
  633. moveitem 'weapon' 'powerbestbag'
  634. headmsg 'Earth' '2213'
  635. @clearjournal
  636. elseif @injournal 'Water' 'system'
  637. moveitem 'weapon' 'powerbestbag'
  638. headmsg 'Water' '2213'
  639. @clearjournal
  640. elseif @injournal 'Ogre' 'system'
  641. moveitem 'weapon' 'powerbestbag'
  642. headmsg 'Ogre' '2213'
  643. @clearjournal
  644. elseif @injournal 'Orc Slayer' 'system'
  645. moveitem 'weapon' 'powerbestbag'
  646. headmsg 'Orc' '2213'
  647. @clearjournal
  648. elseif @injournal 'Arachnid' 'system'
  649. moveitem 'weapon' 'powerbestbag'
  650. headmsg 'Arachnid' '2213'
  651. @clearjournal
  652. elseif @injournal 'Spider' 'system'
  653. moveitem 'weapon' 'powerbestbag'
  654. headmsg 'Spider' '2213'
  655. @clearjournal
  656. elseif @injournal 'Scorpion' 'system'
  657. moveitem 'weapon' 'powerbestbag'
  658. headmsg 'Scorpion' '2213'
  659. @clearjournal
  660. elseif @injournal 'Terathan' 'system'
  661. moveitem 'weapon' 'powerbestbag'
  662. headmsg 'Terathan' '2213'
  663. @clearjournal
  664. elseif @injournal 'Reptile' 'system'
  665. moveitem 'weapon' 'powerbestbag'
  666. headmsg 'Reptile' '2213'
  667. @clearjournal
  668. elseif @injournal 'Dragon' 'system'
  669. headmsg 'Dragon' '2213'
  670. moveitem 'weapon' 'powerbestbag'
  671. @clearjournal
  672. elseif @injournal 'Lizardman' 'system'
  673. moveitem 'weapon' 'powerbestbag'
  674. headmsg 'Lizardman' '2213'
  675. @clearjournal
  676. elseif @injournal 'Ophidian' 'system'
  677. moveitem 'weapon' 'powerbestbag'
  678. headmsg 'Ophidan' '2213'
  679. @clearjournal
  680. elseif @injournal 'Snake' 'system'
  681. moveitem 'weapon' 'powerbestbag'
  682. headmsg 'Snake' '2213'
  683. @clearjournal
  684. elseif @injournal 'Undead' 'system'
  685. moveitem 'weapon' 'powerbestbag'
  686. headmsg 'Undead' '2213'
  687. @clearjournal
  688. elseif @injournal 'Blood' 'system'
  689. moveitem 'weapon' 'powerbestbag'
  690. headmsg 'Blood' '2213'
  691. @clearjournal
  692. elseif @injournal 'Poison' 'system'
  693. moveitem 'weapon' 'powerbestbag'
  694. headmsg 'Poison' '2213'
  695. @clearjournal
  696. elseif @injournal 'Troll' 'system'
  697. moveitem 'weapon' 'powerbestbag'
  698. headmsg 'Troll' '2213'
  699. @clearjournal
  700. elseif @injournal 'Fire' 'system'
  701. moveitem 'weapon' 'powerbestbag'
  702. headmsg 'Fire' '2213'
  703. @clearjournal
  704. elseif @injournal 'Snow' 'system'
  705. moveitem 'weapon' 'powerbestbag'
  706. headmsg 'Snow' '2213'
  707. @clearjournal
  708. elseif @injournal 'Demon' 'system'
  709. moveitem 'weapon' 'powerbestbag'
  710. headmsg 'Demon' '2213'
  711. @clearjournal
  712. elseif @injournal 'Balron' 'system'
  713. moveitem 'weapon' 'powerbestbag'
  714. headmsg 'Balron' '2213'
  715. @clearjournal
  716. pause 1000
  717. endif
  718. endif
  719. if @injournal 'Power' 'system'
  720. moveitem 'weapon' 'powerbag'
  721. headmsg 'Power' '2213'
  722. @clearjournal
  723. pause 1000
  724. endif
  725. endwhile
  726. endfor
  727. //
  728. //ID & Sort Armor
  729. //
  730. if not @listexists 'armor'
  731. createlist 'armor'
  732. @pushlist 'armor' 0x1b7a //WoodenShield
  733. @pushlist 'armor' 0x1b7b //MetalShield
  734. @pushlist 'armor' 0x1b72 //BronzeShields
  735. @pushlist 'armor' 0x1b73 //Buckler
  736. @pushlist 'armor' 0x1b74 //Metal Kite Shield
  737. @pushlist 'armor' 0x1b76 //HeaterShield
  738. @pushlist 'armor' 0x1b79 //Tear Kite Shield
  739. @pushlist 'armor' 0x1c00 //Female Leather Shorts
  740. @pushlist 'armor' 0x1c0a //Female Leather Bustier
  741. @pushlist 'armor' 0x1c0c //Female Studded Bustier
  742. @pushlist 'armor' 0x1c02 //Female Studded Armor
  743. @pushlist 'armor' 0x1c04 //Female Plate
  744. @pushlist 'armor' 0x1c06 //Female Leather Armor
  745. @pushlist 'armor' 0x1c08 //Female Leather Skirt
  746. @pushlist 'armor' 0x1db9 //Leather Cap
  747. @pushlist 'armor' 0x1f0b //Orc Helmet
  748. @pushlist 'armor' 0x13bb //Chainmail Coif
  749. @pushlist 'armor' 0x13be //Chainmail Leggins
  750. @pushlist 'armor' 0x13bf //Chainmail Tunic
  751. @pushlist 'armor' 0x13c6 //Leather Gloves
  752. @pushlist 'armor' 0x13c7 //Leather Gorget
  753. @pushlist 'armor' 0x13cb //Leather Pants
  754. @pushlist 'armor' 0x13cc //Leather Tunic
  755. @pushlist 'armor' 0x13cd //Leather Sleeves
  756. @pushlist 'armor' 0x13d5 //Studded Gloves
  757. @pushlist 'armor' 0x13d6 //Studded Gorget
  758. @pushlist 'armor' 0x13da //Studded Leggings
  759. @pushlist 'armor' 0x13db //Studded Tunic
  760. @pushlist 'armor' 0x13dc //Studded Sleeves
  761. @pushlist 'armor' 0x13eb //Ringmail Gloves
  762. @pushlist 'armor' 0x13ec //Ringmail Tunic
  763. @pushlist 'armor' 0x13ee //Ringmail Sleeves
  764. @pushlist 'armor' 0x13f0 //Ringmail Leggins
  765. @pushlist 'armor' 0x140a //Helmet
  766. @pushlist 'armor' 0x140c //Bascinet
  767. @pushlist 'armor' 0x140e //Norse Helm
  768. @pushlist 'armor' 0x144e //Bone Arms
  769. @pushlist 'armor' 0x144f //Bone Armor
  770. @pushlist 'armor' 0x1408 //Close Helmet
  771. @pushlist 'armor' 0x1410 //Platemail Arms
  772. @pushlist 'armor' 0x1411 //Platemail Legs
  773. @pushlist 'armor' 0x1412 //Plate Helm
  774. @pushlist 'armor' 0x1413 //Plate Gorget
  775. @pushlist 'armor' 0x1414 //Platemail Gloves
  776. @pushlist 'armor' 0x1415 //Plate Chest
  777. @pushlist 'armor' 0x1450 //Bone Gloves
  778. @pushlist 'armor' 0x1451 //Bone Helmet
  779. @pushlist 'armor' 0x1452 //Bone Leggings
  780. endif
  781. if not @listexists 'armortrash2'
  782. createlist 'armortrash2'
  783. @pushlist 'armortrash2' 0x1f0b //Orc Helmet
  784. @pushlist 'armortrash2' 0x1451 //Bone Helmet
  785. @pushlist 'armortrash2' 0x144f //Bone armor
  786. @pushlist 'armortrash2' 0x1452 //Bone Leggings
  787. @pushlist 'armortrash2' 0x144e //Bone Arms
  788. @pushlist 'armortrash2' 0x1450 //Bone Gloves
  789. endif
  790. @clearjournal
  791. for 0 to 'armor'
  792. headmsg 'found armor'
  793. while @findtype 'armor[]' 'any' 'box'
  794. @clearjournal
  795. pause 700
  796. if not @findobject 'armortrash'
  797. headmsg 'find armor trash'
  798. if @findtype 0xe76 '638' ground 1 3
  799. headmsg 'found armor trash' 69
  800. @setalias 'armortrash' found
  801. @useobject 'armortrash'
  802. pause 700
  803. endif
  804. endif
  805. if not @findobject 'armorkeep'
  806. headmsg 'find armor keep'
  807. if @findtype 0xe76 '458' ground 1 3
  808. headmsg 'found armor keep' 69
  809. @setalias 'armorkeep' found
  810. pause 300
  811. endif
  812. endif
  813. for 0 to armortrash2
  814. while @findtype 'armortrash2[]' 'any' 'armortrash'
  815. @moveitem found 'trashcan'
  816. pause 700
  817. endwhile
  818. endfor
  819. if contents 'armorkeep' == 123
  820. headmsg 'armor keep bag full' 69
  821. ignoreobject 'armorkeep'
  822. unsetalias 'armorkeep'
  823. pause 700
  824. endif
  825. if contents 'armortrash' == 123
  826. headmsg 'armor trash bag full' 452
  827. ignoreobject 'armortrash'
  828. unsetalias 'armortrash'
  829. pause 700
  830. endif
  831. if @findtype 'armor[]' 'any' 'box'
  832. headmsg 'found armor, moving' 69
  833. moveitem found 'armortrash'
  834. pause 1500
  835. useskill 'Item Identification'
  836. waitfortarget 15000
  837. target! found
  838. pause 1500
  839. if @injournal 'Invulnerability' 'system'
  840. moveitem found 'armorkeep'
  841. headmsg 'Invulnerability' '2213'
  842. @clearjournal
  843. endif
  844. endif
  845. endwhile
  846. endfor
  847. if not @findobject 'boxbag'
  848. headmsg 'find boxbag' 69
  849. if @findtype 0xe76 '902' 'ground' 1 4
  850. headmsg 'found boxbag'
  851. @setalias 'boxbag' found
  852. @useobject 'boxbag'
  853. pause 700
  854. endif
  855. endif
  856. endif
  857. if contents 'box' == 0
  858. headmsg 'no items left in box' 69
  859. pause 700
  860. @moveitem 'box' 'boxbag'
  861. clearjournal
  862. pause 700
  863. @ignoreobject 'box'
  864. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement