Computer

The Computer is the main block of ComputerCraft. This is the titular computer, which is the centerpiece of this mod.

Usage
Place the computer carefully, and just right click it to use. This will open the computer command line, where you may type the name of the program you would like to run or a built-in function of the computer.

The computer is capable of interacting with monitors and disk drives, through the use of the monitor and disk commands, respectively.

There are several video tutorials on CC Lua programming on YouTube, as well as tutorials in the official ComputerCraft Wiki Note that you have to hold down the keys for 1-3 seconds.

Please note: This mod requires knowledge of Lua to code programs. Most of the Lua commands for the Computer are shown with the help command. For instance, 'help monitor' or 'help disk'.

When using with Bundled Cables, the cables must connect straight out from the "side" of the computer, not across the side. Also be aware that changing the state of any signal turns off all the others. You must build in protection in your program to prevent (sometimes disastrous... think nuclear!) undesired side-effects.

Destroying a computer will wipe out any saved programs on that computer. As such, it is recommended to install a Disk Drive and save programs to a Floppy Disk. Also, destroying a computer while it is running a program may cause your tekkit client to crash. The safest way to terminate programs is by holding down CTRL-T for a few seconds (unless the programmer has built in termination protection). Please note that the above list may not be complete. As such, anyone who finds a program not listed here is encouraged to edit this page and add it.

For more information on programming etc. try visiting the Computer Craft Wiki!

External programs can also be added (often via floppy disks), some of which may require access to the HTTP API.

Uses
There are too many uses to list, there are infinite possibilities. Here are some basic examples. It can be crafted into a Turtle (a mobile version of a Computer) which can be further upgraded to Mining Turtle or a Wireless Turtle.
 * Password Doors
 * Alarm System
 * Email
 * Gaming
 * Monitor System
 * In Game Clock
 * Time Schedules
 * Disco floor (redstone controller)
 * Billboards

There are plenty of ready made programs avaailable for you to download on the ComputerCraft Forums. These will then need to be copied onto a Floppy Disk to be used on a Computer.