computer.reboot
From ComputerCraft Wiki
Revision as of 13:57, 11 February 2013 by Digipenguin (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=computer.wrap |args= (string) side |api=peripheral |addon=ComputerCraft |desc=Reboots a computer wrapped to the "computer" var...")
Function computer.wrap | |
Reboots a computer wrapped to the "computer" variable | |
Syntax | computer.wrap((string) side) |
Returns | nil |
Part of | ComputerCraft |
API | peripheral |
Examples
Example | |
Shuts down the computer or turtle on the right side of the calling machine. | |
Code |
local handle = peripheral.wrap("right") |
Output | reboots any computer to the right of the computer/turtle. |