$window(Channels List) returns "Channels List" if the list window is open and null if it isn't.

//scon 2 | echo -a $window(Channels List) echoes "Channels List" if the second connection has a channel list open.

//scon 2 | window -a "Channels List" activates the second connection's channel list.