There's 2 ways.

If you're looking to get the host on an On Join event.

Code:
On !*:Join:#: {
  echo 12 $chan $!wildsite returns $wildsite
  echo 12 $chan $!address($nick,2) returns $address($nick,2)
}