Function: erc-cmd-AMSG
erc-cmd-AMSG is an interactive and byte-compiled function defined in
erc.el.gz.
Signature
(erc-cmd-AMSG LINE)
Documentation
Send LINE to all channels of the current network.
Interactively, prompt for the line of text to send.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-cmd-AMSG (line)
"Send LINE to all channels of the current network.
Interactively, prompt for the line of text to send."
(interactive "sSend to all channels on this network: ")
(setq line (string-remove-prefix " " line))
(erc-with-all-buffers-of-server erc-server-process
#'erc--connected-and-joined-p
(erc-send-message line)))