PDA

View Full Version : ip bot project



MrBluEyez
27-04-2007, 16:25
I am trying to create a script that can either be integrated into a BOT, or be the basis of a BOT. I would appreciate anyone who can help me. I have several online games thatv require an IP. unfortunately if a user is on a router, or sometimes behind firewall OR has a hidden IP I want them to be able to send their IP and USERNAME to a specific user in the channel via private message. the command I am toring with is:
on 1:TEXT:*sendip*:#://dns $nick
;on 1:DNS:{ [errr the smiley is covering the : and the D expand line o n 1 : D N S : { ]
; //.msg $me $dns(1).ip $dns(1).nick
;}

the script works only to send the ip to ME, I have attempted to substitute $me with $nick with no appaerent success, and if the user is on a router, the error is:
ip address: named address: Lyin.users.undernet.org resolved address:
[01:33] Unable to resolve hostname
I do not know if it will report the same error if behind firewall or if IP is hidden

Any and all assistance is appreciated

x10
27-04-2007, 16:45
i don't use mirc but this line:

on 1:TEXT:*sendip*:#://dns $nick
is just using the /dns command on $nick?

if so it will not work on ppl who have umode +x because that hides the ip/host
"Lyin.users.undernet.org" is not the persons real hostname, just what undernet shows people.

ssmmdd
27-04-2007, 21:12
I am trying to create a script that can either be integrated into a BOT, or be the basis of a BOT. I would appreciate anyone who can help me. I have several online games thatv require an IP. unfortunately if a user is on a router, or sometimes behind firewall OR has a hidden IP I want them to be able to send their IP and USERNAME to a specific user in the channel via private message.
Why do you need a Username?