unless you have groups setup in your userlist for @[IP][..
you do not need @[IP][*:text:...etc..

on *:text:!ip:#:msg $chan My ip is $ip
this will msg the channel with your IP (or your bots ip...)

on *:text:!ip *:#:{ if $2 !ison $chan {
msg $chan you got the nickname wrong
}
else { msg $chan $2 host is $address($2,2)
}
}
this will return the host of $2..example...
!ip Chris2015
that will get my hostmask and msg it to the channel


hope this helps