Redirect output of irssi to file

490 Views Asked by At

I'm using irssi v1.1.2 as an IRC client and I'm trying to redirect the output of a command to a file. For example the output of /list command is:

/list *[Mm]ex*
00:01 Matched #supremexpasswords
00:01 Matched #mexico
00:01 Matched #mp3mexico
00:01 Matched #Mexic
...
00:01 End of /LIST

How to redirect the output to a file? I tried /help but didn't find any command to redirect output. Thanks.

1

There are 1 best solutions below

0
On

The command /lastlog can save the output of the current window to a file:

/lastlog -file output.txt