on *:active:*:{
if ($lactivecid == $cid) return
var %x = 1
while ($scon(%x)) {
if ($v1 == $activecid) window -g0 "status window"
scid $v1
var %y = 1
while ($window(*,%y)) {
var %w = $v1
if ((@* !iswm %w) && (%w != status window)) window $iif($scon(%x) == $activecid,-w,-h) $+(",%w,")
inc %y 1
}
inc %x 1
}
}
on *:text:*:*:if ($activecid != $cid) window -g1 "status window"
on *:notice:*:*:if ($activecid != $cid) window -g1 "status window"
ctcp *:*:*:if ($activecid != $cid) window -g1 "status window"