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

Error (1:2: Expected Number) On House Building Script

Started by bjohnston562, 31 July 2013 - 12:50 PM
bjohnston562 #1
Posted 31 July 2013 - 02:50 PM
I made an account today after scowering your forums and I feel I just can not figure out the problem in my script for building my house.

http://pastebin.com/3DkH4mkx

the error i get is
1:2:expected number

if it is a simple fix that would be great.
Lyqyd #2
Posted 31 July 2013 - 02:56 PM
Split into new topic.

turtle.getItemCount requires a slot number to check. You have it correct later in the program, with it checking slot sixteen. Simply fill in the number if whichever slot you want checked.
bjohnston562 #3
Posted 31 July 2013 - 03:19 PM
Thank you! I look forward to trying this out when I get home!