This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
twiclo's profile picture

Is there some way for the turtle to know when it's been emptied?

Started by twiclo, 09 September 2012 - 09:48 PM
twiclo #1
Posted 09 September 2012 - 11:48 PM
So I have a mining turtle and I've got it set up so that when it gets full it returns and whats inside is pumped into a chest. But then I have to go down there type "go down 3" then "excavate 15" so is there some way to have it do those automatically after it's been emptied?
Mmmmmmmm #2
Posted 10 September 2012 - 12:24 AM
shell.run("go down 3"); shell.run ("excavate 15")
This should be in Ask a Pro.
twiclo #3
Posted 10 September 2012 - 04:05 AM
Oh sorry, I'm new.
And I already have that programmed but it to automatically run that after its been unloaded
Sammich Lord #4
Posted 10 September 2012 - 05:42 AM
Oh sorry, I'm new.
And I already have that programmed but it to automatically run that after its been unloaded
Edit the excavate program in the ROM to after it's been emptied to go back up.
twiclo #5
Posted 10 September 2012 - 06:03 AM
That's what I'm trying to figure out is how do I tell it to do something after it's been emptied.
Cloudy #6
Posted 10 September 2012 - 08:05 AM
Moved to correct forum.