Computer.reboot

From ComputerCraft Wiki
Revision as of 02:47, 12 May 2013 by TheVarmari (Talk | contribs) (Tidied up source, made code multi-line)

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 handle = peripheral.wrap("right") 
handle.reboot()
Output Reboots any computer or turtle to the right of the calling machine.