mIRC Home    About    Download    Register    News    Help

Print Thread
#250434 14/01/15 08:43 PM
Joined: Sep 2014
Posts: 83
H
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?

Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358
Check what $wildsite is.

Joined: Sep 2014
Posts: 83
H
Babel fish
OP Offline
Babel fish
H
Joined: Sep 2014
Posts: 83
ah ok i see what i did wrong, thanks loki


Link Copied to Clipboard