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

Program Not Running End Of File

Started by sumeth, 25 February 2012 - 06:35 AM
sumeth #1
Posted 25 February 2012 - 07:35 AM
Can some 1 help please? im trying to get a computer to control 2 mining turtles, however the "go" function works and they will go mining how ever when i change the input of the redstone to false (which should stop then and make them return to their original position) they only stop and dont go back to their original postion, help :P/>/>
http://pastebin.com/FTsEPHtU
Liraal #2
Posted 25 February 2012 - 08:00 AM
There's one 'end' too much.
sumeth #3
Posted 25 February 2012 - 08:17 AM
Where? the end on the miner is needed.
Liraal #4
Posted 25 February 2012 - 09:41 AM
At the end of file. unless im badly mistaken, that's the one. BTW, get yourself a notepad++ or something like this, it can collapse LUA functions for better view.