Command rebinding

Rebinding a command to a specified window
Every command that KVIrc executes is bound to a specific window. For user-typed commands it is the window that the command was typed in, for events it is the window that the event relates to, etc...
It is possible to change "on-the-fly" the binding of a single command to a specific window by using the standard -r switch.
The syntax is:
command -r=<window_id> <parameters>
The <window_id> is the window identifier as described in the standard window naming conventions document. Please note that if the -r switch is specified, all the command parameters are "resolved" by using the new window.
If the window can not be found, no rebinding is made: so if you rely on the rebinding first make sure that the provided window is existing and is the one that you're looking for.
For example, $window will return the new window id.

Main index, Language overview index
KVirc 3.0.0 documentation
Generated by diego at Sat Jul 13 15:37:55 2002