Function: erc-cmd-WHOIS
erc-cmd-WHOIS is a byte-compiled function defined in erc.el.gz.
Signature
(erc-cmd-WHOIS FIRST &optional SECOND)
Documentation
Display whois information for the given user.
With one argument, FIRST is the nickname of the user to request whois information for.
With two arguments, FIRST is the server, and SECOND is the user nickname.
Specifying the server is useful for getting the time the user has been idle for, when the user is connected to a different server on the same IRC network. (Only the server a user is connected to knows how long the user has been idle for.)
Aliases
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-cmd-WHOIS (first &optional second)
"Display whois information for the given user.
With one argument, FIRST is the nickname of the user to request
whois information for.
With two arguments, FIRST is the server, and SECOND is the user
nickname.
Specifying the server is useful for getting the time the user has
been idle for, when the user is connected to a different server
on the same IRC network. (Only the server a user is connected to
knows how long the user has been idle for.)"
(let ((send (if second
(format "WHOIS %s %s" first second)
(format "WHOIS %s" first))))
(erc-log (format "cmd: %s" send))
(erc-server-send send)
t))