Posted 19 June 2014 - 03:15 AM
Ok so here is the code
redstone.getInput("top")
if true then do
redstone.Output("left" , true)
sleep (1)
redstone.Output("front" , true)
sleep (2)
redstone.Output("front" , false)
sleep (3)
redstone.Output("front" , true)
sleep (1)
redstone.Output("front" , false)
end end
and the error is this
lua :3: attempt to call nil
is there something I'm missing if so please tell me
redstone.getInput("top")
if true then do
redstone.Output("left" , true)
sleep (1)
redstone.Output("front" , true)
sleep (2)
redstone.Output("front" , false)
sleep (3)
redstone.Output("front" , true)
sleep (1)
redstone.Output("front" , false)
end end
and the error is this
lua :3: attempt to call nil
is there something I'm missing if so please tell me