Difference between revisions of "Id"
From ComputerCraft Wiki
Bomb Bloke (Talk | contribs) |
Jonjon1234 (Talk | contribs) (Updated the page with more information on the program, as well as an image.) |
||
Line 1: | Line 1: | ||
{{Stub|Needs more info about the program itself, perhaps an image?}} | {{Stub|Needs more info about the program itself, perhaps an image?}} | ||
+ | The '''id''' program is a default program in both [[CraftOS]] and [[TurtleOS]]. | ||
+ | [[File:ID_CraftOS.png|thumb|right|300px|The ID Program in action.]] | ||
− | + | 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)|Rednet API]]. | ||
[[Category:Programs]] | [[Category:Programs]] |
Revision as of 08:25, 21 August 2016
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.