Code:

on !*:JOIN:#: {
  if (($nick != Tom) || (# $network == $active $network)) return
  echo -aect info * $nick has joined # on $network
}