SHOW:
|
|
- or go back to the newest paste.
| 1 | local m = peripheral.wrap("left")
| |
| 2 | write("How many items do I add to the board?: ")
| |
| 3 | local Num = tostring( read() ) | |
| 4 | local string = "" | |
| 5 | local y = 1 | |
| 6 | for i=1,Num do | |
| 7 | write("What should I add to the board?: ")
| |
| 8 | string=string.." "..read() | |
| 9 | m.setCursorPos(1,y) | |
| 10 | m.write(string) | |
| 11 | string.clear() | |
| 12 | local y = y + 1 | |
| 13 | end |