Reply To: Walking and Mining\Lumberjacking

General Macro Help Walking and Mining\Lumberjacking Reply To: Walking and Mining\Lumberjacking

#1773
sharnthor
Member
  • Topics - 21
  • Replies - 90
  • Total - 111
  • Expert
  • ★★★★★

Okay… Try this on for size 🙂 I’ve taken your script and made it “better”, I hope you don’t mind jogzgs

if not @findalias “Buggie” //set your storage animal
promptalias “Buggie”
endif
while not @injournal ‘no metal here’ and not @injournal “can’t mine that”
if @findtype 0xf39 “any” “backpack” //set shovels
useobject “found”
else
sysmsg “You do not have any digging tools!”
for 1 to 300 //do arms lore if you cannot mine for any reason
useskill ‘Arms Lore’
waitfortarget 15000
target! 0x4021629b //set to a dagger in my backpack
pause 10000
endfor
usetype 0x97b ‘backpack’ //eat fish steaks
pause 1000
endif
waitfortarget 15000
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
endif
pause 7500
endwhile
while @findtype 0x19b9 “any” “backpack” //looking for ore to move to Buggie
movetype 0x19b9 “backpack” “Buggie”
pause 1000
endwhile
clearjournal