Yeah, consecutives spaces are lost with command, you can get around this by writting a binary variable to the file with /bwrite.
Keep using write -c at the end, but just to clear the file, then use this:
Code:
bset &a 1 $regsubex(%one,/(.)/g,$asc(\1) $+ $chr(32))
bwrite file.txt 0 -1 &a


For the if condition, if you want to check if both lines are different or not, you should use the '==' operator ('===' for case sensitive check), not 'isin'


#mircscripting @ irc.swiftirc.net == the best mIRC help channel