os.getComputerID
From ComputerCraft Wiki
Revision as of 09:18, 27 November 2012 by 67.189.72.22 (Talk)
| 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
| prints the Computer ID | |
| Code |
print(os.getComputerID()) |