Back to "drop" tags

Drop Unidentified Items to Bag by Brozan (Syal)

Description: Drops all unid items to a bag

1#Script by Brozan
2#Requires a dump bag
3#Searches for all unid items
4# and dumps them to dump bag
5# 
6###Turn this on if you want to
7###Target dump bag each time
8sysmsg  'Target Dump Bag'
9overhead 'Target Dump Bag'
10setvar noidBag
11
12###And turn this off or point
13###It to your dump bag
14#@setvar noidBag 0x465CE02E
15
16clearsysmsg 
17clearignore 
18
19
20createlist ItemTypes
21clearlist ItemTypes
22//martial manual
23@pushlist 'ItemTypes' 22187
24//Shields
25@pushlist 'ItemTypes' 0x1b72 //BronzeShields
26@pushlist 'ItemTypes' 0x1b73 //Buckler
27@pushlist 'ItemTypes' 0x1b7b //MetalShield
28@pushlist 'ItemTypes' 0x1b74 //MetalKiteShield
29@pushlist 'ItemTypes' 0x1b79 //TearKiteShield
30@pushlist 'ItemTypes' 0x1b7a //WoodenShield
31@pushlist 'ItemTypes' 0x1b76 //HeaterShield
32@pushlist 'ItemTypes' 0x1b77 //HeaterShield
33//Platemail
34@pushlist 'ItemTypes' 0x1408 //CloseHelmet
35@pushlist 'ItemTypes' 0x1410 //PlatemailArms
36@pushlist 'ItemTypes' 0x1417 //PlatemailArms
37@pushlist 'ItemTypes' 0x1411 //PlatemailLegs
38@pushlist 'ItemTypes' 0x1412 //PlateHelm
39@pushlist 'ItemTypes' 0x1413 //PlateGorget
40@pushlist 'ItemTypes' 0x1418 //PlatemailGloves
41@pushlist 'ItemTypes' 0x1415 //PlateChest
42@pushlist 'ItemTypes' 0x140a //Helmet
43@pushlist 'ItemTypes' 0x140c //Bascinet
44@pushlist 'ItemTypes' 0x140e //NorseHelm
45//Chainmail
46@pushlist 'ItemTypes' 0x13bb //ChainmailCoif
47@pushlist 'ItemTypes' 0x13c3 //ChainmailLeggins
48@pushlist 'ItemTypes' 0x13c4 //ChainmailChest
49@pushlist 'ItemTypes' 0x13c0 //ChainmailHelm
50//Ringmail
51@pushlist 'ItemTypes' 0x13ef //RingmailArms
52@pushlist 'ItemTypes' 0x13f2 //RingmailGloves
53@pushlist 'ItemTypes' 0x13ed //RingmailChest
54@pushlist 'ItemTypes' 0x13f1 //RingmailLeggins
55@pushlist 'ItemTypes' 0x140b //RingmailHelm
56//Studded
57@pushlist 'ItemTypes' 0x1dba //Studdedcap
58@pushlist 'ItemTypes' 0x13e1 //StuddedLeggings
59@pushlist 'ItemTypes' 0x13db //StuddedTunic
60@pushlist 'ItemTypes' 0x13d5 //StuddedGloves
61@pushlist 'ItemTypes' 0x13d6 //StuddedGorget
62@pushlist 'ItemTypes' 0x13dc //StuddedSleeves
63//Leather
64@pushlist 'ItemTypes' 0x13ce //LeatherGloves
65@pushlist 'ItemTypes' 0x13cd //LeatherSleeves
66@pushlist 'ItemTypes' 0x13d3 //LeatherChest
67@pushlist 'ItemTypes' 0x13cb //LeatherPants
68@pushlist 'ItemTypes' 0x13c7 //LeatherGorget
69@pushlist 'ItemTypes' 0x1db9 //LeatherCap
70@pushlist 'ItemTypes' 0x13c5 //LeatherArms
71//FemaleArmor
72@pushlist 'ItemTypes' 0x1c04 //FemalePlate
73@pushlist 'ItemTypes' 0x1c09 //FemalePlateSkirt
74@pushlist 'ItemTypes' 0x1c0c //FemaleStuddedBustier
75@pushlist 'ItemTypes' 0x1c02 //FemaleStuddedArmor
76@pushlist 'ItemTypes' 0x1c09 //FemaleRingmailSkirt
77@pushlist 'ItemTypes' 0x1c00 //FemaleLeatherShorts
78@pushlist 'ItemTypes' 0x1c09 //FemaleLeatherSkirt
79@pushlist 'ItemTypes' 0x1c06 //FemaleLeatherArmor
80@pushlist 'ItemTypes' 0x1c0b //FemaleLeatherBustier
81@pushlist 'ItemTypes' 0x1c09 //FemaleBoneSkirt
82//Fencing
83@pushlist 'ItemTypes' 0xf62  //Spear
84@pushlist 'ItemTypes' 0x1403 //ShortSpear
85@pushlist 'ItemTypes' 0xe87  //Pitchfork
86@pushlist 'ItemTypes' 0x1405 //Warfork
87@pushlist 'ItemTypes' 0x1401 //Kryss
88@pushlist 'ItemTypes' 0xf52  //Dagger
89//Macing
90@pushlist 'ItemTypes' 0x13b0 //Waraxe
91@pushlist 'ItemTypes' 0xdf0  //BlackStaff
92@pushlist 'ItemTypes' 0x1439 //WarHammer
93@pushlist 'ItemTypes' 0x1407 //WarMace
94@pushlist 'ItemTypes' 0xe89  //QuarterStaff
95@pushlist 'ItemTypes' 0x143d //HammerPick
96@pushlist 'ItemTypes' 0x13b4 //Club
97@pushlist 'ItemTypes' 0xe81  //ShepherdsCrook
98@pushlist 'ItemTypes' 0x13f8 //GnarledStaff
99@pushlist 'ItemTypes' 0xf5c  //Mace
100@pushlist 'ItemTypes' 0x143b //Maul
101//Swords
102@pushlist 'ItemTypes' 0x13b9 //VikingSword
103@pushlist 'ItemTypes' 0xf61  //Longsword
104@pushlist 'ItemTypes' 0x1441 //Cutlass
105@pushlist 'ItemTypes' 0x13b6 //Scimitar
106@pushlist 'ItemTypes' 0xec4  //SkinningKnife
107@pushlist 'ItemTypes' 0x13f6 //ButcherKnife
108@pushlist 'ItemTypes' 0xf5e  //Broadsword
109@pushlist 'ItemTypes' 0x13ff //Katana
110@pushlist 'ItemTypes' 0xec3  //Cleaver
111//Axes
112@pushlist 'ItemTypes' 0xf43 //Hatchet
113@pushlist 'ItemTypes' 0xf45 //ExecutionersAxe
114@pushlist 'ItemTypes' 0xf4d //Bardiche
115@pushlist 'ItemTypes' 0xf4b  //DoubleAxe
116@pushlist 'ItemTypes' 0x143e //Halberd
117@pushlist 'ItemTypes' 0x13fb //LargeBattleAxe
118@pushlist 'ItemTypes' 0x1443 //TwoHandedAxe
119@pushlist 'ItemTypes' 0xf47  //BattleAxe
120@pushlist 'ItemTypes' 0xf49  //Axe
121//Bows
122@pushlist 'ItemTypes' 0x13fd //HeavyXbow
123@pushlist 'ItemTypes' 0xf50  //Xbow
124@pushlist 'ItemTypes' 0x13b2 //bow
125//Instruments
126@pushlist 'ItemTypes' 0xeb2 //Harp
127@pushlist 'ItemTypes' 0xe9c //Drums
128@pushlist 'ItemTypes' 0xeb3 //Lute
129@pushlist 'ItemTypes' 0xe9e //Tambourine
130@pushlist 'ItemTypes' 0x2805 //BambooFlute
131//Other Helmets
132@pushlist 'ItemTypes' 0x140f //NorseHelm
133//BoneArmor
134@pushlist 'ItemTypes' 0x1451 //BoneHelm
135@pushlist 'ItemTypes' 0x1457 //BoneLegs
136@pushlist 'ItemTypes' 0x1453 //BoneArms
137@pushlist 'ItemTypes' 0x1455 //BoneGloves
138//SlayerWands
139@pushlist 'ItemTypes' 0xdf2 //SlayerWands
140@pushlist 'ItemTypes' 0xdf3 //SlayerWands
141@pushlist 'ItemTypes' 0xdf4 //SlayerWands
142@pushlist 'ItemTypes' 0xdf5 //SlayerWands
143//OtherSTuff, that wasnt in list...
144@pushlist 'ItemTypes' 0xdf5 //SlayerWands
145@pushlist 'ItemTypes' 0xefa //SpellBook
146@pushlist 'ItemTypes' 0x141a //platemailleggings
147@pushlist 'ItemTypes' 0x1b7a //woodenshield
148@pushlist 'ItemTypes' 0x13e2 //studdedchets
149@pushlist 'ItemTypes' 0x1b79 //woodenkiteshield
150@pushlist 'ItemTypes' 0x26bd //harpoon
151@pushlist 'ItemTypes' 0x1c05 //Femaleplatechest
152@pushlist 'ItemTypes' 0x1c0d //studdedbrasier
153@pushlist 'ItemTypes' 0x1c01 //leathershorts
154@pushlist 'ItemTypes' 0x1b75 //metalkiteshield
155@pushlist 'ItemTypes' 0x1c07 //Femaleleather
156@pushlist 'ItemTypes' 0x1416 //platemailchest
157@pushlist 'ItemTypes' 0x13dd //studdedgloves
158@pushlist 'ItemTypes' 0x1454 //Bonechest
159@pushlist 'ItemTypes' 0x13d2 //leatherleggings
160@pushlist 'ItemTypes' 0x1409 //closehelm
161@pushlist 'ItemTypes' 0x13d4 //studdedarms
162
163foreach x in ItemTypes
164  while findtype x backpack as found
165    @hotkey 'set last target'
166    @target found
167    @setvar myVariable lasttarget
168    wait 100
169    @getlabel 'myVariable' myLabel
170    if 'unidentified' in myLabel
171        sysmsg 'Dumping: ' 33
172        sysmsg  myLabel 65
173        lift myVariable 1
174        drop noidBag -1 -1 0 
175    else 
176        sysmsg 'Skipping' 33
177    sysmsg  myLabel 65
178    endif
179    @ignore myVariable
180    wait 400
181  endwhile
182endfor
183
184sysmsg  'Done'