@rhasttaff:
I have taken your comment into consideration, and have modified my snippet. However, it has an elseif { statement because it will first check if you specified $1 and if it is a channel. If it isn't, it will check if the active window is a channel, and if it is a channel, it will display the channel info for the current channel.
I hope this makes sense. :)
[The Hylian/Human Hybrid!]