2022-04-25 19:34:35 +02:00

57 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

:::{note} You are reading the help for the development version. **The current release version is Neırssi 1.3.**
:::
# msg
<!-- comment
Please submit changes to
- https://github.com/ailin-nemui/irssi/blob/master/docs/help/in/msg.in
- https://github.com/ailin-nemui/irssi/blob/master/src/core/chat-commands.c
endcomment -->
## Syntax ##
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:3ch"><code><span class="synB">MSG</span> <span class="syn10">[<span class="syn">-</span><span class="syn09">&lt;server tag></span>]</span> <span class="syn10">[<span class="syn">-channel</span> | <span class="syn">-nick</span>]</span> <span class="synB">*</span>|<span class="synB05">&lt;targets></span> <span class="synB05">&lt;message></span></code></pre></div>
## Parameters ##
| | |
| --- | --- |
| `-<server tag>`: | The server tag the targets are on. |
| `-channel`: | Indicates that the target is a channel. |
| `-nick`: | Indicates that the target is a nickname. |
The target nickname or channel and the message to send.
The target can be a comma delimited list of targets, ie
nick1,nick2 or #chan1,#chan2
Or one of the following special targets:
| | |
| --- | --- |
| `* `: | Use the active nickname or channel |
| `, `: | Last person who sent you a /msg |
| `. `: | Last person you sent a /msg to |
## Description ##
Sends a message to a nickname or channel.
## Examples ##
/MSG mike Hi, what's up?
/MSG #irssi I am awesome :)
/MSG * Do you want to build a snowman?
## See also ##
[ACTION](/documentation/help/action), [DCC](/documentation/help/dcc), [JOIN](/documentation/help/join)