avatarbr wrote:If someone will still work in bug fixes, can we get a consistent way for how commas work?
Sometimes works with space after the comma, like
@Flag(flag1, flag2) or @Goto(page1, page2).
Sometimes dont, just without a space, like
@Flag(flag1,flag2) or @Goto(page1,page2).
I see a miniscript calling a line where I have space, like this:
flag2) This text should not appear because none of the flags exists.
But in Modules, without the space does not work.
I'm still here. I'll let you know, when i stop working on it. My current Task is suspending and resuming a session, where i found a nice and "easy" solution. After implementing it and some minor other things, we could test it.
But back to topic: handling Commas is technically solved by a single function. So it should be consistent.
As far as i can see, @Flag() is
not supposed to be used with multiple parameters. Same goes for @NotFlag() This way, if you have a Command like @Flag(bla, blah) TAI is searching for Jumpmark/Flag called "bla, blah", instead of "bla" and "blah".
If you take a look at your Errorlogs: There should be an Error where you can see exactly this happening.
avatarbr wrote:Sorry, but this is really frustrating while creating scripts, because you can not catch the problem if you dont know this can happen.
I can totally understand. Unfortunately Reworking commands is none of my Priorities right now. But one day it will be!
Till then - hang tight! Let us know where problems are. I'll tag them and work on them, when the time has come.