Home » Questions » Computers [ Ask a new question ]

Irssi: /LASTLOG match -file /tmp/irssi_discussion

Irssi: /LASTLOG match -file /tmp/irssi_discussion

I have tried to save the match "/lastlog match" to a file /tmp/irssi_discussion. I can get it work like "/lastlog /tmp/irssi_discussion" that saves the whole buffer, noted in the documentation. However, it fails on its variant.

Asked by: Guest | Views: 34
Total answers/comments: 1
Guest [Entry]

"You should put the pattern to match after the file, so:

/LASTLOG -file /tmp/irssi_discussion match

To get the full help information do:

/HELP lastlog

That includes the specific syntax details:

LASTLOG [-] [-file <filename>] [-window <ref#|name>] [-new | -away] [-<level>-<level...>] [-clear] [-count] [-case] [-regexp | -word] [-before[<#>]] [-after [<#>]] [-<# before+after>] [<pattern>] [<count>[<start>]]"