Function: erc-ctcp-query-ACTION
erc-ctcp-query-ACTION is a byte-compiled function defined in
erc.el.gz.
Signature
(erc-ctcp-query-ACTION PROC PARSED NICK LOGIN HOST TO MSG)
Documentation
Respond to a CTCP ACTION query.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-ctcp-query-ACTION (proc parsed nick login host to msg)
"Respond to a CTCP ACTION query."
(when (string-match "^ACTION\\s-\\(.*\\)\\s-*$" msg)
(let ((s (match-string 1 msg))
(buf (or (erc-get-buffer to proc)
(erc-get-buffer nick proc)
(process-buffer proc))))
(erc-display-message
parsed 'action buf
'ACTION ?n nick ?u login ?h host ?a s))))