Jump to content




Turtle Improvment Program problem


  • You cannot reply to this topic
3 replies to this topic

#1 Hydrotronics

  • Members
  • 131 posts
  • LocationThe hall of 1000 monkeys and only 1 typewriter

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 :)

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 03 December 2015 - 07:37 PM

The variables red and white are nil. Use colors.red and colors.white when setting text color.

#3 Hydrotronics

  • Members
  • 131 posts
  • LocationThe hall of 1000 monkeys and only 1 typewriter

Posted 20 December 2015 - 04:10 PM

View PostLyqyd, on 03 December 2015 - 07:37 PM, said:

The variables red and white are nil. Use colors.red and colors.white when setting text color.

oh yeah... welp.... that was embarrasing

#4 HPWebcamAble

  • Members
  • 933 posts
  • LocationWeb Development

Posted 02 January 2016 - 12:11 AM

Thought you might be interested in my Turtle Tweaks API: http://www.computerc...tle-tweaks-api/

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





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users