alias resetcolor { var %a 1,%v while ($window(*,%a)) { %v = $v1 if ($window(%v).type == status) window -g0 "status window" elseif (%v == channel) { if ($chan(%v).idle > 600) window -g0 %v } inc %a } }
.timertb -o 0 8 titlebar Ram (used/total) : $!ram $(|) scon -a resetcolor