hi "menu nicklist,query {"
and u put "msg $chan" but query is a PM so no detection for $chan so $active is better..