Connection dependent commands

Many KVIrc commands are connection dependent: you need an IRC connection to successfully execute them; usually because some data needs to be sent to the server. This includes commands like whois,raw,query, msg,notice,op,ctcp...
These commands must be executed in a window that is bound to a connected IRC context. You will obviously get an error message if you try to use them in a window that has no associated IRC connection.
For instance: whois will work only if you execute it in a console, channel or query window.
If you want to use these commands in a window that is not associated to any IRC context you may use the standard -r switch. You can use the same switch to execute a command in an IRC context that is not the current one.

Index, Language Overview