Skip to content
TG007 community snippet #33

Duplicate Gate Kicker

This was a snippet that was requested. It will ban/kick if the user has more than 2 nicks in the room with the same gate. Note depending on your connection you may wish to add a queue system to the kick part so you do not get disconnec

By err0r Added Apr 12, 2010 Updated Jan 13, 2015
Buzzen All snippets
mIRC script 11 lines
About this snippet

Overview

This was a snippet that was requested. It will ban/kick if the user has more than 2 nicks in the room with the same gate. Note depending on your connection you may wish to add a queue system to the kick part so you do not get disconnected for excess flood
Source code

mIRC script

11 lines · 346 characters
on !*:JOIN:#:{
  if ($ialchan($address($nick,1),$chan,0) >= 3) && ($me isop $chan) {
    if (!%cban) { access $chan ADD DENY $address($nick,1) 60 : Too many clones | set %cban on }
    var %c 1
    while ($ialchan($address($nick,1),$chan,%c)) {
      kick $chan $gettok($v1,1,33) Too Many Clones
      inc %c
    }
    unset %cban
  }
}
Community

Comments

Want to join the discussion? Sign in to TG007.
CharmedOneThursday, 5 August, 2010
I will submit code redone to error I fixed it to your request.
TolandMonday, 7 June, 2010
It would be nice if there is an On and Off switch and option to put them in the shitlist