File: erc-services.el.html

There are two ways to go about identifying yourself automatically to NickServ with this module. The more secure way is to listen for identify requests from the user NickServ. Another way is to identify yourself to NickServ directly after a successful connection and every time you change your nickname. This method is rather insecure, though, because no checks are made to test if NickServ is the real NickServ for a given network or server.

As a default, ERC has the data for the official nickname services on the networks Austnet, BrasNET, Dalnet, freenode, GalaxyNet, GRnet, Libera.Chat, and Slashnet. You can add more by using M-x customize-variable RET erc-nickserv-alist.

Usage:

Put into your .emacs:

(require 'erc-services)
(erc-services-mode 1)

Add your nickname and NickServ password to erc-nickserv-passwords. Using the Libera.Chat network as an example:

(setq erc-nickserv-passwords
      '((Libera.Chat (("nickname" "password")))))

The default automatic identification mode is autodetection of NickServ identify requests. Set the variable erc-nickserv-identify-mode(var)/erc-nickserv-identify-mode(fun) if you'd like to change this behavior. You can also change the way automatic identification is handled by using:

M-x erc-nickserv-identify-mode

If you'd rather not identify yourself automatically but would like access to the functions contained in this file, just load this file without enabling erc-services-mode(var)/erc-services-mode(fun).

Defined variables (8)

erc-nickserv-alistAlist of NickServer details, sorted by network.
erc-nickserv-identified-hookRun this hook when NickServ acknowledged successful identification.
erc-nickserv-identify-modeThe mode which is used when identifying to Nickserv.
erc-nickserv-passwordsPasswords used when identifying to NickServ automatically.
erc-prompt-for-nickserv-passwordAsk for the password when identifying to NickServ.
erc-services-modeNon-nil if Erc-Services mode is enabled.
erc-services-mode-hookHook run after entering or leaving ‘erc-services-mode’.
erc-use-auth-source-for-nickserv-passwordQuery auth-source for a password when identifiying to NickServ.

Defined functions (27)

erc-nickserv-alist-ident-command(NETWORK &optional ENTRY)
erc-nickserv-alist-ident-command--inliner(INLINE--FORM NETWORK &optional ENTRY)
erc-nickserv-alist-ident-keyword(NETWORK &optional ENTRY)
erc-nickserv-alist-ident-keyword--inliner(INLINE--FORM NETWORK &optional ENTRY)
erc-nickserv-alist-identified-regexp(NETWORK &optional ENTRY)
erc-nickserv-alist-identified-regexp--inliner(INLINE--FORM NETWORK &optional ENTRY)
erc-nickserv-alist-nickserv(NETWORK &optional ENTRY)
erc-nickserv-alist-nickserv--inliner(INLINE--FORM NETWORK &optional ENTRY)
erc-nickserv-alist-regexp(NETWORK &optional ENTRY)
erc-nickserv-alist-regexp--inliner(INLINE--FORM NETWORK &optional ENTRY)
erc-nickserv-alist-sender(NETWORK &optional ENTRY)
erc-nickserv-alist-sender--inliner(INLINE--FORM NETWORK &optional ENTRY)
erc-nickserv-alist-use-nick-p(NETWORK &optional ENTRY)
erc-nickserv-alist-use-nick-p--inliner(INLINE--FORM NETWORK &optional ENTRY)
erc-nickserv-call-identify-function(NICKNAME)
erc-nickserv-get-password(NICK)
erc-nickserv-identification-autodetect(PROC PARSED)
erc-nickserv-identify(&optional PASSWORD NICK)
erc-nickserv-identify-autodetect(PROC PARSED)
erc-nickserv-identify-mode(MODE)
erc-nickserv-identify-on-connect(SERVER NICK)
erc-nickserv-identify-on-nick-change(NICK OLD-NICK)
erc-nickserv-mode(&optional ARG)
erc-nickserv-send-identify(NICK PASSWORD)
erc-services-disable()
erc-services-enable()
erc-services-mode(&optional ARG)

Defined faces (0)