mIRC Home    About    Download    Register    News    Help

Print Thread
#88292 26/06/04 09:17 PM
Joined: Jun 2004
Posts: 3
D
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Jun 2004
Posts: 3
i am working on a script to get ppl ip address when they are logged onto my temp server but am having probs with it. I need this so i can ban ppl you are messing around and/or swearing in the rooms.

if you can help plz email me
darrenpascoe@yahoo.co.uk

Joined: Jun 2004
Posts: 133
S
Vogon poet
Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
normally in an open window you can type /dns nick to find that information
in any open mirc window type
/help on dns this will give you a nice axample of how to return a nicks IP, bear in mind some Networks like Undernet provide registered users with hidden hosts that will not resolve to an IP number (You should know if your usual network/server provides such a thing)

It's not clear by your post (I want to ban ppl) wether you actually want their IP or hostmask you should look at what the Internal address list is, in any open mirc window type

/help /ial
once you have read a bit about what this actually is you might better understand what to do, and why it may fail at times.
** A user's address is added to the list either when they join the channel, send a message to a channel, or make a mode change.**
the best way to ensure you have everyone in your IAL is to
/who #channelname this will fill your address list, you can then try several ways to find their host or Ip address such as
//echo -a $address(nick,2) < a typed command
echo -a $address($nick,2) < used in a remote event
echo -a $address($$1,2) <used in popups

you should also have a look at /help $mask
for nick and Address identifiers wink

Re: if you can help plz email me

sorry i dont think Forums would exist if the users emailed everyone their Answer :tongue:

ScoT
#mIRC Undernet


Give a man a fish feed him for a day, Teach him to fish, feed him for life
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
As a sidenote, it's not a good idea to post your email on the forums because spam bots crawl the web and grab emails from posts such as yours, then spam them.

Of course it's your choice, but it's not advisable!

Regards,


Mentality/Chris
Joined: Jun 2004
Posts: 3
D
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Jun 2004
Posts: 3
thanks for your help so far but when i type /dns it wont resolve the address to an ip adress. any ideas?

Joined: Jun 2004
Posts: 133
S
Vogon poet
Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
perhaps your using the dns command wrongly if you want to match an address such as
scot@host-111-0-2222.66.something.com
you Dns the part after the @

scot@ host-111-0-2222.66.something.com
that would be
/dns host-111-0-2222.66.something.com

NB: you would normally look in your status screen for a reply

hope this is what you want
ScoT
#mIRC Undernet smile


Give a man a fish feed him for a day, Teach him to fish, feed him for life

Link Copied to Clipboard