In general, sending an identify command right when you connect is not a good idea. It may get send before the server is ready to receive it. If you want it in that event, then sending it from a timer after X seconds would be better. But a better option is to use the message from the server asking you to identify and when you receive that message, THEN send the identify information.
Also, it may not be a good idea to allow everyone to use an !identify command. On some networks, it's possible to change your nick to the services nick when services are down. Someone could change their nick, type that command, and then know your password.