Tnx for the advices, but none of the above seems to work for me :P You see, the script is writing to a txt file, and with "ctrl +b space" its still a box in the file..
And the spaces.dll has five functions: loaded, echo, send, dcc, and input. And none of them seems to work with the "write" command.
Maybe its possible to use the "send" function to send the text to some var before its written, but I did not figure it out..
$dll(spaces.dll, send, PRIVMSG $me : $+ %text) is the only example in the readme for spaces.dll