Back to "rearrange" tags

Bulk move Unidentified items and Jewels by DoubleDuke

1// This Script moves all unidentified items to a specific container,
2// and all your jewels to another specific container.
3// Set your containers below with the [INFO parameter,
4// will skip blessed and exceptional items.
5// Script For UO Outlands
6
7# Remove # if you wish to open your containers first
8#dclick 0x4D844104
9#wait 300
10#dclick 0x53143DA1
11#wait 300
12
13# Your UNIDENTIFIED item container
14@setvar junkBag 0x4078ED61
15
16# Your JEWELS container
17@setvar jewelsBag 0x4A16FBC9
18
19#### DO NOT EDIT BELOW
20
21###Start Script Here###
22clearsysmsg 
23clearignore 
24
25sysmsg 'Moving all objects, wait until done'
26
27createlist ItemTypes
28//martial manual
29@pushlist 'ItemTypes' 22187
30//Shields
31@pushlist 'ItemTypes' 0x1b72 //BronzeShields
32@pushlist 'ItemTypes' 0x1b73 //Buckler
33@pushlist 'ItemTypes' 0x1b7b //MetalShield
34@pushlist 'ItemTypes' 0x1b74 //MetalKiteShield
35@pushlist 'ItemTypes' 0x1b79 //TearKiteShield
36@pushlist 'ItemTypes' 0x1b7a //WoodenShield
37@pushlist 'ItemTypes' 0x1b76 //HeaterShield
38@pushlist 'ItemTypes' 0x1b77 //HeaterShield
39//Platemail
40@pushlist 'ItemTypes' 0x1408 //CloseHelmet
41@pushlist 'ItemTypes' 0x1410 //PlatemailArms
42@pushlist 'ItemTypes' 0x1417 //PlatemailArms
43@pushlist 'ItemTypes' 0x1411 //PlatemailLegs
44@pushlist 'ItemTypes' 0x1412 //PlateHelm
45@pushlist 'ItemTypes' 0x1413 //PlateGorget
46@pushlist 'ItemTypes' 0x1418 //PlatemailGloves
47@pushlist 'ItemTypes' 0x1415 //PlateChest
48@pushlist 'ItemTypes' 0x140a //Helmet
49@pushlist 'ItemTypes' 0x140c //Bascinet
50@pushlist 'ItemTypes' 0x140e //NorseHelm
51//Chainmail
52@pushlist 'ItemTypes' 0x13bb //ChainmailCoif
53@pushlist 'ItemTypes' 0x13c3 //ChainmailLeggins
54@pushlist 'ItemTypes' 0x13c4 //ChainmailChest
55@pushlist 'ItemTypes' 0x13c0 //ChainmailHelm
56//Ringmail
57@pushlist 'ItemTypes' 0x13ef //RingmailArms
58@pushlist 'ItemTypes' 0x13f2 //RingmailGloves
59@pushlist 'ItemTypes' 0x13ed //RingmailChest
60@pushlist 'ItemTypes' 0x13f1 //RingmailLeggins
61@pushlist 'ItemTypes' 0x140b //RingmailHelm
62//Studded
63@pushlist 'ItemTypes' 0x1dba //Studdedcap
64@pushlist 'ItemTypes' 0x13e1 //StuddedLeggings
65@pushlist 'ItemTypes' 0x13db //StuddedTunic
66@pushlist 'ItemTypes' 0x13d5 //StuddedGloves
67@pushlist 'ItemTypes' 0x13d6 //StuddedGorget
68@pushlist 'ItemTypes' 0x13dc //StuddedSleeves
69//Leather
70@pushlist 'ItemTypes' 0x13ce //LeatherGloves
71@pushlist 'ItemTypes' 0x13cd //LeatherSleeves
72@pushlist 'ItemTypes' 0x13d3 //LeatherChest
73@pushlist 'ItemTypes' 0x13cb //LeatherPants
74@pushlist 'ItemTypes' 0x13c7 //LeatherGorget
75@pushlist 'ItemTypes' 0x1db9 //LeatherCap
76@pushlist 'ItemTypes' 0x13c5 //LeatherArms
77//FemaleArmor
78@pushlist 'ItemTypes' 0x1c04 //FemalePlate
79@pushlist 'ItemTypes' 0x1c09 //FemalePlateSkirt
80@pushlist 'ItemTypes' 0x1c0c //FemaleStuddedBustier
81@pushlist 'ItemTypes' 0x1c02 //FemaleStuddedArmor
82@pushlist 'ItemTypes' 0x1c09 //FemaleRingmailSkirt
83@pushlist 'ItemTypes' 0x1c00 //FemaleLeatherShorts
84@pushlist 'ItemTypes' 0x1c09 //FemaleLeatherSkirt
85@pushlist 'ItemTypes' 0x1c06 //FemaleLeatherArmor
86@pushlist 'ItemTypes' 0x1c0b //FemaleLeatherBustier
87@pushlist 'ItemTypes' 0x1c09 //FemaleBoneSkirt
88//Fencing
89@pushlist 'ItemTypes' 0xf62  //Spear
90@pushlist 'ItemTypes' 0x1403 //ShortSpear
91@pushlist 'ItemTypes' 0xe87  //Pitchfork
92@pushlist 'ItemTypes' 0x1405 //Warfork
93@pushlist 'ItemTypes' 0x1401 //Kryss
94@pushlist 'ItemTypes' 0xf52  //Dagger
95//Macing
96@pushlist 'ItemTypes' 0x13b0 //Waraxe
97@pushlist 'ItemTypes' 0xdf0  //BlackStaff
98@pushlist 'ItemTypes' 0x1439 //WarHammer
99@pushlist 'ItemTypes' 0x1407 //WarMace
100@pushlist 'ItemTypes' 0xe89  //QuarterStaff
101@pushlist 'ItemTypes' 0x143d //HammerPick
102@pushlist 'ItemTypes' 0x13b4 //Club
103@pushlist 'ItemTypes' 0xe81  //ShepherdsCrook
104@pushlist 'ItemTypes' 0x13f8 //GnarledStaff
105@pushlist 'ItemTypes' 0xf5c  //Mace
106@pushlist 'ItemTypes' 0x143b //Maul
107//Swords
108@pushlist 'ItemTypes' 0x13b9 //VikingSword
109@pushlist 'ItemTypes' 0xf61  //Longsword
110@pushlist 'ItemTypes' 0x1441 //Cutlass
111@pushlist 'ItemTypes' 0x13b6 //Scimitar
112@pushlist 'ItemTypes' 0xec4  //SkinningKnife
113@pushlist 'ItemTypes' 0x13f6 //ButcherKnife
114@pushlist 'ItemTypes' 0xf5e  //Broadsword
115@pushlist 'ItemTypes' 0x13ff //Katana
116@pushlist 'ItemTypes' 0xec3  //Cleaver
117//Axes
118@pushlist 'ItemTypes' 0xf43 //Hatchet
119@pushlist 'ItemTypes' 0xf45 //ExecutionersAxe
120@pushlist 'ItemTypes' 0xf4d //Bardiche
121@pushlist 'ItemTypes' 0xf4b  //DoubleAxe
122@pushlist 'ItemTypes' 0x143e //Halberd
123@pushlist 'ItemTypes' 0x13fb //LargeBattleAxe
124@pushlist 'ItemTypes' 0x1443 //TwoHandedAxe
125@pushlist 'ItemTypes' 0xf47  //BattleAxe
126@pushlist 'ItemTypes' 0xf49  //Axe
127//Bows
128@pushlist 'ItemTypes' 0x13fd //HeavyXbow
129@pushlist 'ItemTypes' 0xf50  //Xbow
130@pushlist 'ItemTypes' 0x13b2 //bow
131//Instruments
132@pushlist 'ItemTypes' 0xeb2 //Harp
133@pushlist 'ItemTypes' 0xe9c //Drums
134@pushlist 'ItemTypes' 0xeb3 //Lute
135@pushlist 'ItemTypes' 0xe9e //Tambourine
136@pushlist 'ItemTypes' 0x2805 //BambooFlute
137//Other Helmets
138@pushlist 'ItemTypes' 0x140f //NorseHelm
139//BoneArmor
140@pushlist 'ItemTypes' 0x1451 //BoneHelm
141@pushlist 'ItemTypes' 0x1457 //BoneLegs
142@pushlist 'ItemTypes' 0x1453 //BoneArms
143@pushlist 'ItemTypes' 0x1455 //BoneGloves
144//SlayerWands
145@pushlist 'ItemTypes' 0xdf2 //SlayerWands
146@pushlist 'ItemTypes' 0xdf3 //SlayerWands
147@pushlist 'ItemTypes' 0xdf4 //SlayerWands
148@pushlist 'ItemTypes' 0xdf5 //SlayerWands
149//OtherSTuff, that wasnt in list...
150@pushlist 'ItemTypes' 0xdf5 //SlayerWands
151@pushlist 'ItemTypes' 0xefa //SpellBook
152@pushlist 'ItemTypes' 0x141a //platemailleggings
153@pushlist 'ItemTypes' 0x1b7a //woodenshield
154@pushlist 'ItemTypes' 0x13e2 //studdedchets
155@pushlist 'ItemTypes' 0x1b79 //woodenkiteshield
156@pushlist 'ItemTypes' 0x26bd //harpoon
157@pushlist 'ItemTypes' 0x1c05 //Femaleplatechest
158@pushlist 'ItemTypes' 0x1c0d //studdedbrasier
159@pushlist 'ItemTypes' 0x1c01 //leathershorts
160@pushlist 'ItemTypes' 0x1b75 //metalkiteshield
161@pushlist 'ItemTypes' 0x1c07 //Femaleleather
162@pushlist 'ItemTypes' 0x1416 //platemailchest
163@pushlist 'ItemTypes' 0x13dd //studdedgloves
164@pushlist 'ItemTypes' 0x1454 //Bonechest
165@pushlist 'ItemTypes' 0x13d2 //leatherleggings
166@pushlist 'ItemTypes' 0x1409 //closehelm
167@pushlist 'ItemTypes' 0x13d4 //studdedarms
168
169createlist JewelsTypes
170
171@pushlist 'JewelsTypes' 3862 //amethyst
172@pushlist 'JewelsTypes' 3856 //emerald
173@pushlist 'JewelsTypes' 3885 //tourmaline
174@pushlist 'JewelsTypes' 3865 //sapphire
175@pushlist 'JewelsTypes' 3861 //citrine
176@pushlist 'JewelsTypes' 3877 //amber
177@pushlist 'JewelsTypes' 3878 //diamond
178@pushlist 'JewelsTypes' 3859 //ruby
179@pushlist 'JewelsTypes' 3873 //starsapphire
180
181foreach x in ItemTypes
182  while findtype x backpack as found
183    hotkey 'set last target'
184    target found
185    @setvar myVariable lasttarget
186    wait 200
187    getlabel 'myVariable' myLabel
188    if 'unidentified' in myLabel
189    lift myVariable 1
190    drop junkBag  -1 -1 0
191    elseif 'blessed' in myLabel
192        #ignore blessed and continue
193        @ignore myVariable
194    elseif 'exceptional' in myLabel
195        @ignore myVariable
196    endif
197    sysmsg myLabel 85
198    wait 1000
199  endwhile
200endfor
201
202sysmsg 'Unidentified object movement complete'
203
204foreach x in JewelsTypes
205  while findtype x backpack as found
206    hotkey 'set last target'
207    target found
208    @setvar myJewelsVariable lasttarget
209    wait 200
210    lift myJewelsVariable 999
211    drop jewelsBag  -1 -1 0
212    wait 1000
213  endwhile
214endfor
215
216sysmsg 'Jewels movement complete'
217sysmsg 'All Done'