# echo Outputs text to a KVIrc window
Syntax
    echo [-w=<window_id>] [-i=<color_set>] [-n] <text>
Description
Outputs <text> to the current window. If the 'w' switch is present, output <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). For more informations about the icon/color schemes see $msgtype. The KVIrc view widgets support clickable sockets that can be realized by using special escape sequences. The -n switch disables the message timestamping (so you can output your own timestamp or no timestamp at all).
Examples
    echo Hey! this is my first echo test!
    echo -i 10 This text has a specified icon and colors
    echo -i $msgtype(parser error) this has the colors of the parser error messages
See also
$window, $caption, $msgtype, echoprivmsg, Window Naming Conventions

Index, Commands

KVIrc 3.2.0 Documentation
Generated by root at Tue Dec 4 07:16:18 2007