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

attempt to call nil

Started by j0ach1mmall3, 18 July 2013 - 08:04 PM
j0ach1mmall3 #1
Posted 18 July 2013 - 10:04 PM
I've just made a small turtle sap farm program but when i trie to run i get: "startup:24:attempt to call nil".
Does someone know how to fix this?
Script: http://pastebin.com/Cbx9Sv9d
Lyqyd #2
Posted 18 July 2013 - 10:40 PM
Split into new topic.

It's sleep, not turtle.sleep.
CCJJSax #3
Posted 18 July 2013 - 11:51 PM
use sleep(900) instead of turtle.sleep(900).
j0ach1mmall3 #4
Posted 19 July 2013 - 03:22 AM
thank you very much