Posted 24 July 2013 - 01:21 PM
I am writing a program that will place blocks.
I wanted to make functions for each block, so to place Cobble I could just type Cobble instead of the whole thing.
So I came up with this function:
function Cobble
turtle.select(1)
turtle.placeDown()
end
When I did this, I got an error called
bios:337 [string:"room"]:2: '(' expected
so I put a ( in front of the 2nd line, and this error came up:
bios:337 [string:"room"]:2: ')' expected
and every time and place I put in a ) , the same error popped up!
please help me by replying and/or emailing the answer to Cukee8@gmail.com
- Cukee8
I wanted to make functions for each block, so to place Cobble I could just type Cobble instead of the whole thing.
So I came up with this function:
function Cobble
turtle.select(1)
turtle.placeDown()
end
When I did this, I got an error called
bios:337 [string:"room"]:2: '(' expected
so I put a ( in front of the 2nd line, and this error came up:
bios:337 [string:"room"]:2: ')' expected
and every time and place I put in a ) , the same error popped up!
please help me by replying and/or emailing the answer to Cukee8@gmail.com
- Cukee8