erc-text-matched-hook

erc-text-matched-hook is a variable defined in `erc-match.el'.
Its value is
(erc-log-matches)

  • This variable may be risky if used as a file-local variable.

Documentation:
Hook run when text matches a given match-type.
Functions in this hook are passed as arguments:
(match-type nick!user@host message) where MATCH-TYPE is a symbol of:
current-nick, keyword, pal, dangerous-host, fool

You can customize this variable.