Jump to content




Monitor


  • You cannot reply to this topic
5 replies to this topic

#1 Israphel1297

  • New Members
  • 5 posts

Posted 04 August 2012 - 10:48 PM

Hello I'm new to computercraft and I wanted to know how do I make a anything message i want appear on a monitor?

#2 ScSEre

  • New Members
  • 9 posts

Posted 04 August 2012 - 11:46 PM

Hey,
you can run a program on a monitor using: monitor <side where the monitor is placed(e.g. "left")> <program name> <arguments (if requested)>

#3 Israphel1297

  • New Members
  • 5 posts

Posted 05 August 2012 - 12:31 AM

thats not what im talking about im talking about typeing something like This is the job board and then it appears on the monitor

#4 EmTeaKay

  • Members
  • 115 posts

Posted 05 August 2012 - 12:58 AM

That's what he's saying. Have a file that has this in it:
print("This is a job board")
And then run the file name like this
monitor [side] [file name]


#5 tfoote

  • New Members
  • 134 posts
  • LocationSalt Lake, UT

Posted 05 August 2012 - 01:58 AM

I see you need help. I recomend you go visit the wiki first. Everything in computercraft is ran using lua. If you want to know CC then get familiar with Lua. It won't take too long. And we're all here to help.

#6 ~Dragon

  • Members
  • 6 posts

Posted 05 August 2012 - 02:20 AM

Here Ya Go,
mon = peripheral.wrap("side")
mon.write("Hello World!")
if you want to set the Cursor Position, mon.setCursorPos(x,y)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users