Replace the echo with
Code:
echo -ltc join # * $nick ( $+ $address $+ ) has joined # 5 $+ $+($chr(40),$v1 clone(s) $remove($left($regsubex($str(.,$v1),/./g,$+($ialchan($wildsite,#,\n).nick,$chr(44),$chr(32))),-2),$nick),$chr(41))


Personally I don't like having code that looks like that, but I'm not willing to chance putting it into smaller sections and breaking the regex.