Whisper to member(s) in a channel.
Syntax:
WHISPER <channel> <nick-list> :<message>
ERR_UNKNOWNCOMMAND
ERR_CANNOTSENDTOCHAN
ERR_USERNOTINCHANNEL
ERR_NEEDMOREPARAMS
ERR_NOTONCHANNEL
ERR_TOOMANYTARGETS
ERR_NOSUCHNICK
ERR_NOSUCHCHANNEL
IRCERR_NOWHISPER
The purpose of the WHISPER command is to whisper to one or more members in a channel within the context of that channel. The sender and all recipients must be in the channel specified. A whisper is different from a privmsg in that it includes both a user list and a channel name, indicating that the message is private but has a context.
IRCX clients should display the WHISPER message within the context (possibly a window) of the specified channel. Non- IRCX clients receive a PRIVMSG with the content of the whisper (losing the context of the whisper). Only one whisper will be sent per nick. A user may whisper to themselves.
The channel mode 'w' will disable whispers between ordinary members of the channel (but not whispers from or to channel operators).
Example 3.17. Send a WHSIPER to a user who is using IRCX
Client: WHISPER #Channel peter :Psst...
Server (to peter): :User!Ident@Hostname WHISPER #Chanel peter :Psst...
Example 3.18. Send a WHISPER to a user who is not using IRCX
Client: WHISPER #Channel J9 :Hello
Server (to J9): :User!Ident@Hostname PRIVMSG J9 :Hello
Editor's Note | |
---|---|
These examples have been added to illustrate what is meant in the "Remarks" section. |