Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Lootsorter for paragon and MiB-chests
- // by kakel_anders (Player UOG:Demise)
- //
- ////- Can missfire some times but a rerun usually fixes it.
- ////- Need containers available for Gems, Regs, Trash and 1-8tch circle scrolls.
- ////- Might lack a graphic or two, can easily be added through the lists.
- ////-Enjoy!
- // MUCHO CONTAINOS!
- unsetalias 'chest'
- if not @findobject 'chest'
- headmsg 'What container do you want to sort?'
- promptalias 'chest'
- endif
- if not @findobject 'Reg Bag'
- headmsg 'Where would you like to store your regs?'
- promptalias 'Reg Bag'
- endif
- if not @findobject 'Sortertrash'
- headmsg 'Where is your trashbarrel?'
- promptalias 'Sortertrash'
- endif
- if not @findobject 'Gembag'
- headmsg 'Where is your Gembag?'
- promptalias 'Gembag'
- endif
- if not @findobject 'firstcircle'
- headmsg 'Where do you store firstcircle scrolls?'
- promptalias 'firstcircle'
- endif
- if not @findobject 'secondcircle'
- headmsg 'Where do you store secondcircle scrolls?'
- promptalias 'secondcircle'
- endif
- if not @findobject 'thirdcircle'
- headmsg 'Where do you store thirdcircle scrolls?'
- promptalias 'thirdcircle'
- endif
- if not @findobject 'fourthcircle'
- headmsg 'Where do you store fourthcircle scrolls?'
- promptalias 'fourthcircle'
- endif
- if not @findobject 'fifthcircle'
- headmsg 'Where do you store fifthcircle scrolls?'
- promptalias 'fifthcircle'
- endif
- if not @findobject 'sixthcircle'
- headmsg 'Where do you store sixthcircle scrolls?'
- promptalias 'sixthcircle'
- endif
- if not @findobject 'seventhcircle'
- headmsg 'Where do you store seventhcircle scrolls?'
- promptalias 'seventhcircle'
- endif
- if not @findobject 'eighthcircle'
- headmsg 'Where do you store eighthcircle scrolls?'
- promptalias 'eighthcircle'
- endif
- //
- //
- // MUCHO LISTOS
- if not listexists 'firstcircle'
- createlist 'firstcircle'
- endif
- if not listexists 'secondcircle'
- createlist 'secondcircle'
- endif
- if not listexists 'thirdcircle'
- createlist 'thirdcircle'
- endif
- if not listexists 'fourthcircle'
- createlist 'fourthcircle'
- endif
- if not listexists 'fifthcircle'
- createlist 'fifthcircle'
- endif
- if not listexists 'sixthcircle'
- createlist 'sixthcircle'
- endif
- if not listexists 'seventhcircle'
- createlist 'seventhcircle'
- endif
- if not listexists 'eighthcircle'
- createlist 'eighthcircle'
- endif
- if not listexists 'Trash'
- createlist 'Trash'
- endif
- if not listexists 'Regs'
- createlist 'Regs'
- endif
- if not listexists 'Gems'
- createlist 'Gems'
- endif
- //Regs
- pushlist 'Regs' 0xf7a // Black Pearl
- pushlist 'Regs' 0xf7b // Blood Moss
- pushlist 'Regs' 0xf86 // Mandrake Root
- pushlist 'Regs' 0xf84 // Garlic
- pushlist 'Regs' 0xf85 // Ginseng
- pushlist 'Regs' 0xf88 // Nightshade
- pushlist 'Regs' 0xf8d // Spider's Silk
- pushlist 'Regs' 0xf8c // Sulphurous Ash
- pushlist 'Regs' 0xf78 // Batwing
- pushlist 'Regs' 0xf8e // Nox Crystal
- pushlist 'Regs' 0xf7d // Daemon Blood
- pushlist 'Regs' 0xf8a // Pig Iron
- pushlist 'Regs' 0xf8f // Grave Dust
- //Gold
- pushlist 'Gems' 0xeed // Gold
- //T-Maps
- pushlist 'Gems' 0x14ec // T-maps
- //Gems
- pushlist 'Gems' 0xf16 // Amethyst
- pushlist 'Gems' 0xf15 // Citrine
- pushlist 'Gems' 0xf19 // Sapphire
- pushlist 'Gems' 0xf25 // Amber
- pushlist 'Gems' 0xf21 // Star Sapphire
- pushlist 'Gems' 0xf10 // Emerald
- pushlist 'Gems' 0xf26 // Diamond
- pushlist 'Gems' 0xf2d // Tourmaline
- pushlist 'Gems' 0xf13 // Ruby
- pushlist 'Gems' 0xf43
- pushlist 'Gems' 0xf45
- pushlist 'Gems' 0x13fb
- pushlist 'Gems' 0x1443
- pushlist 'Gems' 0xf49
- pushlist 'Gems' 0xf47
- pushlist 'Gems' 0xf4d
- pushlist 'Gems' 0x143e
- pushlist 'Gems' 0xf4b
- ////Scrolls
- //First
- pushlist 'firstcircle' 0x1f2d // Reactive Armor
- pushlist 'firstcircle' 0x1f2e // Clumsy
- pushlist 'firstcircle' 0x1f2f // Create Food
- pushlist 'firstcircle' 0x1f30 // Feeblemind
- pushlist 'firstcircle' 0x1f31 // Heal
- pushlist 'firstcircle' 0x1f32 // Magic Arrow
- pushlist 'firstcircle' 0x1f33 // Night Sight
- pushlist 'firstcircle' 0x1f34 // Weaken
- //Second
- pushlist 'secondcircle' 0x1f35 // Agility
- pushlist 'secondcircle' 0x1f36 // Cunning
- pushlist 'secondcircle' 0x1f37 // Cure
- pushlist 'secondcircle' 0x1f38 // Harm
- pushlist 'secondcircle' 0x1f39 // Magic Trap
- pushlist 'secondcircle' 0x1f3a // Magic Untrap
- pushlist 'secondcircle' 0x1f3b // Protection
- pushlist 'secondcircle' 0x1f3c // Strength
- //Third
- pushlist 'thirdcircle' 0x1f3d // Bless
- pushlist 'thirdcircle' 0x1f3e // Fireball
- pushlist 'thirdcircle' 0x1f3f // Magic Lock
- pushlist 'thirdcircle' 0x1f40 // Poison
- pushlist 'thirdcircle' 0x1f41 // Telekinesis
- pushlist 'thirdcircle' 0x1f42 // Teleport
- pushlist 'thirdcircle' 0x1f43 // Unlock
- pushlist 'thirdcircle' 0x1f44 // Wall of Stone
- //Fourth
- pushlist 'fourthcircle' 0x1f45 // Arch Cure
- pushlist 'fourthcircle' 0x1f46 // Arch Protection
- pushlist 'fourthcircle' 0x1f47 // Curse
- pushlist 'fourthcircle' 0x1f48 // Fire Field
- pushlist 'fourthcircle' 0x1f49 // Greater Heal
- pushlist 'fourthcircle' 0x1f4a // Lightning
- pushlist 'fourthcircle' 0x1f4b // Mana Drain
- pushlist 'fourthcircle' 0x1f4c // Recall
- //Fifth
- pushlist 'fifthcircle' 0x1f4d // Blade Spirit
- pushlist 'fifthcircle' 0x1f4e // Dispel Field
- pushlist 'fifthcircle' 0x1f4f // Incognito
- pushlist 'fifthcircle' 0x1f50 // Magic Reflection
- pushlist 'fifthcircle' 0x1f51 // Mind Blast
- pushlist 'fifthcircle' 0x1f52 // Paralyze
- pushlist 'fifthcircle' 0x1f53 // Poison Field
- pushlist 'fifthcircle' 0x1f54 // Summon Creature
- //Sixth
- pushlist 'sixthcircle' 0x1f55 // Dispel
- pushlist 'sixthcircle' 0x1f56 // Energy Bolt
- pushlist 'sixthcircle' 0x1f57 // Explosion
- pushlist 'sixthcircle' 0x1f58 // Invisibility
- pushlist 'sixthcircle' 0x1f59 // Mark
- pushlist 'sixthcircle' 0x1f5a // Mass Curse
- pushlist 'sixthcircle' 0x1f5b // Paralyze Field
- pushlist 'sixthcircle' 0x1f5c // Reveal
- //Seventh
- pushlist 'seventhcircle' 0x1f5d // Chain Lightning
- pushlist 'seventhcircle' 0x1f5e // Energy Field
- pushlist 'seventhcircle' 0x1f5f // Flamestrike
- pushlist 'seventhcircle' 0x1f60 // Gate Travel
- pushlist 'seventhcircle' 0x1f61 // Mana Vampire
- pushlist 'seventhcircle' 0x1f62 // Mass Dispel
- pushlist 'seventhcircle' 0x1f63 // Meteor Swarm
- pushlist 'seventhcircle' 0x1f64 // Polymorph
- //Eighth
- pushlist 'eighthcircle' 0x1f65 // Earthquake
- pushlist 'eighthcircle' 0x1f66 // Energy Vortex
- pushlist 'eighthcircle' 0x1f67 // Ressurrection
- pushlist 'eighthcircle' 0x1f68 // Summon Air Elemental
- pushlist 'eighthcircle' 0x1f69 // Summon Daemon
- pushlist 'eighthcircle' 0x1f6a // Summon Earth Elemental
- pushlist 'eighthcircle' 0x1f6b // Summon Fire Elemental
- pushlist 'eighthcircle' 0x1f6c // Summon Water Elemental
- // Swords
- pushlist 'Trash' 0xf5e
- pushlist 'Trash' 0x13ff
- pushlist 'Trash' 0x13b6
- pushlist 'Trash' 0x13b9
- pushlist 'Trash' 0xf5e
- pushlist 'Trash' 0x1441
- pushlist 'Trash' 0xf61
- pushlist 'Trash' 0xf61
- // Fencing
- pushlist 'Trash' 0x1403
- pushlist 'Trash' 0xf62
- pushlist 'Trash' 0x1401
- pushlist 'Trash' 0x1405
- pushlist 'Trash' 0xf52
- // Bows
- pushlist 'Trash' 0xf50
- pushlist 'Trash' 0x26c3
- pushlist 'Trash' 0x13fd
- pushlist 'Trash' 0x26c2
- pushlist 'Trash' 0x13b2
- // Maces
- pushlist 'Trash' 0x143d
- pushlist 'Trash' 0xe89
- pushlist 'Trash' 0x1407
- pushlist 'Trash' 0x13b4
- pushlist 'Trash' 0x1439
- pushlist 'Trash' 0x143b
- pushlist 'Trash' 0x13b0
- pushlist 'Trash' 0xf5c
- pushlist 'Trash' 0xdf0
- pushlist 'Trash' 0x13f8
- // Shields
- pushlist 'Trash' 0x1b76
- pushlist 'Trash' 0x1b7b
- pushlist 'Trash' 0x1b72
- pushlist 'Trash' 0x1b73
- pushlist 'Trash' 0x1b74
- pushlist 'Trash' 0x1b79
- pushlist 'Trash' 0x1b7a
- pushlist 'Trash' 0x1bc3
- //Platemail
- pushlist 'Trash' 0x1408 //Close Helmet
- pushlist 'Trash' 0x1410 //Platemail Arms
- pushlist 'Trash' 0x1411 //Platemail Legs
- pushlist 'Trash' 0x1412 //Plate Helm
- pushlist 'Trash' 0x1413 //Plate Gorget
- pushlist 'Trash' 0x1414 //Platemail Gloves
- pushlist 'Trash' 0x1415 //Plate Chest
- pushlist 'Trash' 0x140a //Helmet
- pushlist 'Trash' 0x140c //Bascinet
- pushlist 'Trash' 0x140e //Norse Helm
- //Chainmail
- pushlist 'Trash' 0x13bb //Chainmail Coif
- pushlist 'Trash' 0x13be //Chainmail Leggins
- pushlist 'Trash' 0x13bf //Chainmail Tunic
- //Ringmail
- pushlist 'Trash' 0x13ee //Ringmail Sleeves
- pushlist 'Trash' 0x13eb //Ringmail Gloves
- pushlist 'Trash' 0x13ec //Ringmail Tunic
- pushlist 'Trash' 0x13f0 //Ringmail Leggins
- //Studded
- pushlist 'Trash' 0x13da //Studded Leggings
- pushlist 'Trash' 0x13db //Studded Tunic
- pushlist 'Trash' 0x13d5 //Studded Gloves
- pushlist 'Trash' 0x13d6 //Studded Gorget
- pushlist 'Trash' 0x13dc //Studded Sleeves
- //Leather
- pushlist 'Trash' 0x13c6 //Leather Gloves
- pushlist 'Trash' 0x13cd //Leather Sleeves
- pushlist 'Trash' 0x13cc //Leather Tunic
- pushlist 'Trash' 0x13cb //Leather Pants
- pushlist 'Trash' 0x13c7 //Leather Gorget
- pushlist 'Trash' 0x1db9 //Leather Cap
- //Female Armor
- pushlist 'Trash' 0x1c04 //Female Plate
- pushlist 'Trash' 0x1c0c //Female Studded Bustier
- pushlist 'Trash' 0x1c02 //Female Studded Armor
- pushlist 'Trash' 0x1c00 //Female Leather Shorts
- pushlist 'Trash' 0x1c08 //Female Leather Skirt
- pushlist 'Trash' 0x1c06 //Female Leather Armor
- pushlist 'Trash' 0x1c0a //Female Leather Bustier
- //Jewelry
- pushlist 'Trash' 0x1f09 // Ring
- pushlist 'Trash' 0x1086 // Bracelet
- //Misc
- pushlist 'Trash' 0x1718 //Wizard Hat
- pushlist 'Trash' 0x1714 // Widebrim Hat
- pushlist 'Trash' 0x26ba // Schythe
- pushlist 'Trash' 0x13f5 // Shepherds Hook
- pushlist 'Trash' 0x1719 // Bonnet
- pushlist 'Trash' 0x1713 // Floppyhat
- pushlist 'Trash' 0x1545 // Bearmask
- pushlist 'Trash' 0x13f6 // Skinningknife
- for 0 to firstcircle
- if findtype 'firstcircle[]' 'any' 'chest'
- moveitem found 'firstcircle'
- ignoreobject found
- pause 1000
- endif
- endfor
- for 0 to secondcircle
- if findtype 'secondcircle[]' 'any' 'chest'
- moveitem found 'secondcircle'
- ignoreobject found
- pause 1000
- endif
- endfor
- for 0 to thirdcircle
- if findtype 'thirdcircle[]' 'any' 'chest'
- moveitem found 'thirdcircle'
- ignoreobject found
- pause 1000
- endif
- endfor
- for 0 to fourthcircle
- if findtype 'fourthcircle[]' 'any' 'chest'
- moveitem found 'fourthcircle'
- ignoreobject found
- pause 1000
- endif
- endfor
- for 0 to fifthcircle
- if findtype 'fifthcircle[]' 'any' 'chest'
- moveitem found 'fifthcircle'
- ignoreobject found
- pause 1000
- endif
- endfor
- for 0 to sixthcircle
- if findtype 'sixthcircle[]' 'any' 'chest'
- moveitem found 'sixthcircle'
- ignoreobject found
- pause 1000
- endif
- endfor
- for 0 to seventhcircle
- if findtype 'seventhcircle[]' 'any' 'chest'
- moveitem found 'seventhcircle'
- ignoreobject found
- pause 1000
- endif
- endfor
- for 0 to eighthcircle
- if findtype 'eighthcircle[]' 'any' 'chest'
- moveitem found 'eighthcircle'
- ignoreobject found
- pause 1000
- endif
- endfor
- for 0 to Gems
- if findtype 'Gems[]' 'any' 'chest'
- moveitem found 'gembag'
- ignoreobject found
- pause 1000
- endif
- endfor
- for 0 to Regs
- if findtype 'Regs[]' 'any' 'chest'
- moveitem found 'Reg Bag'
- ignoreobject found
- pause 1000
- endif
- endfor
- for 0 to Trash
- if findtype 'Trash[]' 'any' 'chest'
- moveitem found 'Sortertrash'
- ignoreobject found
- pause 1000
- endif
- endfor
- headmsg 'Macro Done'
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement