Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not @findobject 'lootbag' 'any' 'backpack'
- sysmsg 'Set lootbag'
- promptalias 'lootbag'
- endif
- if @findtype 0xe43 'any' 'ground' '1' '1'
- pause 1000
- @setalias 'tmapchest' 'found'
- elseif @findtype 0x719e 'any' 'ground' '1' '1'
- pause 1000
- @setalias 'tmapchest' 'found'
- elseif @findtype 0x71a1 'any' 'ground' '1' '1'
- pause 1000
- @setalias 'tmapchest' 'found'
- elseif @findtype 0x7194 'any' 'ground' '1' '1'
- pause 1000
- @setalias 'tmapchest' 'found'
- else
- sysmsg 'Not near any chests or source chest. Stopping.'
- stop
- endif
- useobject 'tmapchest'
- pause 500
- // Move Chain
- if counttype '0xa8c6' 'any' 'tmapchest' > 0
- sysmsg 'Moving chain...'
- while counttype '0xa8c6' 'any' 'tmapchest' > 0
- movetype 0xa8c6 'tmapchest' 'lootbag' 'any'
- pause 500
- endwhile
- endif
- // Move Skill Scrolls
- if counttype '0x227a' 'any' 'tmapchest' > 0
- sysmsg 'Moving SS...'
- while counttype '0x227a' 'any' 'tmapchest' > 0
- movetype 0x227a 'tmapchest' 'lootbag' 'any'
- pause 500
- endwhile
- endif
- // Move Cores
- if counttype '0xf91' 'any' 'tmapchest' > 0
- sysmsg 'Moving cores...'
- while counttype '0xf91' 'any' 'tmapchest' > 0
- movetype 0xf91 'tmapchest' 'lootbag' 'any'
- pause 500
- endwhile
- endif
- // Move Extracts
- if counttype '0xefc' 'any' 'tmapchest' > 0
- sysmsg 'Moving extracts...'
- while counttype '0xefc' 'any' 'tmapchest' > 0
- movetype 0xefc 'tmapchest' 'lootbag' 'any'
- pause 500
- endwhile
- endif
- // Move Gold
- if counttype '0xeed' 'any' 'tmapchest' > 0
- sysmsg 'Moving Gold...'
- while counttype '0xeed' 'any' 'tmapchest' > 0
- movetype 0xeed 'tmapchest' 'lootbag' 'any'
- pause 500
- endwhile
- endif
- // Move gems, arcanes, etc
- if not listexists 'MiscTypes'
- createlist 'MiscTypes'
- endif
- //Gems
- sysmsg 'Moving misc items...'
- @pushlist 'MiscTypes' 0xf15 // Citrine
- @pushlist 'MiscTypes' 0xf26 // Diamond
- @pushlist 'MiscTypes' 0xf25 // Amber
- @pushlist 'MiscTypes' 0x1b75 // Emerald
- @pushlist 'MiscTypes' 0xf10 // Star Sapphire
- @pushlist 'MiscTypes' 0xf2d // Tourmaline
- @pushlist 'MiscTypes' 0xf13 // Ruby
- @pushlist 'MiscTypes' 0xf19 // Sapphire
- @pushlist 'MiscTypes' 0xf16 // Amethyst
- // Wire
- @pushlist 'MiscTypes' 0x1877 // Silver Trap
- @pushlist 'MiscTypes' 0x1879 // Copper Trap
- @pushlist 'MiscTypes' 0x1878 // GoldTrap
- @pushlist 'MiscTypes' 0x1878 // Platinum
- // Regs
- @pushlist 'MiscTypes' 0xf88 // Nightshade
- @pushlist 'MiscTypes' 0xf85 // Ginseg
- @pushlist 'MiscTypes' 0xf7b // Blood Moss
- @pushlist 'MiscTypes' 0xf8c // Sulfurous Ash
- @pushlist 'MiscTypes' 0xf86 // Mandrake Root
- @pushlist 'MiscTypes' 0xf7a // Black Pearl
- @pushlist 'MiscTypes' 0xf84 // Garlic
- @pushlist 'MiscTypes' 0xf8d // Spider Silk
- // Misc
- @pushlist 'MiscTypes' 0xef3 // Arcane Scrolls
- @pushlist 'MiscTypes' 0xf3f // Arrows
- @pushlist 'MiscTypes' 0x1bfb // Bolts
- @pushlist 'MiscTypes' 0x5736 // Seeds
- @pushlist 'MiscTypes' 0xe21 // Bandaids
- @pushlist 'MiscTypes' 0xb0cb // Faire Card
- for 0 to 'MiscTypes'
- while @findtype 'MiscTypes[]' 'any' 'tmapchest'
- moveitem found 'lootbag'
- endwhile
- endfor
- // Move scrolls
- if not listexists 'scrolls'
- @createlist 'scrolls'
- endif
- if 'list' 'scrolls' == '0'
- @pushlist 'scrolls' 0x1f2d // Reactive Armor
- @pushlist 'scrolls' 0x1f2e // Clumsy
- @pushlist 'scrolls' 0x1f2f // Create Food
- @pushlist 'scrolls' 0x1f30 // Feeblemind
- @pushlist 'scrolls' 0x1f31 // Heal
- @pushlist 'scrolls' 0x1f32 // Magic Arrow
- @pushlist 'scrolls' 0x1f33 // Night Sight
- @pushlist 'scrolls' 0x1f34 // Weaken
- @pushlist 'scrolls' 0x1f35 // Agility
- @pushlist 'scrolls' 0x1f36 // Cunning
- @pushlist 'scrolls' 0x1f37 // Cure
- @pushlist 'scrolls' 0x1f38 // Harm
- @pushlist 'scrolls' 0x1f39 // Magic Trap
- @pushlist 'scrolls' 0x1f3a // Magic Untrap
- @pushlist 'scrolls' 0x1f3b // Protection
- @pushlist 'scrolls' 0x1f3c // Strength
- @pushlist 'scrolls' 0x1f3d // Bless
- @pushlist 'scrolls' 0x1f3e // Fireball
- @pushlist 'scrolls' 0x1f3f // Magic Lock
- @pushlist 'scrolls' 0x1f40 // Poison
- @pushlist 'scrolls' 0x1f41 // Telekinesis
- @pushlist 'scrolls' 0x1f42 // Teleport
- @pushlist 'scrolls' 0x1f43 // Unlock
- @pushlist 'scrolls' 0x1f44 // Wall of Stone
- @pushlist 'scrolls' 0x1f45 // Arch Cure
- @pushlist 'scrolls' 0x1f46 // Arch Protection
- @pushlist 'scrolls' 0x1f47 // Curse
- @pushlist 'scrolls' 0x1f48 // Fire Field
- @pushlist 'scrolls' 0x1f49 // Greater Heal
- @pushlist 'scrolls' 0x1f4a // Lightning
- @pushlist 'scrolls' 0x1f4b // Mana Drain
- @pushlist 'scrolls' 0x1f4c // Recall
- @pushlist 'scrolls' 0x1f4d // Blade Spirit
- @pushlist 'scrolls' 0x1f4e // Dispel Field
- @pushlist 'scrolls' 0x1f4f // Incognito
- @pushlist 'scrolls' 0x1f50 // Magic Reflection
- @pushlist 'scrolls' 0x1f51 // Mind Blast
- @pushlist 'scrolls' 0x1f52 // Paralyze
- @pushlist 'scrolls' 0x1f53 // Poison Field
- @pushlist 'scrolls' 0x1f54 // Summon Creature
- @pushlist 'scrolls' 0x1f55 // Dispel
- @pushlist 'scrolls' 0x1f56 // Energy Bolt
- @pushlist 'scrolls' 0x1f57 // Explosion
- @pushlist 'scrolls' 0x1f58 // Invisibility
- @pushlist 'scrolls' 0x1f59 // Mark
- @pushlist 'scrolls' 0x1f5a // Mass Curse
- @pushlist 'scrolls' 0x1f5b // Paralyze Field
- @pushlist 'scrolls' 0x1f5c // Reveal
- @pushlist 'scrolls' 0x1f5d // Chain Lightning
- @pushlist 'scrolls' 0x1f5e // Energy Field
- @pushlist 'scrolls' 0x1f60 // Gate Travel
- @pushlist 'scrolls' 0x1f61 // Mana Vampire
- @pushlist 'scrolls' 0x1f62 // Mass Dispel
- @pushlist 'scrolls' 0x1f63 // Meteor Swarm
- @pushlist 'scrolls' 0x1f64 // Polymorph
- @pushlist 'scrolls' 0x1f65 // Earthquake
- @pushlist 'scrolls' 0x1f66 // Energy Vortex
- @pushlist 'scrolls' 0x1f67 // Ressurrection
- @pushlist 'scrolls' 0x1f68 // Summon Air Elemental
- @pushlist 'scrolls' 0x1f69 // Summon Daemon
- @pushlist 'scrolls' 0x1f6a // Summon Earth Elemental
- @pushlist 'scrolls' 0x1f6b // Summon Fire Elemental
- @pushlist 'scrolls' 0x1f6c // Summon Water Elemental
- @pushlist 'MiscTypes' 0xb0cb // Faire Card
- endif
- for 0 to 'scrolls'
- @clearjournal
- while @findtype 'scrolls[]' 'any' 'tmapchest'
- moveitem 'found' 'lootbag'
- endwhile
- endfor
- // Move magic items
- if not listexists 'RuneTypes'
- createlist 'RuneTypes'
- endif
- sysmsg 'Moving runes'
- // Runs
- @pushlist 'RuneTypes' 0x9bd9 // Fury
- @pushlist 'RuneTypes' 0x9bd3 // Empower
- @pushlist 'RuneTypes' 0x9bda // Immunity
- @pushlist 'RuneTypes' 0x9be7 // Toxicity
- @pushlist 'RuneTypes' 0x9be1 // Poison Ward
- @pushlist 'RuneTypes' 0x9bd8 // Healing
- for 0 to 'RuneTypes'
- @clearjournal
- while @findtype 'RuneTypes[]' 'any' 'tmapchest'
- moveitem 'found' 'lootbag'
- endwhile
- endfor
- // Move magic items
- if not listexists 'ItemTypes'
- createlist 'ItemTypes'
- endif
- sysmsg 'Moving magic items'
- //Shields
- @pushlist 'ItemTypes' 0x1b72 //BronzeShields
- @pushlist 'ItemTypes' 0x1b73 //Buckler
- @pushlist 'ItemTypes' 0x1b7b //MetalShield
- @pushlist 'ItemTypes' 0x1b75 //Metal Kite Shield
- @pushlist 'ItemTypes' 0x1b79 //Tear Kite Shield
- @pushlist 'ItemTypes' 0x1b7a //WoodenShield
- @pushlist 'ItemTypes' 0x1b77 //HeaterShield
- //Platemail
- @pushlist 'ItemTypes' 0x1409 //Close Helmet
- @pushlist 'ItemTypes' 0x1417 //Platemail Arms
- @pushlist 'ItemTypes' 0x141a //Platemail Legs
- @pushlist 'ItemTypes' 0x1412 //Plate Helm
- @pushlist 'ItemTypes' 0x1413 //Plate Gorget
- @pushlist 'ItemTypes' 0x1418 //Platemail Gloves
- @pushlist 'ItemTypes' 0x1416 //Plate Chest
- @pushlist 'ItemTypes' 0x140a //Helmet
- @pushlist 'ItemTypes' 0x140c //Bascinet
- @pushlist 'ItemTypes' 0x140f //Norse Helm
- //Chainmail
- @pushlist 'ItemTypes' 0x13c0 //Chainmail Coif
- @pushlist 'ItemTypes' 0x13c3 //Chainmail Leggins
- @pushlist 'ItemTypes' 0x13c4 //Chainmail Tunic
- @pushlist 'ItemTypes' 0x13ef //Chainmail Arms
- @pushlist 'ItemTypes' 0x13f2 //Chainmail Gloves
- //Ringmail
- @pushlist 'ItemTypes' 0x13ee //Ringmail Sleeves
- @pushlist 'ItemTypes' 0x13f2 //Ringmail Gloves
- @pushlist 'ItemTypes' 0x13ec //Ringmail Tunic
- @pushlist 'ItemTypes' 0x13f1 //Ringmail Leggings
- @pushlist 'ItemTypes' 0x140b //Ringmail Helm
- @pushlist 'ItemTypes' 0x13ef //Ringmail Arms
- //Bone Armor
- @pushlist 'ItemTypes' 0x1451 //Bone Helmet
- @pushlist 'ItemTypes' 0x1454 //Bone Chest
- @pushlist 'ItemTypes' 0x1453 //Bone Arms
- @pushlist 'ItemTypes' 0x1455 //Bone Gloves
- //Studded
- @pushlist 'ItemTypes' 0x13e1 //Studded Leggings
- @pushlist 'ItemTypes' 0x13db //Studded Tunic
- @pushlist 'ItemTypes' 0x13d5 //Studded Gloves
- @pushlist 'ItemTypes' 0x13d6 //Studded Gorget
- @pushlist 'ItemTypes' 0x13d4 //Studded Sleeves
- //Leather
- @pushlist 'ItemTypes' 0x13ce //Leather Gloves
- @pushlist 'ItemTypes' 0x13c5 //Leather Sleeves
- @pushlist 'ItemTypes' 0x13d3 //Leather Tunic
- @pushlist 'ItemTypes' 0x13d2 //Leather Pants
- @pushlist 'ItemTypes' 0x13c7 //Leather Gorget
- @pushlist 'ItemTypes' 0x1dba //Leather Cap
- //Female Armor
- @pushlist 'ItemTypes' 0x1c04 //Female Plate
- @pushlist 'ItemTypes' 0x1c0d //Female Studded Bustier
- @pushlist 'ItemTypes' 0x1c02 //Female Studded Armor
- @pushlist 'ItemTypes' 0x1c01 //Female Leather Shorts
- @pushlist 'ItemTypes' 0x1c09 //Female Leather Skirt
- @pushlist 'ItemTypes' 0x1c06 //Female Leather Armor
- @pushlist 'ItemTypes' 0x1c0b //Female Leather Bustier
- //Fencing
- @pushlist 'ItemTypes' 0xf62 //Spear
- @pushlist 'ItemTypes' 0x1403 //Short Spear
- @pushlist 'ItemTypes' 0xe87 //Pitchfork
- @pushlist 'ItemTypes' 0x1405 //Warfork
- @pushlist 'ItemTypes' 0x1401 //Kryss
- @pushlist 'ItemTypes' 0xf52 //Dagger
- //Macing
- @pushlist 'ItemTypes' 0x13b0 //War axe
- @pushlist 'ItemTypes' 0xdf0 //Black Staff
- @pushlist 'ItemTypes' 0x1439 //War Hammer
- @pushlist 'ItemTypes' 0x1407 //War Mace
- @pushlist 'ItemTypes' 0xe89 //Quarter Staff
- @pushlist 'ItemTypes' 0x143d //Hammer Pick
- @pushlist 'ItemTypes' 0x13b4 //Club
- @pushlist 'ItemTypes' 0xe81 //Shepherds Crook
- @pushlist 'ItemTypes' 0x13f8 //Gnarled Staff
- @pushlist 'ItemTypes' 0xf5c //Mace
- @pushlist 'ItemTypes' 0x143b //Maul
- //Swords
- @pushlist 'ItemTypes' 0x13b9 //Viking Sword
- @pushlist 'ItemTypes' 0xf61 //Longsword
- @pushlist 'ItemTypes' 0x1441 //Cutlass
- @pushlist 'ItemTypes' 0x13b6 //Scimitar
- @pushlist 'ItemTypes' 0xec4 //Skinning Knife
- @pushlist 'ItemTypes' 0x13f6 //Butcher Knife
- @pushlist 'ItemTypes' 0xf5e //Broadsword
- @pushlist 'ItemTypes' 0x13ff //Katana
- @pushlist 'ItemTypes' 0xec3 //Cleaver
- //Axes
- @pushlist 'ItemTypes' 0xf43 //Hatchet
- @pushlist 'ItemTypes' 0xf45 //Executioner's Axe
- @pushlist 'ItemTypes' 0xf4d //Bardiche
- @pushlist 'ItemTypes' 0xf4b //Double Axe
- @pushlist 'ItemTypes' 0x143e //Halberd
- @pushlist 'ItemTypes' 0x13fb //Large Battle Axe
- @pushlist 'ItemTypes' 0x1443 //Two Handed Axe
- @pushlist 'ItemTypes' 0xf47 //Battle Axe
- @pushlist 'ItemTypes' 0xf49 //Axe
- @pushlist 'ItemTypes' 0xe85 //Pickaxe
- @pushlist 'ItemTypes' 0xe86 //Pickaxe
- //Bows
- @pushlist 'ItemTypes' 0x13fd //HeavyXbow
- @pushlist 'ItemTypes' 0xf50 //Xbow
- @pushlist 'ItemTypes' 0x13b2 //bow
- //Misc
- @pushlist 'ItemTypes' 0xe9e // Tamborine
- @pushlist 'ItemTypes' 0xeb3 // Lute
- @pushlist 'ItemTypes' 0xe9c // Drums
- @pushlist 'ItemTypes' 0xefa // Spellbook
- @pushlist 'ItemTypes' 0xeb2 // Harp
- @pushlist 'ItemTypes' 0xdf2 // Wand 1
- @pushlist 'ItemTypes' 0xdf4 // Wand 2
- @pushlist 'ItemTypes' 0xdf5 // Wand 3
- @pushlist 'ItemTypes' 0xdf3 // Wand 4
- for 0 to 'ItemTypes'
- @clearjournal
- while @findtype 'ItemTypes[]' 'any' 'tmapchest'
- moveitem found 'lootbag'
- endwhile
- endfor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement