Project

General

Profile

[Script] Hide Nicklist monitor panel if the active window is not a channel

Added by Per Amundsen over 7 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
  }
}