# echo

Outputs text to a KVirc window

Syntax

    echo [-w = <window_id>] [-i = <icon_number>] <text>

Description

Outputs the <text> to the current window.
If the 'w' switch is present , outputs the <text> to the specified window instead of the current one. The <window_id&> parameter is the global ID of the window that has to be used.
Please note that this is not the same as the standard -r rebinding switch: -w causes the specified window to be used only for output, but the command parameters are evaluated in the current window.
If the 'i' switch is given , it uses the specified icon scheme (icon and colors) , otherwise it uses the default one (0).
The KVIrc view widgets support clickable links that can be realized by using special escape sequences.

Examples

    echo Hey! this is my first echo test!
    echo -i 10 This text has a specified icon and colors
    echo -i $icon(parser error) this has the colors of the parser error messages

See also
$window, $caption, window naming conventions documentation

Main index, Command index

KVirc 3.0.0 documentation
Generated by root at Thu Apr 29 12:41:05 2004