Posted 31 January 2013 - 11:04 AM
Heya!
I've got a question: Is it possible to get the label of a "peripheraled"-computer, without that computer having to do anything?
I've tried simply wrapping it and then using getComputerLabel(), but that didn't work.
My plan is to have a turtle that will be able to get the label of any other turtle or computer placed next to it, archive it (it's my first work with the fs API), break it and transfer it into storage. (The label will then later be used for create a list of all sorted machines)
So, back to the original question: Is it possible to get the label of a computer by designating him as a peripheral?
Thanks in advance
I've got a question: Is it possible to get the label of a "peripheraled"-computer, without that computer having to do anything?
I've tried simply wrapping it and then using getComputerLabel(), but that didn't work.
My plan is to have a turtle that will be able to get the label of any other turtle or computer placed next to it, archive it (it's my first work with the fs API), break it and transfer it into storage. (The label will then later be used for create a list of all sorted machines)
So, back to the original question: Is it possible to get the label of a computer by designating him as a peripheral?
Thanks in advance