erc-part-reason-various-alist

erc-part-reason-various-alist is a variable defined in `erc.el'.
Its value is
nil


Documentation:
Alist of possible arguments to the /part command.

Each element has the form:
(REGEXP RESULT)

If REGEXP matches the argument to /part, then its relevant RESULT
will be used. RESULT may be either a string, or a function. If
a function, it should return the part message as a string.

If no elements match, then the empty string is used.

As an example:
(setq erc-part-reason-various-alist
'(("xmms" dme:now-playing)
("version" erc-part-reason-normal)
("home" "Gone home !")
("^$" "Default Reason")))
If the user types "/part home", then "Gone home !" will be used
as the part message.

You can customize this variable.