Wikia

The Tekkit Wiki

Monitor (ComputerCraft)

Talk0
972pages on
this wiki
Revision as of 05:46, August 16, 2012 by 222.155.139.8 (wall)

Monitors

2012-06-26 22.04.16
A monitor next to its controlling console, displaying the message "Hello World!"
JpzgAdded by Jpzg

The ComputerCraft monitor is a peripheral that allows a console to display things without being close to it or opening the console GUI. When placed together, they will form a single, bigger, monitor. The largest monitor able to be created is 8 long by 6 high.

Recipe

Stone

Stone

Stone

Stone

Glass Pane

Stone

Stone

Stone

Stone

Monitor



Use

In the console, a program can be run by using the monitor command in the console with the following format:

monitor <side> <program>

but this means that if you have a program that starts automatically, such as something to display IC2 Nuclear Reactor information, it won't start up displaying information on the monitor, it will just display it on the console.

However there is a easter egg type this:

monitor <side> secret/alongtimeago

this will get you a secret star wars movie, try it for yourself! :) (best to have a full sized monitor)

as mentioned before this means that if you have a program that starts automatically, such as something to display IC2 Nuclear Reactor information, it won't start up displaying information on the monitor, it will just display it on the console. You can instead use the code:

term.redirect(monitor)

but this will put everything on the monitor that would normally be on the console. Even if you open the GUI and enter another command, it will display on the monitor instead, which is inconvient as you have to close the GUI and look at the monitor to see if you typed something right. Instead, in your code, you can say:

mon = peripheral.wrap(side)

where side is the side the monitor is on. Now if you want to, say print something on the monitor, you can type:


mon.write("Hello world!")

and it will have the desired effect.

Start a Discussion Discussions about Monitor (ComputerCraft)

  • how do I put everything I do on a computer onto a monitor?

    4 messages
    • Make a new file on your computer consisting of the following line: term.redirect(peripheral.wrap("[side]")) Change [side] to the side where y...
    • put into the computer monitor right (if the monitor is on the right hand side of the computer) and then the program, e.g. monitor left hello  ...
  • Monitors

    4 messages
    • Use a Loop
    • Computers don't automatically start when the server starts, they need a PlayerInteraction first to update them. So you have to manually rightcl...
Advertisement | Your ad here

Photos

Add a Photo
3,294photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki