you could then write &tmp
to a file and use /play
to, respectively, message the target and add the line to a window's buffer (since both commands preserve spaces).
to reproduce mIRC's behaviour entirely is undoubtedly complicated and ultimately impractical when compared to solutions offered by, for example, Saturn's spaces.dll
. however, it is interesting to know that there exist methods such as Thels's (which, by the way, is brilliant) to overcome these problems with pure mIRC script :P