Posted 05 July 2013 - 03:31 PM
I am looking at making a retrieval system using ComputerCraft, using both turtles and computers together to retrieve the items that are sent for and sending them to a certain pick up chest. I have made it so that you can enter the value for the block/item and an amount of the selected item/block but have encountered an issue with the turtle.dropDown() method. All of the information is sent from the computer to the turtle, and the turtle receives the info and processes it just fine but when the turtle is told to drop the items into the chest it generates a Turtle:18: Expected number error. Here is the script for the turtle; http://pastebin.com/0NMHd5Lf. All of the script is executed fine (http://gyazo.com/f9d...4caf887ad165ab6) and the computer definitely knows the value of i (As it prints it within the script), but it wont work when in turtle.dropDown. Can you just not use variables in this situation, is there some other way around it or is it just a bug within the turtle api?
Thanks for any help on the subject, I have a feeling that you just cant use variables within the method, but I thought I'd just check to make sure :)/>
Thanks for any help on the subject, I have a feeling that you just cant use variables within the method, but I thought I'd just check to make sure :)/>