Id
From ComputerCraft Wiki
This page is a stub. Please help us by expanding it.
|
The id program is a default program in both CraftOS and TurtleOS.
Using the program will print the ID of the computer, with the text "This is computer #(ID)". If the computer is labelled, it will also print the label, with the text "This computer is labelled "Label Name"".
This program can be used to find the ID of the computer you're working on, useful when networking with the Rednet API.