File: scan

package info (click to toggle)
epic4 1%3A3.0-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,780 kB
  • sloc: ansic: 56,285; makefile: 630; sh: 161; perl: 30
file content (23 lines) | stat: -rw-r--r-- 516 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# Just a quick and dirty /scan routine. It's about as fast as I could
# make it. It could be fast if the nicks weren't aligned but that'd be
# ugly.
#
# - whitefang (thall@magenet.com)
#

alias scan (chan)
{
        @ chan = ischannel($chan) ? chan : C
        unless (chan)
        {
                return
        }
        xecho -b Users on $chan:
        fe ($strip(?. $channel($chan))) n1 n2 n3 n4 n5 n6 
        {
                echo $[11]n1 $[11]n2 $[11]n3 $[11]n4 $[11]n5 $[11]n6
        }
}

# tjbh/2000