Posted 23 July 2012 - 12:30 PM
Guys, im really new to computercraft. I watched a couple of tutorials online, and i got all the basics.
I started creating a program which would allow me to enable a refinery for 5 minutes and then turn off.
This is what i got: (when i type "edit pump")
print("Loading…")
sleep(3)
print("25%")
sleep(2)
print("75%")
sleep(4)
print("100% Loaded! Welcome!")
sleep(1)
print("Launching refinery.exe")
sleep(1)
print("Refinery enabled for 5 minutes.")
redpulse left 1 1000
Everything was working untill i added redpulse left 1 1000 (approx. 5 mins(btw, im using a wireless redstone emitter))
The error i get when trying to start the program is: bios:206: [string "pump"]:12: '=' expected
I know the solution to this may be very simple, but as I said, I just started.
Thanks!
I started creating a program which would allow me to enable a refinery for 5 minutes and then turn off.
This is what i got: (when i type "edit pump")
print("Loading…")
sleep(3)
print("25%")
sleep(2)
print("75%")
sleep(4)
print("100% Loaded! Welcome!")
sleep(1)
print("Launching refinery.exe")
sleep(1)
print("Refinery enabled for 5 minutes.")
redpulse left 1 1000
Everything was working untill i added redpulse left 1 1000 (approx. 5 mins(btw, im using a wireless redstone emitter))
The error i get when trying to start the program is: bios:206: [string "pump"]:12: '=' expected
I know the solution to this may be very simple, but as I said, I just started.
Thanks!