Project

General

Profile

what was the command to show the info of user who Im talking to in a PrivateMessage?

Added by Eduardo Bedoya about 9 years ago

Hi, I new there was a command to shw the info of the user who Im talking to in private message
I remember there was some info available, I would like to know the user's country, is that possible? what was the command?

Thanks Advanced.


Replies (6)

RE: what was the command to show the info of user who Im talking to in a PrivateMessage? - Added by Eduardo Bedoya about 9 years ago

Im almost sure it was some parameter of $query
like...
$query(Example).addr

Im not sure whats the difference between scripting commands and Scripting Identifiers, I mean between Query and $query, hope somegood folk could cast some light in this matter.
Thanks Advanced.

Hi I succefully got working the $query(Example).addr, but - Added by Eduardo Bedoya about 8 years ago

Hi I succefully got working the $query(Example).addr, but it gives you the ident@host, and that its a kinda extrange data that doesn't help me.
Please, I would like to know if there is a way to tell if a user I am talking with in a PM is from certain country or not, can I get to know that info from his IP address? if it is so, is there a way to get the user ip address?? Please is important, Thanks Advanced.

RE: what was the command to show the info of user who Im talking to in a PrivateMessage? - Added by Per Amundsen about 8 years ago

Most irc networks/users hides their ip address, you can use $ial(nick).host to get only the hostname, you might need to do /whois for the IAL (Internal Address List) to update, when you have the hostname and it's not cloaked or encrypted, you can try enter the host into http://www.hcidata.info/host2ip.htm and see if it resolves to an ip address.

RE: what was the command to show the info of user who Im talking to in a PrivateMessage? - Added by Eduardo Bedoya about 8 years ago

thanks Admundsen,
so first I need to do /whois nick ??? to get the IAL?
and the $ial(nick).host
right?
Ill try it out ASAP
thanks again

RE: what was the command to show the info of user who Im talking to in a PrivateMessage? - Added by Per Amundsen about 8 years ago

it depends if AdiIRC has seen any messages from the user or if the user is in a channel with you, if it has not, you must manually /whois.

So if //echo -ag $ial(nick).host returns nothing, try type /whois nick, then try //echo -ag $ial(nick).host again.

RE: what was the command to show the info of user who Im talking to in a PrivateMessage? - Added by Eduardo Bedoya about 8 years ago

yes of course, the user is talking with me in a private chat (private message PM), and I want to know where is he from, which country.
so I just use $ial(nick).host
Thanks Again

Ill try it ass soon as possible

    (1-6/6)