Its easy to use when you have highlights enabled.
This means many blinking channels when people need you.
This snippet simply cycles trough all channels, so it unhighlights them.
Usage:
/cycle [-s #channel]
The option -s #channel makes the cycle end in the channel (#channel).
alias cycle {
set %c.ticks $ticks
var %a = 1, %b = $comchan($me,0)
while (%a <= %b) {
window -a $comchan($me,%a)
if ($1 == -s && %a == %b && $me ison $2) { window -a $2 | echo -agt * Cycle completed in: $bytes($calc($ticks - %c.ticks),b) ms. | unset %c.ticks }
inc %a 1
}
}