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
/
version.plm
< prev
Wrap
Text File
|
1997-11-17
|
1KB
|
54 lines
# <!-- -*- perl -*-
# $Id: version.plm,v 2.2 1997/11/17 22:23:49 hasegawa Exp $
# copyright (c)1997 pupu_j <hasegawa@agusa.nuie.nagoya-u.ac.jp>
package ctcp_version;
$CLIENTINFO = 'VERSION';
$_ = 'ctcp_version';
sub cpss_version {
local($serverno, $prefix, $cmd, $msg) = @_;
local($userno, $nick, $name, $ver, $list);
$userno = $'userno[$serverno];
$nick = &'prefix($prefix);
foreach $module (&'array($'modulelist[$userno])) {
eval "\$name = \$${module}\'NAME;";
eval "\$ver = \$${module}\'VERSION;";
$list = &'add($list, $name, $ver) if defined($name) && defined($ver);
}
&'s_print($serverno, '', 'NOTICE', $nick, "\cA" . join(' ', $cmd, &'array($list), 'perl', sprintf('%1.3f', $]), ':') . "\cA");
return ($prefix, $cmd, $msg);
}
__END__
--><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML><HEAD><TITLE> ctcp/version.plm </TITLE></HEAD><BODY>
$B%*%s%i%$%s%I%-%e%a%s%H(B
<HR><H3> $BL>A0(B </H3>
ctcp/version.plm - CTCP VERSION$B$KH?1~$7$F%P!<%8%g%s>pJs$rAw$k(B
<HR><H3> $B@bL@(B </H3>
CTCP VERSION$B$,Aw$i$l$F$-$?$H$-!"$=$l$KH?1~$7$F%P!<%8%g%s>pJs$rAw$j$^$9!#(B
<HR><H3> $B%W%m%Q%F%#(B </H3>
<DL>
</DL>
<HR><H3> $B@_DjNc(B </H3>
<PRE>
+ ctcp/version.plm
</PRE>
</BODY></HTML>