Jump to content

Computercraft startup on monitor help


Recommended Posts

startup file

shell.run("monitor","top","<PROGRAM NAME>")

 

Then make the program, inserting the location of the program instead of <PROGRAM NAME>

Note that all 3 argument of shell.run need quotes around them.
Thanks so much! That worked! I just didn't know there had to be commas.
Create a program called startup.

local mon = peripheral.wrap(“top”)

mon.clear()

mon.setCursorPos(1,1)

mon.write(“Random crap”)

mon.setCursorPos(1,2) — line break, because the peripheral api does not have a print method.

mon.write(“More random crap”)

etc.

Thanks, but I knew this method. It was just too tedious.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...