Project

General

Profile

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

Added by Per Amundsen about 1 year 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
  }
}