mIRC Home    About    Download    Register    News    Help

Print Thread
Checkin nick's ip's #250434 14/01/15 08:43 PM
Joined: Sep 2014
Posts: 83
H
HappyFappy Offline OP
Babel fish
OP Offline
Babel fish
H
Joined: Sep 2014
Posts: 83
i've been having issues in my channel of people temp using OP's nicks... so i've been workin on a moderator script to read the OP nicks ip's and if its not their cloaked IP then it will kick/ban

Code:
on *:JOIN:#9876543210:{  
  if ($nick == realopsnick) { 
    if ($wildsite == @unaffiliated/realopsnick/currentnick) {
      msg # Welcome $nick $+! [VERIFIED]
      halt
    }
    /kick # $nick 
  }
}


but this is kicking the real nick no matter what... did I do something wrong?

Re: Checkin nick's ip's [Re: HappyFappy] #250437 14/01/15 09:14 PM
Joined: Jan 2004
Posts: 1,332
L
Loki12583 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,332
Check what $wildsite is.

Re: Checkin nick's ip's [Re: Loki12583] #250439 14/01/15 09:30 PM
Joined: Sep 2014
Posts: 83
H
HappyFappy Offline OP
Babel fish
OP Offline
Babel fish
H
Joined: Sep 2014
Posts: 83
ah ok i see what i did wrong, thanks loki