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

is there commands having to do with monitors?

Started by mrminer8888, 29 June 2012 - 11:04 PM
mrminer8888 #1
Posted 30 June 2012 - 01:04 AM
I was wondering if there were commands for montiors. Like if you have your computer attached to your monitor….. such as maybe monitor.displayTop("HELLO I WANT TO DISPLAY THIS ON MY MONITOR!!!")
I know there are things like monitor top msg but I want to use a command for a program :P/>/> thanks
samrg472 #2
Posted 30 June 2012 - 01:06 AM
Theres things like

mon = peripheral.wrap("side")
mon.write("Hello world")

I hope that comes close enough to what you want
MysticT #3
Posted 30 June 2012 - 01:07 AM
A monitor is a peripheral, so you can use the peripheral api.
Also, the term api has a command to redirect the output to a monitor, so you can use print, write, etc. at it will display on the monitor.
Check them out in the wiki.
mrminer8888 #4
Posted 30 June 2012 - 01:07 AM
oh okay