Load runetome or runebook with recall scrolls by Jaseowns
# Load runetome or runebook with recall scrolls by Jaseowns
# UO Outlands
// lift recall scrolls onto books
@setvar! globalTimeout 650
if not varexist myRecallScrollsChest or not find myRecallScrollsChest ground -1 -1 2
overhead "Select the chest with scrolls" 88
@setvar! myRecallScrollsChest
endif
if myRecallScrollsChest = 0
unsetvar myRecallScrollsChest
replay
endif
@clearignore
while findtype "runetome|runebook" backpack as tome
if findtype 8012 backpack 0 as item
getlabel item desc
overhead desc 88
lift item 60000
drop tome
elseif findtype 8012 myRecallScrollsChest 0 as item
getlabel item desc
overhead desc 88
lift item 60000
drop tome
else
overhead "Out of scrolls!" 34
endif
@ignore tome
endwhile
while findtype "runetome|runebook" ground -1 -1 2 as tome
if findtype 8012 backpack 0 as item
getlabel item desc
overhead desc 88
lift item 60000
drop tome
elseif findtype 8012 myRecallScrollsChest 0 as item
getlabel item desc
overhead desc 88
lift item 60000
drop tome
else
overhead "Out of scrolls!" 34
endif
@ignore tome
endwhile
@clearignore