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

Instant-starting a program

Started by destroyergm, 12 July 2012 - 01:57 AM
destroyergm #1
Posted 12 July 2012 - 03:57 AM
Hi, I'm new to this mod and i have a problem.
How can you make your computer instant start a program when you right click it.
Is it over events or somting? I dont understand events that much.

Also, is there someway to "tick" bundled cable? Like in Eloraam computer TICKS.
Graypup #2
Posted 12 July 2012 - 04:42 AM
Right off the bat, edit startup, shell.run(PROGRAMTORUNATSTARTUP)
TICKS? sleep(TIME) TIME being time in seconds to delay.
destroyergm #3
Posted 12 July 2012 - 01:50 PM
Allright, thanks man helped a lot :)/>/>
mickey32111 #4
Posted 20 July 2012 - 03:51 PM
Or just have a file called 'startup' with the code inside
kazagistar #5
Posted 20 July 2012 - 06:44 PM
By the way, just measuring times can lead to strange results. More advanced tick detection methods are needed to work smoothly.