Send messages to client

Is there any way to send messages to the client, through scripts running on server events. Example if the login fails, to be able to send information to client for the password failure. Similar to logger command, but to show it in the message menu of the client.

#2

No