Originally Posted By: Plornt
I need to send spaces over a socket with some other data but the spaces get deleted and only one is left. Is there anyway to stop mirc from stripping excess spaces?


you have to store that data in a binary variable. here's a snippet you can use that employs this method:

Code:
alias sockwritesp {
  var %unlikely = $chr(28)
  if ($sock($1)) {
    bset -tc &a 1 $replace($2, $chr(32), %unlikely) $+ $crlf
    breplace &a $asc(%unlikely) 32
    var %i = 1
    while ($pos($utfencode($1), %unlikely, %i)) {
      bset &a 1 $asc(%unlikely)
      inc %i
    }
    sockwrite $1 &a
  }
}


you can use it as $sockwritesp(<sockname>, <data>) to send that data with a trailing CRLF and multiple spaces intact.

Originally Posted By: Plornt

Also mirc 7.1 takes significantly longer to process text files oddly.


can you provide a minimal example of a snippet of code with which you notice a significant difference?


"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde