erc-quit-reason-various-alist
erc-quit-reason-various-alist is a variable defined in `
erc.el
'.
Its value is
nil
Documentation:
Alist of possible arguments to the /quit command.
Each element has the form:
(REGEXP RESULT)
If REGEXP matches the argument to /quit, then its relevant RESULT
will be used. RESULT may be either a string, or a function. If
a function, it should return the quit message as a string.
If no elements match, then the empty string is used.
As an example:
(setq erc-quit-reason-various-alist
'(("xmms" dme:now-playing)
("version" erc-quit-reason-normal)
("home" "Gone home !")
("^$" "Default Reason")))
If the user types "/quit home", then "Gone home !" will be used
as the quit message.
You can customize this variable.