2 posts
Posted 12 October 2012 - 04:20 PM
This error occurs as soon as I start typing…
parallel :22: collector :18: attempt to call string.
[attachment=542:Collector.txt]
Could someone help me?
818 posts
Posted 12 October 2012 - 04:55 PM
well, first and foremost your code is unreadable.
436 posts
Posted 12 October 2012 - 04:57 PM
It looks like you forgot an operator there. You have:
until event== "char" and p1 "y"
where you need to have something like this:
until event== "char" and p1 == "y"
On line 18.
EDIT: @Doyle3694 His code is formatted. Your text editor sucks if you can't see it.
871 posts
Posted 12 October 2012 - 05:00 PM
For some stupid reason windows persists in using non-standard newline characters, so text files not created on windows tend to open in notepad all run together on one line. Any other text editor - even wordpad, also included with windows - can detect this and handle them fine, but notepad keeps on being notepad.
818 posts
Posted 12 October 2012 - 05:06 PM
well yeah since windows gave me notepad as the recommended program I thought he wrote it in notepad. Why even use txt files lol?
136 posts
Posted 12 October 2012 - 08:15 PM
Pro tip: Notepad++
2 posts
Posted 12 October 2012 - 09:51 PM
It wouldn't upload the default file by computercraft so I made it into a txt file