TheJoker91 Posted January 27, 2016 Share Posted January 27, 2016 So recently ive been using computercraft for just mundane tasks around my base and have had great struggle on finding programs so could anyone give me a pastebin to display multiple lines of text Link to comment Share on other sites More sharing options...
GunnerHQ Posted January 27, 2016 Share Posted January 27, 2016 What you mean? Like displaying a list? cuz that's easy Link to comment Share on other sites More sharing options...
cmyk Posted January 27, 2016 Share Posted January 27, 2016 print("Line one") print("Line two") Link to comment Share on other sites More sharing options...
GunnerHQ Posted January 27, 2016 Share Posted January 27, 2016 Isnt print for computer text? Monitor text printing is something like mon.write("example text") -- Example of code m = peripheral.wrap('left') -- This is first line\/ m.setCurosrPos(1,1) m.write('Hello World!') -- This is second line \/ m.setCursorPos(2,1) m.write('Hello to you!') Link to comment Share on other sites More sharing options...
Slit Posted January 27, 2016 Share Posted January 27, 2016 If you redirect to a monitor you can use print. Imo its a much better way of doing things since you retain control of print Link to comment Share on other sites More sharing options...
ρομ4στερ Posted February 3, 2016 Share Posted February 3, 2016 dont use redirect, uglee issues come up. but use this code mon = peripheral.wrap("SIDE") line = 1 function printt(text) mon.setCursorPos(line,1) mon.write(text) line = line + 1 end printt("INSERT TEXT IN QOUTES") -- prints first line printt("INSERT TEXT IN QOUTES") -- prints second line.... and so on and so forth. Line by line. You can also make a list and sort it but contact me ingame for that. Ill be on in another 2.5 hrs Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.