alias sc scan
alias scan {
    //^names ${[$0] ? [$0] : C} 
}
on ^353 * {
    @ sc.chan = [$2]
    @ sc.users #= [$3-]
}
on ^366 * {
    xecho -b Users on $1: \($#sc.users\)
    fe ($sort($chanusers($1))) n1 n2 n3 n4 n5 n6 {
	eval xecho -b $fix.sc($n1)$[9]n1 $fix.sc($n2)$[9]n2 $fix.sc($n3)$[9]n3 $fix.sc($n4)$[9]n4 $fix.sc($n5)$[9]n5 $fix.sc($n6)$[9]n6
    }
    @ sc.users = []
}

/* fix by Da5id */
alias fix.sc {@ function_return = ischanop($0 $sc.chan) ? [$(cyn)@$(cl)] : (ischanvoice($0 $sc.chan) == 1 ? [$(hmag)+$(cl)] : [ ])}
