Computer (API)
From ComputerCraft Wiki
Revision as of 13:37, 8 September 2013 by LBPHacker (Talk | contribs) (Stating that computer.getID returns nothing if the observed computer/turtle is not running.)
computer stands for the variable you wrapped the computer to. Example: computer = peripheral.wrap( "top" )
Method name | Description |
---|---|
computer.turnOn() | Turns on the Computer or Turtle. |
computer.shutdown() | Shuts off the Computer or Turtle. |
computer.reboot() | Reboots the Computer or Turtle. |
computer.getID() | Gets the ID of the Computer or Turtle if it is running, otherwise returns nothing. |