computer.shutdown
From ComputerCraft Wiki
(Redirected from Computer.shutdown())
| Shuts down a Computer or Turtle wrapped to the computer variable. | |
| Syntax | computer.shutdown() |
| Returns | nil |
| Part of | ComputerCraft |
| API | peripheral |
Examples
| Shuts down the computer or turtle on the right side of the calling machine. | |
| Code |
local computer = peripheral.wrap("right") computer.shutdown() |
| Output | Shuts down any computer to the right of the computer/turtle. |