$window.listGenerates lists of windows
|Returns an array of window identifiers with a speficied type and eventually belonging to a specified
<type> is a window type such as 'query' or 'channel'.
See window.listtypes for a list of available window types in this KVIrc release.
If <type> is the special word 'all', all the window types are listed.
<irc_context_id> specifies the irc context in which the windows are searched.
If no <irc_context_id> is specified , the current one is used.
If <irc_context_id> is the special word 'all', all the irc context are searched.
If <irc_context_id> is the special word 'none' then only windows not belonging to any irc context are listed.
The special word 'any' used as <irc_context_id> merges the effects of 'all' and 'none' by searching all the irc contexts AND the windows not belonging to any irc context.
The windows that do not belong to any irc context (such as DCC windows), must be searched by using 'none' or 'any' as <irc_context_id>.