OCD your items into a bag by Jaseowns
# OCD your items into a "bag" by Jaseowns
# UO Outlands
# Live stream: https://youtu.be/P4jbgpvM_8c
# If you want to adjust for other bags use -info
@setvar! globalTimeout 650
if not varexist jootbag or not find jootbag backpack
if counttype "bag" backpack = 1 and findtype "bag" backpack as lootbag
overhead "Automatically setting to bag"
@setvar! jootbag lootbag
else
overhead "Select your loot bag"
@setvar! jootbag
endif
endif
clearsysmsg
if findtype "reagent satchel" self as jatchel
overhead "Organize Satchel" 88
menu jatchel 0
endif
lift jootbag
drop backpack 0 0 0
wait globalTimeout
if jootbag = self
// do nothing
else
dclick jootbag
wait 200
endif
@clearignore
while findtype "pouch" backpack 0 as item
overhead "Organize Open Pouches" 77
lift item
drop jootbag 0 0 0
wait globalTimeout
if insysmsg "you may pick up an item from here"
// do nothing
else
@ignore item
endif
endwhile
while findtype "pouch" backpack 38 as item
overhead "Organize Trapped Pouches" 38
lift item
drop jootbag 0 0 0
wait globalTimeout
if insysmsg "you may pick up an item from here"
// do nothing
else
@ignore item
endif
endwhile
while findtype "Purple Potion" backpack as item
overhead "Organize Purple Potions" 118
lift item 60000
drop jootbag 53 68 0
wait globalTimeout
if insysmsg "you may pick up an item from here"
// do nothing
else
@ignore item
endif
endwhile
while findtype "Orange Potion" backpack as item
overhead "Organize Orange Potions" 48
lift item 60000
drop jootbag 58 68 0
wait globalTimeout
if insysmsg "you may pick up an item from here"
// do nothing
else
@ignore item
endif
endwhile
while findtype "Red Potion" backpack as item
overhead "Organize Red Potions" 33
lift item 60000
drop jootbag 63 68 0
wait globalTimeout
if insysmsg "you may pick up an item from here"
// do nothing
else
@ignore item
endif
endwhile
while findtype "Yellow Potion" backpack as item
overhead "Organize Yellow Potions" 53
lift item 60000
drop jootbag 68 68 0
wait globalTimeout
if insysmsg "you may pick up an item from here"
// do nothing
else
@ignore item
endif
endwhile
while findtype "White Potion" backpack as item
overhead "Organize White Potions" 0
lift item 60000
drop jootbag 73 68 0
wait globalTimeout
if insysmsg "you may pick up an item from here"
// do nothing
else
@ignore item
endif
endwhile
while findtype "Black Potion" backpack as item
overhead "Organize Black Potions" 1
lift item 60000
drop jootbag 78 68 0
wait globalTimeout
if insysmsg "you may pick up an item from here"
// do nothing
else
@ignore item
endif
endwhile
while findtype "tray" backpack as item
overhead "Organize Food Tray" 66
lift item 60000
drop jootbag 93 68 0
wait globalTimeout
if insysmsg "you may pick up an item from here"
// do nothing
else
@ignore item
endif
endwhile
// crook
while findtype 3713 backpack as item
overhead "Organize Crook" 77
lift item 60000
drop jootbag 37 66 0
wait globalTimeout
if insysmsg "you may pick up an item from here"
// do nothing
else
@ignore item
endif
endwhile
// aids
while findtype "clean bandage%s%" backpack as item
overhead "Organize Aids" 88
lift item 60000
drop jootbag 45 70 0
wait globalTimeout
if insysmsg "you may pick up an item from here"
// do nothing
else
@ignore item
endif
endwhile
@clearignore