Blockland Files > Add-Ons
[Support] EventScript - Sharing events for the future
mctwist:
--- Quote from: Kyuande on November 15, 2017, 10:32:04 AM ---No other language uses just a > for calling a function. C++ and C# use ->.
--- End quote ---
Don't forget PHP. XML and HTML uses < and > for tags.
RTBARCHIVE:
When I copy events, it seems to only use Linux line ending (\n) and not Windows line ending (\r\n).
mctwist:
--- Quote from: RTBARCHIVE on November 15, 2017, 11:36:33 AM ---When I copy events, it seems to only use Linux line ending (\n) and not Windows line ending (\r\n).
--- End quote ---
TorqueEngine handles newlines in a weird way. It defaults to \n for NL and ignores \r completely when printed. The character is still there, but hidden. I've opened an issue to fix this, and probably will add more fixes as I go through the script.
Keep in mind, even without newlines, as long as you have an ending parenthesis or a newline before next event, it'll work just fine all on the same line.
mctwist:
--- Quote from: v1.1 changelog ---Improved the parsing significantly.
Added an in-game editor for convenience and several other client improvements.
Many bugs fixed.
--- End quote ---
Download
Sadly, I doubt I'll be able to work any more on this in the next 3 weeks. But I do have plans for it, as mentioned in the discussion topic, so please do look forward while I improve this.
mctwist:
--- Quote from: v1.2 changelog ---Added indexing
--- End quote ---
Download