Jump to content




Help ... im whating it on the monitor

api computer game

4 replies to this topic

#1 coolvolsfan

  • New Members
  • 9 posts

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

#2 smigolpol

  • Members
  • 11 posts
  • LocationPoland

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.

#3 gngz

  • Members
  • 31 posts
  • LocationPortugal

Posted 31 December 2012 - 07:07 AM

http://www.computerc...fo/wiki/Monitor
http://www.computerc...dvanced_Monitor

Is there some information about how to use monitors.

#4 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 31 December 2012 - 12:14 PM

Moved to Ask a Pro.

#5 coolvolsfan

  • New Members
  • 9 posts

Posted 31 December 2012 - 12:41 PM

i got it thanks guys for the help i took tbe 1st doods thang





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users