Hmm you are all over the place with many things in same post.. Next time please split them up..

I would like the multifunctionality of the commander implemented to customize my favourite texteditor to use it for managing all about projects using my favourite scripting language - when I see what you developed and when i look on what RJ - the developer of the texteditor - created then i think it would be win/win for all. His "Texted" provides the environment for your scripting- and plugIn-System and even if both programs will not merge into the same window - they could dock, share the same desktop and one is for the editing and correctness in text while the other will securely will keep track on the locations where the documents are stored.
And of course it were cool to use the features like search in files to bring documents into the view and it were certainly no big deal to create syntax-highlighting and intellisense-driven autocomplete for multiscriptand if i take a look at the document viewer and look to the commanders interface i can see clearly what to develop is more fun and more important to you 
Ehh That is kind of not possible. Almost entire MC in a UI Controller for embedding in another program ehh hmm sorry. that will not work. Or I dont understand what you trying to say.
And mentioning that, i miss urgently some string functions that can work based on the count of chars and repeatedly search for matches starting from a given position again or to TrimCharsLeft or TrimCharsRight by a number that says how many to cut.
Intentionally "TrimChars" and not "String"but without a keyword as operation that could be doable by operator signs to a string As well as AddChars
If this means left < and this means right > and this $s1 &= $s2 is regular append $s2 to $s1 in an LTR-language then it would be =& in RTL/systems. Where also the characters are in opposite direction then.
$s1<& $s2 pads $s1 with $s2 in front, equal to $s1 = $s2 & $s1
$s1>& $s2 does the same as $s1 = $s1 & $s2 or s1 &= $s2
operator & as a symbol for concatenation
this one / a symbol to divide / cut /separate
TrimCharsLeft : $string</ $number $s1 </ 7 truncate 7 characters on the left of $s1
TrimCharsRight: $string >/ $number $s2 >/ 5 cut 5 from the right.
Sorry that will not be added, I want to keep the language simple. Not many special operators that does not existing in other languages. It is better with function calls that say what it is doing.
I want the script code to be readable. Not like pearl where you don't understand what you written after a week.
I can add special StrXXX function for different things if you have a need.
kind of a reverse operating Right$() and Left$()-functions while the Mid$() already exists - even it has only the length of 1 char but $string[4...9] were like chars "456789" : anyone instantly understands this
$string[4(9)] says somehow we had 9 chars and start at position 4... doesnt it?
Ehh ?
Improving StrFind to StrFindNext that had 1 additional parameter to determine where to start search and return relative from starting position that were about the simple string-handling without to add more keywords.
StrFind(..) takes an offset as paramter 3 (startpos)
i also miss a way to iterate trough a string step by stepand i imagine like a "When-loop" - not really a counter-functional to "For" nor "While" working loop that keeps repeating as long as a variable remains in a certain state and modifies a second variable as a reaction to each additional begin of iteration.
the initial execution were to remember the value of the conditional variable and to do the operation to the second variable with the third expression not necessary math operation but appending a char. i hope this is understandeable:
When loop ?? Sorry No. no kind of loops that don't exists anywhere else. Sorry I want to keep the script language clean and easy.
I can't see the need for it, You should be able to do that with while or for.
Q: could there be global constants that are valid in all scopes of a script?
for example
@permanent -1 ->$_NOTHING_$;
a "real const" that looks different from variables, maybe mandatory ucase,
special way of assignment or leading/trailing underscore,additional trailing $...
So a readonly variable that cannot be modified.
Hmm Maybe but is there really a need for that in a simple script language like this.
Or would it be better to develop enumerations derived from a class that will only accept one assignment to each property
- if no destructor they would be perfect. eachh of the enumeration/classes were a unique object that can not be copied using "new" and the delaration of it would already give it a name. thinkeable also predefined (built-in) enumerations alike for the Messagebox-styles
@enum $_mbStyle_ {
{
@var $OK=0;
@var $OKCancel=1;
# etc.
I still have a couple of ideas but its getting to much for a first post. Anyway, happy coding you're doing great
hmm it is a simple script language. Enum and stuff are nice but I don't like messing with the core script engine to add complicate stuff if it is not really needed. the script engine code is already complicated and adding major new language stuff can break stuff. The script engine code is one of the more complex parts in MC. So adding new core stuff in it is very time consuming. and script is not many users are actually using it, and when they are.. most script is very small and not that complex
One think I do plan to add is logical operators like && (AND) || (OR) ( so you can do "If( $varOne && $varTwo )" )
Adding new script functions is easy. And I'm more then happy to do that.. like more StrXX or other functions..