in mIRC type /help $nick
then also /help $address
and read the section on $mask too

if that isnt clear to you try typing this in channel

//echo -a my nick!USER@host address is $address($me,5)

note: the useage of two // is important