mIRC Home    About    Download    Register    News    Help

Print Thread
#59413 07/11/03 08:23 PM
Joined: Nov 2003
Posts: 1
C
Mostly harmless
OP Offline
Mostly harmless
C
Joined: Nov 2003
Posts: 1
I am trying to figure out how to get mIRC to show user's IP address's when they enter a chat room. I remember being able to do that on version 6.03 but i upgraded to version 6.1 recently. Is that feature still available or when the new version came out did they take away that feature?

Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Code:
[color:green]; when a user joins who is not you[/color]
on !^*:JOIN:#: { 
  [color:green]; dns him to acquire his IP address[/color]
  dns $nick
  [color:green]; save some stuff for later displaying[/color]
  set %chan $chan
  set %addr $fulladdress
  [color:green]; remove the default user-has-joined-message[/color]
  haltdef 
}
[color:green]; when the DNS is complete[/color]
on *:DNS: { 
  [color:green]; we only want this on a userjoin, not a manual dns!![/color]
  if (%chan) { 
  [color:green]; echo the normal user-has-joined line plus his IP address[/color]
    echo %chan * $dns(1).nick ( $+ $remove(%addr,$dns(1).nick,!) $+ ) has joined %chan using the IP address $dns(1).ip
  [color:green]; clean up the mess[/color]
  unset %chan
  unset %addr
  }
}

I doubt this is perfect, but it works. Expand as you wish.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
Joined: Dec 2002
Posts: 3,127
P
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 3,127
I may be misunderstanding or oversimplifying, but do you mean view/options/irc/options, check "show user addresses" ? Whenever a user joins/parts/quits/is kicked/etc. from a channel, you can choose to see their address by selecting this option


ParaBrat @#mIRCAide DALnet

Link Copied to Clipboard