/write -n that will prevent mIRC from adding automaticly $crlf at the begining of my line.
I mean
Code:
 //set %string abc | //set %fileSize $file(abc.txt).size | //write abc.txt %string | //echo -a string length is $len(%string) and file is: $calc(%fileSize - $file(abc.txt).size)" 
echos 7!
if the file was ending with $crlf so it echos 5

I know I can use
Code:
  /bset -t &bvar $len(%string) %string | /bwrite %fileName -1 -1 &bvar" 
but its kind of workaround 4 a problem that shouldn't exist at all.
its like writing in my local language 4 characters to a new text documet in notepad, saving it in UTF-8 format and c that there is 11 characters in my file...

the other suggestion is to add support for encoding to utf-8/unicode and decoding from it- at least for preventing other scripters from writing these
Code:
  
    if (($asc($mid($1-,%i,1)) > 223) && ($asc($mid($1-,%i,1)) < 251)) var %newString = %newString $+ $chr(215) $+ $chr($calc($asc($mid($1-,%i,1)) - 80))
    else var %newString = %newString $+ $mid($1-,%i,1)

and these:
Code:
    if (($asc($mid($1-,%i,1)) > 143) && ($asc($mid($1-,%i,1)) < 171)) var %newString = %newString $chr($calc($asc($mid($1-,%i,1)) + 80))
    else var %newString = %newString $+ $mid($1-,%i,1)

complex lines.
I think u know from what ansii lanaguage I am coding 2 and from utf-8...
I know unicode/utf-8 real support been requested several times b4- but it is much simpler than a real support and a good temporary solution.

and fix the search error in these forums...
searched for "/write crlf" and got:
Warning: Unknown modifier 'w' in /home/www/showflat.php on line 856

10q.