!	$Id: msg,v 1.4 2008-03-08 15:42:48 f Exp $
!
! Copyright (c) 1990-2001  Michael Sandrof, Troy Rollo, Matthew Green,
! and other ircII contributors.
!
! All rights reserved.  See the HELP SCROLLZ COPYRIGHT file for more
! information.
!
Usage: MSG [-server <server name>] <nicknames>|<channel>|%<pid>|=<nick>|@<user>|<n>|<command> <text>
  Sends a private message to the nicknames or list of nicknames
  specified.  A list of nicknames should by separated by commas
  (no spaces).  Four special case nicknames are defined.  If the
  nickname is "," (a comma), the message is sent to the last
  person who sent you a MSG.  If the nickname is "."  (a
  period), the message is sent to the last person to whom you
  sent a message.  If the nickname is "*" the message is send to
  the current channel. If the nickname is """ (doublequote), the
  action is same as if you had used /QUOTE instead.

  The second form allows you to specify a channel name to which
  to send the message.  The message will go to everyone on that
  channel.

  The third form specifies an EXEC process id to send output to.

  The fourth form allows you to specify a DCC CHAT connection over
  which to send the message. The nick specifies the nickname under
  which the connection was established.

  The fifth form allows you to specify a DCC TALK connection over
  which to send the message. The user specifies the user part of
  the user@host used to establish the DCC TALK connection.

  The sixth form lets you specify a process number to which the
  message will go, where n is the process number.  This works
  just like the EXEC -IN command.  For example:
    MSG %1 Homina homina homina
  will send the text to process 1.  Process 1 must be running
  already using a previous call to EXEC.
    
  The last form allows messages of the type MSG COMMAND <message>
  which allows you to send a message to some command.  Try MSG /ECHO blue
  This is meant to be used with QUERY primarily.

  Optional -server allows you to specify through server you wish to
  send message.

*  There is also a use of wildcards for operators.
*    MSG $*.edu
*  will address all users having .edu in their serverinfo.
*    MSG #*.edu
*  will address all users having .edu at the end of their host name.
 
See Also:
  SET BEEP_ON_MSG
  EXEC
  QUOTE
