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

42 lines
1.2 KiB
Plaintext

# echo
<!-- comment
Please submit changes to
- https://github.com/ailin-nemui/irssi/blob/master/docs/help/in/echo.in
- https://github.com/ailin-nemui/irssi/blob/master/src/fe-common/core/fe-core-commands.c
endcomment -->
## Syntax ##
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:4ch"><code><span class="synB">ECHO</span> <span class="syn10">[<span class="syn">-window</span> <span class="syn09">&lt;name></span>]</span> <span class="syn10">[<span class="syn">-level</span> <span class="syn09">&lt;level></span>]</span> <span class="synB05">&lt;text></span></code></pre></div>
## Parameters ##
| | |
| --- | --- |
| `-window`: | Displays the output in the target window. |
| `-level`: | Displays the output with a given message level. |
The text output; if no target is given, the active window will be used.
## Description ##
Displays the given text.
## Examples ##
/ECHO 1 + 1 = 2 :D
/ECHO Testing the ECHO command
/ECHO -window #irssi Special variables such as ${N} will not be expanded.
## See also ##
[CAT](/documentation/help/cat), [EVAL](/documentation/help/eval), [EXEC](/documentation/help/exec), [LEVELS](/documentation/help/levels)