Back to "item" tags

ID all items and sort them by Brozan (Syal)

Related: Snippet item id

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