:::{important} You are reading the help for Irssi 1.2. **The current release version is Neırssi 1.3.**
:::

# query

<!-- comment

Please submit changes to
- https://github.com/ailin-nemui/irssi/blob/master/docs/help/in/query.in
- https://github.com/ailin-nemui/irssi/blob/master/src/fe-common/core/fe-queries.c


endcomment -->


## Syntax ##

<div class="irssisyntax highlight"><pre style="\-\-cmdlen:5ch"><code><span class="synB">QUERY</span> <span class="syn10">[<span class="syn">-window</span>]</span> <span class="syn10">[<span class="syn">-</span><span class="syn09">&lt;server tag></span>]</span> <span class="synB05">&lt;nick></span> <span class="syn10">[<span class="syn09">&lt;message></span>]</span></code></pre></div>



## Parameters ##


| | |
| --- | --- |
| `-window`: |           Uses the active window instead of opening a new one. |
| `-<server tag>`: |     The server tag the target nickname is on. |

The nickname to query and the message.

## Description ##

Starts a private conversation with a nickname.

## Examples ##

    /QUERY mike
    /QUERY -freenode bob
    /QUERY -freenode -window sarah

## See also ##
[MSG](/documentation/help/1.2/msg), [UNQUERY](/documentation/help/1.2/unquery), [WINDOW](/documentation/help/1.2/window)

