-
Hello there, first time using git to ask for code, I'm sorry in advance for bad formatting or similar. I get the error " file.lua:1: unexpected symbol near '?' " when i try to launch a .lua file at the startup of an advanced computer. the startup.lua is as follow: the file.lua is as follow:
I want to clarify that if I run the http.post command standalone using the lua interface on computer works just fine. I hope I've given to you everything needed, also there's no "?" in my code, I just checked. Thank you all! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Which version of Minecraft are you on? If you're on 1.16.5+, you might be able to update to the latest version of CC:T, which will give you slightly better error messages. The only thing I can think of which might be happening here is that there's some invisible or broken character on the first line of your file (which is displayed as |
Beta Was this translation helpful? Give feedback.
Which version of Minecraft are you on? If you're on 1.16.5+, you might be able to update to the latest version of CC:T, which will give you slightly better error messages.
The only thing I can think of which might be happening here is that there's some invisible or broken character on the first line of your file (which is displayed as
?
instead) - you could try deleting the whole line and retyping it out. Sorry, realise that's not very helpful!