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
/
channel
/
alias.plm
next >
Wrap
Text File
|
1999-02-20
|
2KB
|
108 lines
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><!-- $_ if 0; # -*- perl -*-
# $Id: alias.plm,v 2.8 1999/01/20 14:49:02 hasegawa Exp $
# copyright (c)1997-1999 Yoshinori Hasegawa <hasegawa@madoka.org>
package channel_alias;
$_ = 'channel_alias';
sub cs_invite {
local($clientno, @message) = @_;
return &convert(3, @message);
}
sub cs_join {
local($clientno, @message) = @_;
return &convert(2, @message);
}
sub cs_kick {
local($clientno, @message) = @_;
return &convert(2, @message);
}
sub cs_list {
local($clientno, @message) = @_;
return &convert(2, @message);
}
sub cs_mode {
local($clientno, @message) = @_;
return &convert(2, @message);
}
sub cs_names {
local($clientno, @message) = @_;
return &convert(2, @message);
}
sub cs_notice {
local($clientno, @message) = @_;
return &convert(2, @message);
}
sub cs_part {
local($clientno, @message) = @_;
return &convert(2, @message);
}
sub cs_privmsg {
local($clientno, @message) = @_;
return &convert(2, @message);
}
sub cs_topic {
local($clientno, @message) = @_;
return &convert(2, @message);
}
sub cs_who {
local($clientno, @message) = @_;
return &convert(2, @message);
}
sub convert {
local($idx, @message) = @_;
local(@list);
@list = ();
if (@message > $idx) {
foreach $chan (split(/\,/, $message[$idx])) {
push(@list, &'real($chan));
}
$message[$idx] = join(',', @list);
}
return @message;
}
__END__
--><HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-2022-JP">
<LINK REV="made" HREF="mailto:hasegawa@madoka.org">
<TITLE>channel/alias.plm</TITLE></HEAD><BODY>
$B%*%s%i%$%s%I%-%e%a%s%H(B
<HR><H3>$BL>A0(B</H3>
channel/alias.plm - $B%A%c%s%M%k%(%$%j%"%9$rJQ49$9$k(B
<HR><H3>$B@bL@(B</H3>
IRC$B$N%3%^%s%I$rAw$k$H$-$K!"%A%c%s%M%k%(%$%j%"%9$r;H$($k$h$&$K$7$^$9!#(B
$B%A%c%s%M%kL>$N;XDj$,!V(B%$B%A%c%s%M%kL>!W$H$$$&7A<0$@$C$?>l9g$K!"(B
$B$=$l$r!V(B#$B%A%c%s%M%kL>(B:*.jp$B!W$H$$$&7A<0$KJQ49$7$FAw$j$^$9!#(B
<HR><H3>$B%W%m%Q%F%#(B</H3>
<HR><H3>$B@_DjNc(B</H3>
<PRE>
+ channel/alias.plm
</PRE>
</BODY></HTML>