Added by Per Amundsen almost 9 years ago
Hide Nicklist monitor panel if the active window is not a channel, otherwise show the Nicklist monitor panel.
on *:ACTIVE:*:{
if ($active ischan && !$dockpanels(nicklist)) {
dockpanels -i on
}
else if ($active !ischan && $dockpanels(nicklist)) {
dockpanels -i off
}
}