Jump to content

Recommended Posts

Posted

You need to create a program called "startup" on the computer. Type this into the terminal of the computercraft computer you are running the program on. As in the computer you are using to "write" to the monitor:

Type: edit startup

(hit enter)

Type: shell.run("NameOfYourProgramYouWantToRunAtStartupGoesHere")

(i.e. - shell.run("rules") - if you want to run the program called "rules" at startup)

Then save the program and exit, and reboot the computer. It should automatically run the program you want everytime the computer starts up. Like when the server restarts.

Hope that makes sense, it's hard to type out commands for computercraft on a forum.

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...