erc-add-scroll-to-bottom

erc-add-scroll-to-bottom is a compiled Lisp function in `erc-goodies.el'.

(erc-add-scroll-to-bottom)

A hook function for `erc-mode-hook' to recenter output at bottom of window.

If you find that ERC hangs when using this function, try customizing
the value of `erc-input-line-position'.

This works whenever scrolling happens, so it's added to
`window-scroll-functions' rather than `erc-insert-post-hook'.