erc-button-add-button

erc-button-add-button is a compiled Lisp function in `erc-button.el'.

(erc-button-add-button FROM TO FUN NICK-P &optional DATA REGEXP)

Create a button between FROM and TO with callback FUN and data DATA.
NICK-P specifies if this is a nickname button.
REGEXP is the regular expression which matched for this button.