2DWorlds Forums
Okay- Scripting is literally peeing on me - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Scripting (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=13)
+--- Thread: Okay- Scripting is literally peeing on me (/showthread.php?tid=3612)



Okay- Scripting is literally peeing on me - Sazaho - 04-19-2011

without the courtesy of calling it 'RAIN'

Script1: '=' expected near 'hit'
If =hit.Body ~= script.Parent.Parent.Body

Script7: '<eof>' expected near 'end'
<eof> end

Script7: unexpected symbol next to '<'

Okay- then I delete every character next to it one by one, testing in-between each one, and...

Script7: '<eof>' expected near 'end'

Okay- I'm about to drop a NUKE On Lua scripting.


RE: Okay- Scripting is literally peeing on me - Anti - 04-19-2011

XD

When it says "<eof> expected near end", it means you have 1 end too much

And = expected near hit doesnt mean that either.


RE: Okay- Scripting is literally peeing on me - Sazaho - 04-19-2011

Then scripting has just mocked me in the face of Buildism- what does the =s mean then??


RE: Okay- Scripting is literally peeing on me - Jacob__mybb_import1 - 04-19-2011

Did you capitalize If in your script? If you did, the Lua compiler doesn't recognize the keyword and thinks you're defining a variable.


RE: Okay- Scripting is literally peeing on me - Sazaho - 04-19-2011

*explodes* Yes... Yes I did D: