computer

A computer or turtle wrapped as a peripheral.

This allows for basic interaction with adjacent computers. Computers wrapped as peripherals will have the type computer while turtles will be turtle.

reboot()Reboot or turn on the other computer.
turnOn()Turn the other computer on.
shutdown()Shutdown the other computer.
isOn()Determine if the other computer is on.
getLabel()Get the other computer's label.
getID()Get the other computer's ID.
reboot()Source

Reboot or turn on the other computer.

turnOn()Source

Turn the other computer on.

shutdown()Source

Shutdown the other computer.

isOn()Source

Determine if the other computer is on.

Returns

  1. boolean If the computer is on.
getLabel()Source

Get the other computer's label.

Returns

  1. string | nil The computer's label.

See also

getID()Source

Get the other computer's ID.

Returns

  1. number The computer's ID.

See also