Label

From ComputerCraft Wiki
Revision as of 20:16, 16 April 2014 by Cranium (Talk | contribs) (Created page with "{{Stub|Needs more info about the program itself, perhaps an image?}} Label is a built in program for computers and turtles that will create a label for the c...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This page is a stub.
Please help us by expanding it.

Label is a built in program for computers and turtles that will create a label for the computer, which will result in the label being assigned to the ID of the computer.

This prevents loss of programs in the event of destruction of the computer or turtle, with the added benefit of allowing turtles to retain fuel between being broken.

You can either set or clear the label on any computer or turtle.


Grid paper.png  Example
Set the label of the computer to "Foo"
Code
label set foo



Grid paper.png  Example
Clears the label on the computer
Code
label clear