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

Sleep(i)

Started by Thomboy9o, 24 October 2012 - 11:27 PM
Thomboy9o #1
Posted 25 October 2012 - 01:27 AM
Hey guys à have à question i want to make à darkroom for ee and want to say to run for 20 seconds
And my question is can i do sleep(i)

And than i = 20 and à different time it's 50

THx of you kan help me and have à Nice time
Kingdaro #2
Posted 25 October 2012 - 01:37 AM
I think I get what you're saying, and it's pretty simple.

i = 20
sleep(i)
i = 50
sleep(i)

Is this what you wanted?