Jump to content

Monitor clean when restart server :/


aroeira

Recommended Posts

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...