- Code: Select all
// get your pack animal
promptalias 'pack'
while not dead
// make sure you have enough tinker tools
if counttype 0x1eb8 'any' 'backpack' < 2
headmsg 'making tinker tools'
usetype 0x1eb8
waitforgump 0x38920abd 15000
replygump 0x38920abd 23
waitforgump 0x38920abd 15000
replygump 0x38920abd 0
endif
// make sure you have enough shovels
if counttype 0xf39 'any' 'backpack' < 2
headmsg 'making a shovel'
usetype 0x1eb8
waitforgump 0x38920abd 15000
replygump 0x38920abd 72
waitforgump 0x38920abd 15000
replygump 0x38920abd 0
endif
// Macro checking
if @gumpexists 0xfbca4821
messagebox 'Player Name' 'Macro Check'
endif
msg 'all come'
// mining under your feet
clearjournal
autotargettileoffset 0 0 0
usetype 0xf39
settimer 'minetimeout' 0
while not dead
if timer 'minetimeout' > 10000
break
endif
if @injournal "You can't mine"
break
elseif @injournal 'There is no metal here to mine' 'system'
break
elseif @injournal 'You dig' 'system'
break
elseif @injournal 'You loosen some rocks' 'system'
break
endif
pause 200
endwhile
if weight > 350
while not dead
if @findtype 0x19b9 'any' 'backpack'
moveitem 'found' 'pack'
pause 500
else
break
endif
endwhile
endif
endwhile
Posts: 182
Joined: Fri Feb 19, 2016 9:46 pm
Joined: Fri Feb 19, 2016 9:46 pm