mIRC Home    About    Download    Register    News    Help

Print Thread
#139507 15/01/06 05:17 PM
Joined: Dec 2005
Posts: 4
P
PaN12 Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: Dec 2005
Posts: 4
I want that if someone joins with ******* IP I msg to channel, Hi there!

Can someone create this for me?

Grtz,
- PaN 12

Joined: Aug 2005
Posts: 525
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
Code:

on 1:JOIN:[color:red]#YourChannel[/color]:{
  var %address = $right($address($nick,2),$calc($len($address($nick,2))-4))
  if (%address == [color:red]some.hostmask.com[/color]) {
    msg $nick Hello
  }
  else if (%address == [color:red]some.other.hostmask.com[/color]) {
    msg $nick Hi!
  }
  else if (%address == [color:red]yet.another.hostmask.com[/color]) {
    msg $nick How's it going?
  }
}

Joined: Mar 2005
Posts: 212
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Mar 2005
Posts: 212
i dont know if any networks show peoples ip's in their mask anymore
the last network i know that did that was msn with the XXX
over the last 3 digits like that protected anybody


Link Copied to Clipboard