ndck76 wrote: ↑Tue Apr 06, 2021 4:22 pm
...
I've checked a bit your table. Was wondering why you enable Mono in all of the scripts?

You could do this:
Code: Select all
{$STRICT}
{$lua}
if syntaxcheck then return end
[ENABLE]
LaunchMonoDataCollector()
[DISABLE]
Directly in the "───────────────────── S C R I P T S & E D I T O R S ────────────────────────" line (turn that into a script). So when the user opens it, it will launch Mono. 1 time.
I know each of the scripts won't activate Mono every time, cuz if CE finds out it's already on, it won't do anything. But for the sake of logic, thought my suggestion could prove useful
Also, note that you never use this in your code:
Which means every time someone opens or closes the script, it will run automatically. The above prevents running of Lua when editing the script (or opening it). Example with "Infinite Quick Item (Ctrl + Numpad 2)" script: if I don't activate it, but open it, then click OK to close the script, it will run automatically (even though I've not enabled it). To prevent that, do this:
Code: Select all
..
..
[ENABLE]
{$lua}
if syntaxcheck then return end -- here
LaunchMonoDataCollector()
{$asm}
..
..
Lastly, you say people need CE 7.2. Any reason? I've checked all of your scripts and not a single one uses something that can be found only in CE 7.2 (some 7.2-specific Lua functions, like "printf"). I guess you just put it there to rule out any user complaints as related to CE-versioning?