var %userHost = $address($nick, 2)

I use this inside an ONJOIN remote