mIRC Home    About    Download    Register    News    Help

Print Thread
#200193 29/05/08 06:58 PM
Joined: May 2008
Posts: 1
A
Mostly harmless
OP Offline
Mostly harmless
A
Joined: May 2008
Posts: 1
Is there a way to /notice a user and send them their IP address in #.#.#.# format?

$address gives me a DNS, so is there any way to convert the DNS to IP? Perhaps by tweaking the /dns command?

Or is there a way to use $ip, except have it send the user's IP instead of my own?

Thank you very much for your help!

Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
If $address gives you the correct HOST then you can perform /dns HOST and it should give IP now in order to retrieve this IP to store it has data or whatever you want to do with it you need to look into /help ON DNS

but basically

Code:
on *:DNS:echo -a I have retrieved the ip: $raddress


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }

Link Copied to Clipboard