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

[Turtle Help]Sign Placement

Started by dangerclip, 23 March 2013 - 06:59 PM
dangerclip #1
Posted 23 March 2013 - 07:59 PM
Okay so I am on a Mindcrack FTB server and the server is using the Economy plugin for our currency. I have made a McDonald's and I want it completely ran by my little turtle friend. So the idea is that the turtle is at his register and he takes your order. Then he goes from there down to the basement grabs what you ordered and how many, goes up another chute and then dumps the items in a chest. Then I would like the turtle to use it's turtle.place(signText) to place a sign that creates a sign shop with my name on it. Bad thing is, I first don't know how to separate the text into the lines I need them to each be in. And second because it starts by typing on the second line. Thank you for any help that you provide!
Viproz #2
Posted 23 March 2013 - 08:39 PM
Hi,

This thing should work :
turtle.place("first line\nSecond line\nThird line\nFourth line")
\n is used to go to the next line
dangerclip #3
Posted 24 March 2013 - 06:16 AM
Thank you! Works fine now :D/>