Posted 10 June 2014 - 10:11 AM
Hi, I'm new to lua, and this is my second program. It's supposed to display the text "Data Monitors"
on the monitor to the left. I don't know what's wrong with it, there's just so many errors! And don't
be afraid to use a lot of technical jargon, I'm good with programming, just not lua… yet ;)/>.
Here is the code:
print ("DO NOT USE LOCK ON THIS COMPUTER") –Ignore this
sleep(4)
term.clear()
if
then
term.redirect (peripheral.wrap ("left"))
print ("Data Monitors")
end
Hope you can help me!
on the monitor to the left. I don't know what's wrong with it, there's just so many errors! And don't
be afraid to use a lot of technical jargon, I'm good with programming, just not lua… yet ;)/>.
Here is the code:
print ("DO NOT USE LOCK ON THIS COMPUTER") –Ignore this
sleep(4)
term.clear()
if
then
term.redirect (peripheral.wrap ("left"))
print ("Data Monitors")
end
Hope you can help me!