mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2007
Posts: 2
D
Bowl of petunias
OP Offline
Bowl of petunias
D
Joined: Nov 2007
Posts: 2
Is there a command or script that will give a pop-up or alert of some kind when a certain IP address joins a channel I'm in?

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Most networks these days mask IP addresses and/or allow for virtual host addresses, thus, unless you have IRCops on the network, you probably can't see the IP address.

Some networks support using an address in the /notify command.

The reason I gave earlier is the most common reason why a script for checking IP address fails more often than it succeeds.

Here's a quick script, but I don't guarantee that it will work.
Code:
on *:join:#:{
  var %IP.Address = Address1 Address2 Address3 Address4
  if $istok(%IP.Address,$address,32) {
    .echo -a $nick using address $address has joined $chan
  }
}

Replace Address1 Address2 Address3 Address4 with the Address(es) that you want to monitor. You don't have to have multiple addresses, but if you do, make sure that there is a space between each address.


Link Copied to Clipboard