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

Turtle Improvment Program problem

Started by Hydrotronics, 03 December 2015 - 04:53 PM
Hydrotronics #1
Posted 03 December 2015 - 05:53 PM
I am making a program which helps improve or just make coding turtles a bit less tedious and I have bumped into a problem.

The Error Is window:88: Expected Number

I dont even know how to respond to this one.

I named the thing APIT, I dunno if that has anything to do with it?

The code is pretty long, so here is the pastebin :)/>
Lyqyd #2
Posted 03 December 2015 - 07:37 PM
The variables red and white are nil. Use colors.red and colors.white when setting text color.
Hydrotronics #3
Posted 20 December 2015 - 04:10 PM
The variables red and white are nil. Use colors.red and colors.white when setting text color.

oh yeah… welp…. that was embarrasing
HPWebcamAble #4
Posted 02 January 2016 - 12:11 AM
Thought you might be interested in my Turtle Tweaks API: http://www.computercraft.info/forums2/index.php?/topic/24030-turtle-tweaks-api/

Also side note, you might want to use string.lower() instead of having an if-statement for capitalized versions of each direction.