Ah yes,
the multiple space problem. Well I made you something that will enable you to have a couple of real spaces ($chr(32)) in between the name and the rest of the data.
I noticed you are using $right(25) to get the data after the name, I would not use $right, since the numbers in the data may vary in length, which would mean you didn't capture all your data with $right. Instead use $gettok in this way: $gettok($1-,-6-,32)
Usage: /writedata <data>
alias writedata {
bset -t &a 1 $deltok($1-,-6-,32) æææææ $gettok($1-,-6-,32) $+ $crlf
breplace &a 230 32
bwrite c:\nottrained.txt -1 -1 &a
}
The character æ represents a space in this snippet, so you can add/delete some of em, to meet your needs.
I could swear I used to know a shorter way to simply write more spaces in a string to a file, but I only got up half an hour ago, maybe I'll recall it later on.
Greets