This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
coolvolsfan's profile picture

Help ... im whating it on the monitor

Started by coolvolsfan, 31 December 2012 - 04:34 AM
coolvolsfan #1
Posted 31 December 2012 - 05:34 AM
… can somone come up with a code for … when i run it it will automatically put it on a monitor to the right
smigolpol #2
Posted 31 December 2012 - 06:59 AM

shell.run("monitor", "right", "yourprogram")
--or
peripheral.call("right", "yourprogram")

Or if you want the program to start directly on the monitor you can do like this:

local monitor = peripheral.wrap("right")
--For example use monitor.write() instead of print()
monitor.write("Hello world!")

Just do like this, the rest of monitor peripheral functions you can find on wiki under the peripheral functions section, just use them.
gngz #3
Posted 31 December 2012 - 07:07 AM
http://www.computercraft.info/wiki/Monitor
http://www.computercraft.info/wiki/Advanced_Monitor

Is there some information about how to use monitors.
Lyqyd #4
Posted 31 December 2012 - 12:14 PM
Moved to Ask a Pro.
coolvolsfan #5
Posted 31 December 2012 - 12:41 PM
i got it thanks guys for the help i took tbe 1st doods thang