Advertisement
Guest User

Untitled

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