UOSteam Miner - Aira
Posted: Sat Mar 23, 2019 1:38 pm
All you need to do is on the 3rd to last line, change that value to that of your own mobile forge, this will mine and smelt once your specified pack weight is reached, 400 in the case of this script and works with both shovel and pickaxe(garg as well)
if @findtype '0xf39' 'any' 'backpack' 'any' '2'
@usetype '0xf39' '0' 'backpack' '1' 1
elseif @findtype '0xe86' 'any' 'backpack' 'any' '2'
@usetype '0xe86' 'any' 'backpack' 'any' '2'
endif
waitfortarget 5000
if direction == 0
targettileoffset 0 -1 0
elseif direction == 1
targettileoffset 1 -1 0
elseif direction == 2
targettileoffset 1 0 0
elseif direction == 3
targettileoffset 1 1 0
elseif direction == 4
targettileoffset 0 1 0
elseif direction == 5
targettileoffset -1 1 0
elseif direction == 6
targettileoffset -1 0 0
elseif direction == 7
targettileoffset -1 -1 0
else
headmsg 'No Tools Found!'
endif
pause 600
if @injournal 'no metal' 'system'
headmsg 'Time to Move'
pause 2000
@clearjournal
endif
if weight > 400
findtype 0x19b9
usetype 0x19b9
waitfortarget 15000
target! 0x4007708d
endif
pause 500
if @findtype '0xf39' 'any' 'backpack' 'any' '2'
@usetype '0xf39' '0' 'backpack' '1' 1
elseif @findtype '0xe86' 'any' 'backpack' 'any' '2'
@usetype '0xe86' 'any' 'backpack' 'any' '2'
endif
waitfortarget 5000
if direction == 0
targettileoffset 0 -1 0
elseif direction == 1
targettileoffset 1 -1 0
elseif direction == 2
targettileoffset 1 0 0
elseif direction == 3
targettileoffset 1 1 0
elseif direction == 4
targettileoffset 0 1 0
elseif direction == 5
targettileoffset -1 1 0
elseif direction == 6
targettileoffset -1 0 0
elseif direction == 7
targettileoffset -1 -1 0
else
headmsg 'No Tools Found!'
endif
pause 600
if @injournal 'no metal' 'system'
headmsg 'Time to Move'
pause 2000
@clearjournal
endif
if weight > 400
findtype 0x19b9
usetype 0x19b9
waitfortarget 15000
target! 0x4007708d
endif
pause 500