Internet Direct (Indy) Version 9.0.1 Beta
TIdIRCServer.OnCommandAway
Event handler for the IRC AWAY command.

property OnCommandAway: TIdIrcOneParmEvent;
Description
OnCommandAway is a TIdIrcOneParmEvent event handler that allows the server to respond to the IRC AWAY command. AWAY is used to designate the automatic response message for a PRIVMSG message received for a client that is not connected, and to toggle the user's presence status.

When Parm contains text, the user is not available to receive additional messages and the text in Parm should be sent by the server to any clients sending messages to the user. When Parm is an empty string, the user is on-line and can resume receipt of IRC messages. For example: