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

[Lua][Error] Trouble with morse code translator

Started by rerere284, 21 March 2012 - 03:08 PM
rerere284 #1
Posted 21 March 2012 - 04:08 PM
I have been having some trouble with script which when you type the name of the script and your message, it translates it to Morse code via a red-stone torch on the other side of the computer.

Here is the code on pastebin because it is 277 lines long:

http://pastebin.com/eKxXAQKG

The problem is that for each letter, it just gives a long off signal.
Also looking at the console with an error I added, it seems to not know what letters are. : /
rerere284 #2
Posted 21 March 2012 - 04:15 PM
Nevermind, the problem was it was taking in 2 letters at a time as one letter. XD

Also I had no off time for the dots and dashes.