computer.shutdown
From ComputerCraft Wiki
Revision as of 13:56, 11 February 2013 by Digipenguin (Talk | contribs)
| Shuts down a computer wrapped to the "computer" variable | |
| Syntax | computer.wrap((string) side) |
| Returns | nil |
| Part of | ComputerCraft |
| API | peripheral |
Examples
| Shuts down the computer or turtle on the right side of the calling machine. | |
| Code |
local handle = peripheral.wrap("right")
|
| Output | Shuts down any computer to the right of the computer/turtle. |