|
Post by thedarkone on Dec 31, 2021 19:55:56 GMT
Greetings I am a total newbe in this sort of scripting and even with all the scripts i was able to find i am strugeling to get it right.
My intention of the script should be auto mining ore (found a working script for me)
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
while weight >= 380
headmsg 'Time to Smelt'
pause 1000
endwhile
while @findtype '0x19b9' 'any' 'backpack' 'any' '2' and weight >= 300
@moveitem 'found' 'mount'
pause 600
endwhile Now what it should do is melt the ores (0x19b9, 0x19b8, 0x19b7 and 0x19ba) on my beetle (0xa9)when i am at max weight 500
And then move my ingots (0x1bf2) to my pack horse(0x123)
I'll walk by hand
Anybody able to aid me please?
|
|