home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.madoka.org
/
2014.12.ftp.madoka.org.tar
/
ftp.madoka.org
/
pub
/
plum
/
2.x
/
plum2_32_1.lzh
/
module
/
ctcp
/
clientinfo.plm
next >
Wrap
Text File
|
1999-02-20
|
1KB
|
54 lines
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><!-- $_ if 0; # -*- perl -*-
# $Id: clientinfo.plm,v 2.6 1998/12/20 02:24:18 hasegawa Exp $
# copyright (c)1997-1998 Yoshinori Hasegawa <hasegawa@madoka.org>
package ctcp_clientinfo;
$CLIENTINFO = 'CLIENTINFO';
$_ = 'ctcp_clientinfo';
sub cpss_clientinfo {
local($serverno, $prefix, $cmd, @params) = @_;
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, @params);
}
__END__
--><HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-2022-JP">
<LINK REV="made" HREF="mailto:hasegawa@madoka.org">
<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>
<HR><H3>$B@_DjNc(B</H3>
<PRE>
+ ctcp/clientinfo.plm
</PRE>
</BODY></HTML>