I need that if a person registers and enters a nickname that exists, it is checked and written that such a nickname already exists:
For example, I created an account. And so, we have an account with the nickname "Creator", and I want that if the next person wants to make the same nickname, then the system would write to him that such a nickname already exists. I know how to make the system write to him, just how to check that such a nickname already exists.