Ultimate Mining Smelter Script by Jaseowns
# Ultimate Mining Smelter Script by Jaseowns
# UO Outlands
# Works as "." if using the JaseownsUltimateMinerXML file
overhead "Automatically Smelting..." 88
clearsysmsg
@clearignore
while findtype "iron ore" backpack as jore
dclick jore
wait globalTimeout
if insysmsg "You do not see any nearby forges"
overhead "No forge nearby" 34
stop
endif
endwhile
while findtype 291|292 ground -1 -1 2 as smeltPacky
if noto smeltPacky = "friend"
getlabel smeltPacky testPacky
if "[0/2000" in testPacky
// do nothing
else
dclick smeltPacky
wait globalTimeout
while findtype "iron ore" smeltPacky as jore
dclick jore
wait globalTimeout
if insysmsg "You do not see any nearby forges"
overhead "No forge nearby" 34
@clearignore
stop
endif
endwhile
endif
endif
@ignore smeltPacky
endwhile
if findtype "pouch" backpack 38 as trapped
while findtype 7154 backpack as jngots
lift jngots 60000
drop trapped -1 -1 -1
wait globalTimeout
@ignore jngots
endwhile
endif
@clearignore