home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.madoka.org
/
2014.12.ftp.madoka.org.tar
/
ftp.madoka.org
/
pub
/
plum
/
2.x
/
plum2_15_2.lzh
/
module
/
ctcp
/
clientinfo.plm
next >
Wrap
Text File
|
1997-11-16
|
1KB
|
54 lines
# <!-- -*- perl -*-
# $Id: clientinfo.plm,v 2.1 1997/11/17 00:07:51 hasegawa Exp $
# copyright (c)1997 pupu_j <hasegawa@agusa.nuie.nagoya-u.ac.jp>
package ctcp_clientinfo;
$CLIENTINFO = 'CLIENTINFO';
$_ = 'ctcp_clientinfo';
sub cpss_clientinfo {
local($serverno, $prefix, $cmd, $msg) = @_;
local($userno, $nick, $var, $list);
$userno = $'userno[$serverno];
$nick = &'prefix($prefix);
foreach $module (&'array($'modulelist[$userno])) {
eval "\$var = \$${module}\'CLIENTINFO;";
$list = &'add($list, split(/\s+/, $var)) if defined($var);
}
&'s_print($serverno, '', 'NOTICE', $nick, "\cA" . join(' ', $cmd, &'array($list)) . "\cA");
return ($prefix, $cmd, $msg);
}
__END__
--><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML><HEAD><TITLE> ctcp/clientinfo.plm </TITLE></HEAD><BODY>
$B%*%s%i%$%s%I%-%e%a%s%H(B
<HR><H3> $BL>A0(B </H3>
ctcp/clientinfo.plm - CTCP CLIENTINFO$B$KH?1~$7$F%/%i%$%"%s%H>pJs$rAw$k(B
<HR><H3> $B@bL@(B </H3>
CTCP CLIENTINFO$B$,Aw$i$l$F$-$?$H$-!"(B
$B$=$l$KH?1~$7$F%/%i%$%"%s%H>pJs$rAw$jJV$7$^$9!#(B
<HR><H3> $B%W%m%Q%F%#(B </H3>
<DL>
</DL>
<HR><H3> $B@_DjNc(B </H3>
<PRE>
+ ctcp/clientinfo.plm
</PRE>
</BODY></HTML>