Posted 24 June 2013 - 02:27 AM
Hello everyone, I am new at coding Lua and I am so jellous whenever I see something really well done with ComputerCraft. I am pretty bad at this. Anyway, I tried to make a countdown timer program on my own. This is maybe my 10th attempt at making a program and I have only made about 3 successfully. I was wondering if someone could help me get this working so that I could learn and fix the mistakes.
Here is a link to my code:
http://pastebin.com/DkSV7Wge
Also, is it possible to center the text on the monitor? If so, I will need some help on that too, and thanks very much!
EDIT: The error is, "test:20: attempt to compare string with number expected, got string"
Here is a link to my code:
http://pastebin.com/DkSV7Wge
Also, is it possible to center the text on the monitor? If so, I will need some help on that too, and thanks very much!
EDIT: The error is, "test:20: attempt to compare string with number expected, got string"
Edited on 24 June 2013 - 11:14 AM