echoprivmsg

Outputs text to a KVIrc window
Syntax

echoprivmsg [-w=<window_id>] [-i=<color_set>] [-n] <nick> <user> <host> <text>

Description
Outputs a <text> to the current window in the privmsg format.
The <nick> <user> and <host> parameters are formatted as specified by the user preferences (for example the nick may use smart colorisation). If you don't know the username and host then just use '*' for that parameters. The message will also get the highlighting rules applied. If the 'w' switch is present, outputs <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).
If the -n switch is present then the highlighting users are not applied. For more informations about the icon/color schemes see $msgtype. The KVIrc view widgets support clickable links that can be realized by using special escape sequences.
Examples
echoprivmsg Test * * This is a test message
echoprivmsg -i=$msgtype(ChanPrivmsgCrypted) Pragma pragma staff.kvirc.net Hi people! :)
See also
$window, $caption, $msgtype, echo, Window Naming Conventions

Main, Commands
KVIrc 3.0.0 Documentation
Generated by root at Tue Apr 5 02:51:09 2005