ComputerCraft

ComputerCraft

21M Downloads

[Suggestion] Get another computer's label the same way you get its ID

nargyriou opened this issue · 4 comments

commented

It's all in the title

It would be pretty cool if you could read another computer's label the same way you can currently read their ID.

commented

Or you could implement a way to transmit the label via rednet.

commented

If you want to find a computer with a specific label, rednet.lookup() can already help you with that.

If you just want a list of all computer labels in the area, that's a different story - although I'm not sure what use such a list would be, if they systems on it are not specifically coded to accept incoming connections from your script anyways.

commented

I'm presuming this is actually talking about a .getLabel() method on a computer peripheral - which would be a useful feature. Sure, it could be transmitted via rednet, but that isn't a reason to not have it :).

If I'm totally misunderstanding the OP, then ignore me - sorry :).

commented