var %s = 1 while ($scon(%s)) { scon %s var %p = 1 while ($chan(%p)) { .echo -s $nick(%p,0),0) inc %p } inc %s }