erc-part-hook

erc-part-hook is a variable defined in `erc.el'.
Its value is
nil

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

Documentation:
Hook run when processing a PART message directed at our nick.

The hook receives one argument, the current BUFFER.
See also `erc-server-QUIT-functions', `erc-quit-hook' and
`erc-disconnected-hook'.

You can customize this variable.