erc-try-new-nick-p
erc-try-new-nick-p is a variable defined in `erc.el
'.
Its value is tDocumentation: If the nickname you chose isn't available, and this option is non-nil, ERC should automatically attempt to connect with another nickname. You can manually set another nickname with the /NICK command. You can customize this variable.