Try this one, but it´s much work. You need to write in here all Nicknames of members you have in the clan:
on *:SIGNAL:mta.join: {
if ( isin $mta.nick($1,$2)) {
if ($mta.nick($1,$2) == ) {
mta.pm $1 $2 Hello $mta.nick($1,$2)
}
elseif ($mta.nick($1,$2) == ) {
mta.pm $1 $2 Hello $mta.nick($1,$2)
}
elseif ($mta.nick($1,$2) == ) {
mta.pm $1 $2 Hello $mta.nick($1,$2)
}
elseif ($mta.nick($1,$2) == ) {
mta.pm $1 $2 Hello $mta.nick($1,$2)
}
elseif ($mta.nick($1,$2) == ) {
mta.pm $1 $2 Hello $mta.nick($1,$2)
}
else {
mta.text $1 $mta.nick($1,$2) has the Clan-tag, but he is not a clanmember!!!
mta.kick $1 $2
}
}
}