os.computerID
From ComputerCraft Wiki
Revision as of 10:01, 26 November 2012 by Kingdaro (Talk | contribs) (dunno where people got "computerID" from, it's "getComputerID")
Function os.getComputerID | |
returns the ID of the computer this command is executed on. | |
Syntax | os.getComputerID() |
Returns | the ID of the Computer |
Part of | ComputerCraft |
API | os |
Examples
Example | |
prints the Computer ID | |
Code |
print(os.getComputerID()) |