about summary refs log tree commit diff stats
path: root/docs/profanity-msg.1
blob: 0cd8ff9933aba3b54dd66136d9ff8f9276091091 (plain) (blame)
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
48
49
50
51
.TH man 1 "2022-04-04" "0.12.0" "Profanity XMPP client"

.SH NAME
/msg

.SH DESCRIPTION
Send a one to one chat message, or a private message to a chat room occupant. If the message is omitted, a new chat window will be opened without sending a message. Use quotes if the nickname includes spaces.

.SH SYNOPSIS
/msg <contact> [<message>]

.LP
/msg <nick> [<message>]

.LP

.SH ARGUMENTS
.PP
\fB<contact>\fR
.RS 4
Open chat window with contact, by JID or nickname.
.RE
.PP
\fB<contact> [<message>]\fR
.RS 4
Send message to contact, by JID or nickname.
.RE
.PP
\fB<nick>\fR
.RS 4
Open private chat window with chat room occupant.
.RE
.PP
\fB<nick> [<message>]\fR
.RS 4
Send a private message to a chat room occupant.
.RE

.SH EXAMPLES
/msg thor@valhalla.edda Hey, here's a message!

.LP
/msg heimdall@valhalla.edda

.LP
/msg Thor Here is a private message

.LP
/msg "My Friend" Hi, how are you?

.LP