Smelt Ore and Convert Logs to Boards by Jaseowns
# Smelting ore and turning logs into boards by Jaseowns
# It will also attempt to put all items into a resource stock pile
# UO Outlands
overhead "Put away!" 66
if targetexists
hotkey "Cancel Current Target"
endif
if findtype "log%s" backpack as logs
if findtype "hatchet" backpack or findtype "hatchet" lefthand
getlabel logs desc
overhead desc
dclick logs
wait 500
replay
endif
endif
if findtype "iron ore" backpack as ore
if findtype "forge" ground -1 -1 2
getlabel ore desc
overhead desc
dclick ore
wait 500
replay
endif
endif
if findtype "resource container" ground -1 -1 2 as stockpile
overhead "Putting into stockpile!" 88
menu stockpile 0
wft 500
hotkey 'Target Self'
endif
overhead "All done!" 66