r/ComputerCraft • • Sep 05 '22

Help..

I need a little help. So im starting and i dont know why this doesnt work :

sleep(3)
rs.setOutput("right", true)
sleep(3)
rs.setOutput("right", false)

4 Upvotes

14 comments sorted by

View all comments

1

u/wolfe_br Sep 05 '22

Replace "sleep" with "os.sleep", maybe that works?

3

u/fatboychummy Sep 05 '22

os.sleep is just set to sleep in the bios (or startup.lua or whatever)

It's literally just os.sleep = sleep.

Doing that will change nothing.

1

u/wolfe_br Sep 05 '22

Oh okay, I didn't know that. Well I'm not sure without more information then...