Code:
on @*:join:#:{
  if ($nick == <Nick>) { .mode # +h $nick }
}

Replace <Nick> with the actual nick.