I have a lag window that is "docked" to the taskbar using timers but when mirc isn't active it just starts flashing and i cant see why
Code:
alias lagwin {
  if (($appstate == normal) || ($appstate == maximized)) {
    if (!$window(@lag)) window -dpkhi +dL @Lag $lagwinpos
    if ((!$appactive) && ($window(@lag).ontop)) goto refresh
    else window -o @lag
    drawfill -r @lag $rgb(face) $rgb(face) 0 0
    if (($server) && ($window(@temp))) drawcopy -n @temp 0 0 1000 1000 @lag 0 0
    drawtext @lag
    window -c @temp
  }
  else {
    :refresh
    window -ph @temp
    if ($server) && ($window(@lag)) drawcopy @lag 0 0 1000 1000 @temp 0 0
    window -c @lag
    .timer.lagwin -mo 1 200 lagwin
    return
  }
  window @lag $lagwinpos
  .timer.lagwin -mo 1 200 lagwin
}


If only women came with popup menus and online help.