pball that sounds cool. A useful tool for us switchbar lovers! lol
Since you said that here is a link to it. It's quite simple and does @windows, status windows, chans, and queries. It only does @windows/chans/queries for the server you are currently on. Just right click on any of the above types of windows and you get the option.
http://pball.pastebin.com/7Yb3dNV7There is one quirk to the script, if you hide a window then open it either via the Window menu list or another way. The right click option won't show that's it's still "hidden" and will hide it again. That's just because of how it checks the window state.
Also I can't seem to get dcc chat window states so I can't really add this for them.