home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.madoka.org
/
2014.12.ftp.madoka.org.tar
/
ftp.madoka.org
/
pub
/
plum
/
2.x
/
plum2_28_2.lzh
/
module
/
ctcp
/
finger.plm
< prev
next >
Wrap
Text File
|
1998-10-15
|
1KB
|
57 lines
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><!-- $_ if 0; # -*- perl -*-
# $Id: finger.plm,v 2.1 1998/10/06 04:05:18 hasegawa Exp $
# copyright (c)1998 pupu_j <hasegawa@agusa.nuie.nagoya-u.ac.jp>
package ctcp_finger;
$CLIENTINFO = 'FINGER';
$_ = 'ctcp_finger';
sub cpss_finger {
local($serverno, $prefix, $cmd, @params) = @_;
local($userno, $nick, $host);
$userno = $'userno[$serverno];
$nick = &'prefix($prefix);
foreach $cno (&'array($'clientlist)) {
next unless $'avail[$cno];
next unless $'server[$cno] == $serverno;
$host = (&'peername($cno))[2] || join('.', unpack('C4', pack('N', (&'peername($cno))[1])));
&'s_print($serverno, '', 'NOTICE', $nick, "\cA" . join(' ', $cmd, "$'nick[$cno] is <$'user[$cno]\@$host>") . "\cA");
}
return ($prefix, $cmd, $params);
}
__END__
--><HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-2022-JP">
<LINK REV="made" HREF="mailto:hasegawa@agusa.nuie.nagoya-u.ac.jp">
<TITLE>ctcp/finger.plm</TITLE></HEAD><BODY>
$B%*%s%i%$%s%I%-%e%a%s%H(B
<HR><H3>$BL>A0(B</H3>
ctcp/finger.plm - CTCP FINGER$B$KH?1~$7$F%/%i%$%"%s%H$N>pJs$rAw$k(B
<HR><H3>$B@bL@(B</H3>
CTCP FINGER$B$,Aw$i$l$F$-$?$H$-!"(B
$B@\B3$5$l$F$$$k%/%i%$%"%s%H$N>pJs$rAw$jJV$7$^$9!#(B
$B%/%i%$%"%s%H$N>pJs$O%K%C%/%M!<%`!"@\B3;~$N%f!<%6L>$H(B
$B@\B385$N%[%9%HL>$G$9!#(B
<HR><H3>$B%W%m%Q%F%#(B</H3>
<HR><H3>$B@_DjNc(B</H3>
<PRE>
+ ctcp/finger.plm
</PRE>
</BODY></HTML>