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
/
dcc
/
forward.plm
< prev
next >
Wrap
Text File
|
1998-10-15
|
2KB
|
83 lines
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><!-- $_ if 0; # -*- perl -*-
# $Id: forward.plm,v 2.10 1998/07/18 12:17:27 hasegawa Exp $
# copyright (c)1998 pupu_j <hasegawa@agusa.nuie.nagoya-u.ac.jp>
package ctcp_dcc_forward;
$CLIENTINFO = 'DCC';
$_ = 'ctcp_dcc_forward';
sub cpss_dcc {
local($serverno, $prefix, $cmd, @params) = @_;
local($userno, $nick, $list, $no, $ch);
$nick = &'prefix($prefix);
$userno = $'userno[$serverno];
foreach $key (keys(%'nameslist)) {
($no, $ch) = split(/$;/, $key);
next unless $no == $serverno;
$list = &'add($list, &'array($'nameslist{$key}));
}
foreach $item (&'property($userno, 'nick')) {
foreach $name (split(/\,/, $item)) {
next if "\L$name\E" eq "\L$'nick[$serverno]\E";
next unless &'exist($list, $name, "+$name", "\@$name");
&'s_print($serverno, '', 'PRIVMSG', $name, "\cA" . join(' ', $cmd, $params[1]) . "\cA");
foreach $cno (&'array($'clientlist)) {
next unless $'avail[$cno];
next unless $'server[$cno] == $serverno;
&'c_print($cno, '', 'NOTICE', $'nick[$cno], "*** DCC forwarded from $nick to $name");
}
return ();
}
}
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/dcc/forward.plm</TITLE></HEAD><BODY>
$B%*%s%i%$%s%I%-%e%a%s%H(B
<HR><H3>$BL>A0(B</H3>
ctcp/dcc/forward.plm - CTCP DCC$B$r;XDj$7$?%f!<%6$KE>Aw$9$k(B
<HR><H3>$B@bL@(B</H3>
CTCP DCC$B$,Aw$i$l$F$-$?$H$-!"$=$l$r;XDj$7$?%f!<%6$KE>Aw$7$^$9!#(B
$B$?$@$7E>Aw$9$k$H$-$KAw$j<g$,JQ$o$k$?$a!"E>Aw$5$l$?(BCTCP DCC$B$r(B
$B%-%c%s%;%k$9$k$3$H$O$G$-$^$;$s!#(B
<HR><H3>$B%W%m%Q%F%#(B</H3>
<DL>
<DT> ctcp.dcc.forward.nick* ($B%K%C%/%M!<%`(B)
</DT>
<DD> CTCP DCC$B$rE>Aw$9$k%K%C%/%M!<%`!#A0$+$i=gHV$K8+$F$$$-!"(B
$BF1$8%A%c%s%M%k$K;XDj$7$?%K%C%/%M!<%`$N%f!<%6$,$$$l$P!"(B
$B$=$N%f!<%6$KE>Aw$7$^$9!#;XDj$7$?%K%C%/%M!<%`$N%f!<%6$,(B
$B$$$J$1$l$PE>Aw$O9T$$$^$;$s!#(B
</DD>
</DL>
<HR><H3>$B@_DjNc(B</H3>
<PRE>
+ ctcp/dcc/forward.plm
ctcp.dcc.forward.nick: pupu_j,pupu_d
ctcp.dcc.forward.nick: pupu_ppp
</PRE>
CTCP DCC$B$,Aw$i$l$F$-$?$H$-$K!"(Bpupu_j$B!"(Bpupu_d$B!"(Bpupu_ppp$B$N(B
$B$I$l$+$N%K%C%/%M!<%`$N%f!<%6$,$$$l$P!"$=$N%f!<%6$K(BCTCP DCC$B$rE>Aw$7$^$9!#(B
</BODY></HTML>