Function: erc-cmd-PAGE

erc-cmd-PAGE is a byte-compiled function defined in erc-page.el.gz.

Signature

(erc-cmd-PAGE LINE &optional FORCE)

Documentation

Send a CTCP page to the user given as the first word in LINE.

The rest of LINE is the message to send. Note that you will only receive pages if erc-page-mode(var)/erc-page-mode(fun) is on.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-page.el.gz
(defun erc-cmd-PAGE (line &optional _force)
  "Send a CTCP page to the user given as the first word in LINE.
The rest of LINE is the message to send.  Note that you will only
receive pages if `erc-page-mode' is on."
  (when (string-match "^\\s-*\\(\\S-+\\) ?\\(.*\\)" line)
    (let ((nick (match-string 1 line))
	  (msg (match-string 2 line)))
      (erc-cmd-CTCP nick "PAGE" msg))))