NOTICE (extension to RFC1459 command)
Sends a notice to a channel or user. In RFC1459 a notice
could only be sent to a channel or a list of users. Now a
notice can be sent to a list of users within the context of a
channel. As before, users will not get the list of users that
received the notice.
Syntax 1 (RFC 1459 defined):
NOTICE <target> :<message>
Syntax 2 (IRCX extension):
NOTICE <channel> <nickname list> :<message>
Same as defined in RFC1459, but with the additional
functionality of sending to a list of nicknames within the
context of a channel.
| Editor's Note |
---|
This form of NOTICE is like the IRCX WHISPER command. The IRCX draft is not clear about how this
command should function, however I believe that (in order to be compatible with RFC 1459 clients), the
recepients receive the NOTICE as if it got sent to the entire channel.
Example 3.13. Possible way to handle a "contextual NOTICE" Client: NOTICE #Channel piper,Jackie,WiZ :Hey guys!
Server (to recepients): :Username!Ident@Hostname NOTICE #Channel :Hey guys!
However, a server developer could make the recepients receive the NOTICE with the channel and their nickname in it.
The IRCX draft isn't exactly clear about this. It could also be possible to use the "fallback" that the WHISPER
command calls for: send the extended version if the client supports IRCX, otherwise lose the context and send it
normally. |