 
                
                4 posts
                
             
            
                Posted 29 November 2016 - 02:51 PM
                So I made a simple tunneling program for my turtle that mines and once an item appears in the 16th slot will walk back to the chest and drop all the mined items back in
Only one problem, it doesnt work.
http://pastebin.com/sJmcq1e5 
         
        
        
            
            
                
                     
                
                101 posts
                
                    
                        Location
                        Sweden
                    
                
             
            
                Posted 29 November 2016 - 08:21 PM
                In the code you wrote:
while i == 1 true do
when you probably meant
while i == 1 do
You could do "while (i == 1) == true do", which might have been your idea, but that is redundant.
This needs to change on lines: 25, 32, 37 and 45.
Good luck otherwise! ;)/>
 
         
        
        
            
            
                
                     
                
                4 posts
                
             
            
                Posted 02 December 2016 - 10:40 AM
                In the code you wrote:
while i == 1 true do
when you probably meant
while i == 1 do
You could do "while (i == 1) == true do", which might have been your idea, but that is redundant.
This needs to change on lines: 25, 32, 37 and 45.
Good luck otherwise! ;)/>
Thank you so much!