Jump to content

Rule board with computer craft.


lukeb28

Recommended Posts

Hi. I am trying to set up a rule board on the server I help run with computer craft and the monitor extensions. I have managed to figure out how to display some text on it but whenever I hit enter for another line it try's to run it as a program and also it becomes cleared whenever the server is rebooted. I know this can be done as I have seen this on other servers and want to replicate it for the one I am helping to manage. The rule board will have banned items and rules. Any Help would be appreciated.

Link to comment
Share on other sites

write it into a program, save the program as "startup"

(tip:

type "edit startup"

write your program

ctrl save, ctrl exit

type: "reboot")

Your rules should now appear every time the computer turns on.

This would solve the problem of it being wiped but I am more trying to figure out how to make the screens write out the rules. I have not used computer craft very much and when I looked on the wiki it said to use something to do with shell. I did this and it displayed but whenever I tried to go down one line it tried to run what was put down as a program and displayed "No such Program". I would rather not have this in between every line. Thank you for solving one of the problems.

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