computer.reboot

From ComputerCraft Wiki
(Redirected from Computer.reboot())
Jump to: navigation, search


Grid Redstone.png  Function computer.reboot
Reboots a Computer or Turtle wrapped to the computer variable.
Syntax computer.reboot()
Returns nil
Part of ComputerCraft
API peripheral

Examples

Grid paper.png  Example
Reboots the computer or turtle on the right side of the calling machine.
Code
local computer = peripheral.wrap("right")

computer.reboot()
Output Reboots any computer or turtle to the right of the calling machine.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox