to be correct:

on *:JOIN:#chanX: /msg #chanY 14* Joins: $nick ( $+ $address $+ ))

works... giving loginname, address etc.

But I want the IP nummer behind it... the number you'll get when doing a /dns <nickname>