sparta misunderstood. That would work for a specific window, but would not log a specific user's text. For that, you'd need a script. I don't have time to write one up for you, but it would just be an on text and on input event that checks if $nick == whatever, then /write $1- to a file.
#Invision on irc.irchighway.net