mIRC Homepage
Posted By: HappyFappy Checkin nick's ip's - 14/01/15 08:43 PM
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?
Posted By: Loki12583 Re: Checkin nick's ip's - 14/01/15 09:14 PM
Check what $wildsite is.
Posted By: HappyFappy Re: Checkin nick's ip's - 14/01/15 09:30 PM
ah ok i see what i did wrong, thanks loki
© mIRC Discussion Forums