2022-04-25 19:34:35 +02:00

46 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

:::{important} You are reading the help for Irssi 1.0. **The current release version is Neırssi 1.3.**
:::
# 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">-current</span>]</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 ##
| | |
| --- | --- |
| `-current`: | Displays the output in the active window. |
| `-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 -current Testing the ECHO command
/ECHO -window #irssi Special variables such as ${N} will not be expanded.
## See also ##
[CAT](/documentation/help/1.0/cat), [EVAL](/documentation/help/1.0/eval), [EXEC](/documentation/help/1.0/exec), [LEVELS](/documentation/help/1.0/levels)