This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
gragok's profile picture

Only displaying a certain amount of a program on a monitor.

Started by gragok, 17 May 2014 - 11:44 AM
gragok #1
Posted 17 May 2014 - 01:44 PM
I'm trying to make a message board that displays people's message but I only want a certain amount of the program on the screen. I just want what the player says. Not what it asks you to input.

I would also like it to re-ask(or loop) straight after I finish the program.
RoD #2
Posted 17 May 2014 - 03:39 PM
can you post your code?
For the loop you can do:

function prompt()
  message = read()
  prompt()
end
I didnt really get what you mean by "what the player says, Not what is asks you to input."