summaryrefslogtreecommitdiff
path: root/documentation/help/msg.markdown
blob: 807e4fb7795fdba119b5833b787d86807346338a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
layout: page
title: "Help: msg"
---

{% comment %}

Please submit changes to
- https://github.com/irssi/irssi/blob/master/docs/help/in/msg.in
- https://github.com/irssi/irssi/blob/master/src/core/chat-commands.c


{% endcomment %}
[Help index](/documentation/help)

### Syntax ###

<div class="highlight irssisyntax"><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. |
{:.table.kv}

The target nickname or channel and the message to send.

Use the wildcard character '*' if you want to use the active nickname or
channel.

### 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)