The problem with this alias is that it won't always work.
For instance, I've made a custom /say alias, and it will not work whatsoever.
Like I've said, all it has to do is return true or false if a query or dcc exists, and I'm in it (which is pretty obvious, because its a tad hard for you not to be in a query).
It doesn't return active window, just a simple t/f.