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
/
dcc
/
cancel.plm
next >
Wrap
Text File
|
1999-02-20
|
1KB
|
57 lines
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><!-- $_ if 0; # -*- perl -*-
# $Id: cancel.plm,v 2.10 1998/12/20 02:21:37 hasegawa Exp $
# copyright (c)1998 Yoshinori Hasegawa <hasegawa@madoka.org>
package ctcp_dcc_cancel;
$CLIENTINFO = 'DCC';
$_ = 'ctcp_dcc_cancel';
sub cpss_dcc {
local($serverno, $prefix, $cmd, @params) = @_;
local($nick, @msg);
$nick = &'prefix($prefix);
@msg = split(/\s+/, $params[1]);
if ("\L$msg[0]\E" eq 'chat') {
&'s_print($serverno, '', 'PRIVMSG', $nick, "\cA" . join(' ', $cmd, 'CANCEL', @msg[1, 2, 3]) . "\cA");
foreach $cno (&'array($'clientlist)) {
next unless $'avail[$cno];
next unless $'server[$cno] == $serverno;
&'c_print($cno, '', 'NOTICE', $'nick[$cno], "*** DCC canceled from $nick");
}
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@madoka.org">
<TITLE>ctcp/dcc/cancel.plm</TITLE></HEAD><BODY>
$B%*%s%i%$%s%I%-%e%a%s%H(B
<HR><H3>$BL>A0(B</H3>
ctcp/dcc/cancel.plm - DCC CHAT$B$r%-%c%s%;%k$9$k(B
<HR><H3>$B@bL@(B</H3>
DCC CHAT$B$N%j%/%(%9%H$,$-$?$H$-$K!"$=$l$r%-%c%s%;%k$7$^$9!#(B
DCC CHAT$B0J30$N(BDCC$B$K$D$$$F$O2?$b$7$^$;$s!#(B
<HR><H3>$B%W%m%Q%F%#(B</H3>
<HR><H3>$B@_DjNc(B</H3>
<PRE>
+ ctcp/dcc/cancel.plm
</PRE>
</BODY></HTML>