Move leather sets into bags by Jaseowns
# Move leather sets into bags by Jaseowns
# UO Outlands
# Requested by EvilFireBlade
#################
# Choose which sets to move
# You can leave all as 1 if you want
@setvar! moveRegularHideHue 1
@setvar! moveDullHideHue 1
@setvar! moveShadowHideHue 1
@setvar! moveCopperHideHue 1
@setvar! moveBronzeHideHue 1
@setvar! moveGoldenHideHue 1
@setvar! moveRoseHideHue 1
@setvar! moveVereHideHue 1
@setvar! moveValeHideHue 1
@setvar! moveAvarHideHue 1
##################
## Should not need to edit below this line
################
@setvar! globalTimeout 650
# Item type examples
######################
# 7610 0 leather cap
# 5063 0 leather gorget
# 5061 0 leather sleeves
# 5075 0 leather tunic
# 5070 0 Leather Gloves
# 5074 0 leather leggings
removelist hueHelperList
createlist hueHelperList
if moveRegularHideHue = 1
pushlist hueHelperList 0
endif
if moveDullHideHue = 1
pushlist hueHelperList 2419
endif
if moveShadowHideHue = 1
pushlist hueHelperList 2406
endif
if moveCopperHideHue = 1
pushlist hueHelperList 2413
endif
if moveBronzeHideHue = 1
pushlist hueHelperList 2418
endif
if moveGoldenHideHue = 1
pushlist hueHelperList 2213
endif
if moveRoseHideHue = 1
pushlist hueHelperList 2425
endif
if moveVereHideHue = 1
pushlist hueHelperList 2207
endif
if moveValeHideHue = 1
pushlist hueHelperList 2219
endif
if moveAvarHideHue = 1
pushlist hueHelperList 1763
endif
@clearignore
foreach myDesiredHue in hueHelperList
while findtype 3702 backpack as jag
getlabel jag desc
if "(0 items" in desc
@setvar! success 0
if findtype 5074 backpack myDesiredHue as jegs
if findtype 5070 backpack myDesiredHue as jloves
if findtype 5075 backpack myDesiredHue as junic
if findtype 5061 backpack myDesiredHue as jleeves
if findtype 5063 backpack myDesiredHue as jorget
if findtype 7610 backpack myDesiredHue as jap
dclick jag
wait globalTimeout
@setvar! success 1
while not find jegs jag
lift jegs 1
drop jag 66 89 0
wait globalTimeout
endwhile
@ignore jegs
while not find jloves jag
lift jloves 1
drop jag 85 70 0
wait globalTimeout
endwhile
@ignore jloves
while not find junic jag
lift junic 1
drop jag 66 66 0
wait globalTimeout
endwhile
@ignore junic
while not find jleeves jag
lift jleeves 1
drop jag 41 71 0
wait globalTimeout
endwhile
@ignore jleeves
while not find jorget jag
lift jorget 1
drop jag 64 61 0
wait globalTimeout
endwhile
@ignore jorget
while not find jap jag
lift jap 1
drop jag 59 50 0
wait globalTimeout
endwhile
@ignore jap
endif
endif
endif
endif
endif
endif
else
if findtype 5074 jag myDesiredHue as jegs
@ignore jegs
endif
if findtype 5070 jag myDesiredHue as jloves
@ignore jloves
endif
if findtype 5075 jag myDesiredHue as junic
@ignore junic
endif
if findtype 5061 jag myDesiredHue as jleeves
@ignore jleeves
endif
if findtype 5063 jag myDesiredHue as jorget
@ignore jorget
endif
if findtype 7610 jag myDesiredHue as jap
@ignore jap
endif
endif
ignore jag
endwhile
@clearignore
endfor
say "Thanks Jaseowns for an awesome script!" 88
overhead "All done!" 88