try without puting the period infront of the code under the while loop that is the only problem i can see. oh, i seen another one i am pretty sure you named the drop thing wrong on the wiki it says it is turtle.drop() change thoes things and if it still dusn't work reply and i will try to put it in a turtle myself and try and debug it because it is kinda hard to without being able to run it.
I did both at once and then I isolated each solution and I still end up with the same exact error that is in the OP. I did change the turtle.drop() to turtle.drop(64) as well and still ended up with the same error.
Can I just run through each line of your program? As this is really confusing me.
dropItems = 1,6 - I'm not sure what you are declaring here, if you are trying to make dropItems a table then you need to add {} around it. Or is this a typo of 16?
i = dropItems - this line isn't needed at all, just replace all your future "i"s with dropItems instead.
while true do - this will cause it to loop forever, is this what you are after? As this means all your code would ever do is:-
dropInventory() - which I'm guessing is the name of this function and therefore is a recursive call - though I have no idea why
turtle.select(i) - well you could replace this with turtle.select(1,6 <instead correction to what dropItems was meant to be>)
turtle.drop
Can you possibly explain exactly what you want your code to do and I'd be happy to give a go at writing it for you?
You figured out the dropItems = 1,6
I just like to use a variable and i made sense rather than doing dropItems the whole time. I'm lazy >.>
I do want it to loop forever as I want there to be a constant attack
dropInventory is there so that it will know to use the function that I created above
turtle.select(i) is used so that it will go through the slots 1-6 and drop all items from there. I'm using multiple spawners, so there are multiple items and it isn't isolated to only slot 1 anymore
I have transposers set up directly in front of the turtles and I have for a while now, but I now ran into the issue of the turtles keeping hold of the items. I want them to basically throw their entire inventory in front of them to let the transposers take the items into the barrels. Then of course the constant attacking of mobs.