erc-make-mode-line-buffer-name

erc-make-mode-line-buffer-name is a compiled Lisp function in `erc-track.el'.

(erc-make-mode-line-buffer-name STRING BUFFER &optional FACES COUNT)

Return STRING as a button that switches to BUFFER when clicked.
If FACES are provided, color STRING with them.