Posted 04 June 2013 - 06:28 PM
i spent a while programing it and keep getting the error "wall2:15: 'for' limit must be a number"
Thanks for any help
print("This script is to be used Left to Right")
print("please input the amount of pillars")
local amount = read()
amount = z
print("please input the height")
local input = read()
input = y
print("please input the distance between pillars")
local distance = read()
distance = x
for i = 1,z do
for i = 1,y do
turtle.place()
sleep(.5)
turtle.up()
sleep(.5)
end
turtle.turnRight()
for i = 1,x do
turtle.forward()
sleep(.5)
end
turtle.turnLeft()
end
Thanks for any help