home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.madoka.org
/
2014.12.ftp.madoka.org.tar
/
ftp.madoka.org
/
pub
/
plum
/
1.x
/
plum12.lzh
/
plum12
/
invite.plm
< prev
next >
Wrap
Text File
|
1997-09-25
|
379b
|
18 lines
package invite;
$_ = 'invite';
sub ss_invite {
local($serverno, $prefix, $cmd, $nick, $chan) = @_;
local($regex);
foreach $invite (&'property($'userno[$serverno], 'invite')) {
$regex = &'regex($invite);
if ($chan eq $invite || $prefix =~ /$regex/i) {
&'s_print($serverno, '', 'JOIN', $chan);
last;
}
}
return ($prefix, $cmd, $nick, $chan);
}