on ^!*:JOIN:#:{
if %join.clone.scan == on {
var %x_match = [[ $+ $ialchan($address($nick,2),#,0) Clone $+ $iif($ialchan($address($nick,2),#,0) > 1,s) $+ ]]
var %x = $ialchan($address($nick,2),#,0) , %nicks
if (%x > 1) {
while (%x) { %nicks = %nicks $ialchan($address($nick,2),#,%x).nick | dec %x }
}
%xnicks = [[ $+ %nicks $+ ]]
echo $colour(join) $target *** [Join] $nick has joined # %x_match $iif( $ialchan($address($nick,2),#,0) > 1 , %xnicks )
haltdef
}
}