2021-10-22 22:16:28 +02:00

45 lines
988 B
Plaintext

# knock
<!-- comment
Please submit changes to
- https://github.com/ailin-nemui/irssi/blob/master/docs/help/in/knock.in
- https://github.com/ailin-nemui/irssi/blob/master/src/irc/core/irc-commands.c
endcomment -->
## Syntax ##
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:5ch"><code><span class="synB">KNOCK</span> <span class="synB05">&lt;channel></span></code></pre></div>
## Parameters ##
The channel you wish to get invited to.
## Description ##
Sends an invitation request to the channel operators of the target channel;
this command may not work on all IRC servers.
The following conditions must be met:
* You are not banned from the channel.
* The channel is not private.
* You may not be already in the channel.
* The channel must be invite only, have a key or has exceeded its user
limit.
## Examples ##
/KNOCK #irssi
/KNOCK #libera
/KNOCK #github
## See also ##
[INVITE](/documentation/help/invite), [JOIN](/documentation/help/join)