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
/
channel
/
mode
/
set.plm
Wrap
Text File
|
1998-10-15
|
2KB
|
71 lines
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><!-- $_ if 0; # -*- perl -*-
# $Id: set.plm,v 2.1 1998/09/15 11:27:35 hasegawa Exp $
# copyright (c)1998 pupu_j <hasegawa@agusa.nuie.nagoya-u.ac.jp>
package channel_mode_set;
$_ = 'channel_mode_set';
sub ss_366 {
local($serverno, $prefix, $cmd, @params) = @_;
local($userno, $list, $mode);
if ($'nameslist{$serverno, $params[1]} eq &'list("\@$'nick[$serverno]")) {
$userno = $'userno[$serverno];
foreach $line (&'property($userno, 'mode')) {
($list, $mode) = split(/\s+/, $line, 2);
foreach $chan (split(/\,/, $list)) {
next unless &'real($chan) eq $params[1];
&'s_print($serverno, '', 'MODE', $params[1], split(/\s+/, $mode));
last;
}
}
}
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>channel/mode/set.plm</TITLE></HEAD><BODY>
$B%*%s%i%$%s%I%-%e%a%s%H(B
<HR><H3>$BL>A0(B</H3>
channel/mode/set.plm - $B%A%c%s%M%k$r:n@.$7$?$H$-$K%A%c%s%M%k%b!<%I$r@_Dj$9$k(B
<HR><H3>$B@bL@(B</H3>
$B<+J,$,%A%c%s%M%k$KF~$k0JA0$K$O%A%c%s%M%k$,B8:_$;$:!"(B
$B<+J,$,%A%c%s%M%k$KF~$k$3$H$K$h$C$F%A%c%s%M%k$r:n@.$7$?$H$-!"(B
$B$=$N%A%c%s%M%k$N%A%c%s%M%k%b!<%I$r@_Dj$7$^$9!#(B
<HR><H3>$B%W%m%Q%F%#(B</H3>
<DL>
<DT> channel.mode.set.mode* ($B%A%c%s%M%kL>(B) $B%b!<%I(B
</DT>
<DD> $B%A%c%s%M%k$H$=$N%A%c%s%M%k$K@_Dj$9$k%A%c%s%M%k%b!<%I$r;XDj$7$^$9!#(B
</DD>
</DL>
<HR><H3>$B@_DjNc(B</H3>
<PRE>
+ channel/mode/set.plm
channel.mode.set.mode: #$B$W$i$`(B +nt
channel.mode.set.mode: #plum:*.jp,#plum +pmk plum
</PRE>
$B%A%c%s%M%k!V(B#$B$W$i$`!W$r:n@.$7$?$H$-$K!"%A%c%s%M%k%b!<%I$H$7$F(B
$B!V(B+nt$B!W$r@_Dj$7$^$9!#(B
$B$^$?!V(B#plum:*.jp$B!W$b$7$/$O!V(B#plum$B!W$r:n@.$7$?$H$-$O!"(B
$B%A%c%s%M%k%b!<%I$H$7$F!V(B+pmk plum$B!W$r@_Dj$7$^$9!#(B
</BODY></HTML>