computer.shutdown

From ComputerCraft
Jump to navigation Jump to search

computer.shutdown
Function
Syntax
computer.shutdown()
Returns nil
API computer
Source CC:Tweaked (source)

Shutdown a computer peripheral.

ExampleExampleShutdown a Computer
Shutdown a Computer.
Code
local computer = peripheral.find("computer")
computer.shutdown()