Kill / Akill / Gline cloneX

By W1ndows on Mar 10, 2009

I am begginer to mIRC scripting but on my server there were some lamers that conects clones so I have to learn something about mIRC scripting. This is the simple script that disable conecting the clones.

This script work only if you have an oper rights on the server. So the script kill or akill or gline clones on snotice when the client(clone) is connecting.
Also the script has some F keys that you can manually kill or akill or gline clone on connecting.

The script simple tests on connecting if ident is in nickname because mostly all clones have the ident == nickname.

You can turn on or off the script


Just Load to your Remote section this code and the job is done


Have a good chat without clones ;)
by W1ndows

Shiptar me qiket script mujtnu me ndejt rahat smunen me juv bo kurgja clonat :-)

menu channel,status {
  .$iif($group(#idde) == on, cloneX Off, cloneX On) : $iif($group(#idde) == on,.disable,.enable) #idde
}
#idde off
on *:SNOTICE:*Client connecting*: {
  %name = $9
  %hostIdent = $remove($10, $left($10,1))
  %hostIdent2 = $remove($10, $left($10,2))

  %ident = $gettok(%hostIdent,1,64)
  %ident2 = $gettok(%hostIdent2,1,64)

  %hostIdent = $remove($10, $right($10,1))

  %host = * $+ @ $+ $gettok(%hostIdent,2,64)
  %ipp = *@*. $+ $gettok(%hostIdent,2,64)

  if (%ident isin %name) {
    gline %host 6 W1ndows ! 4 Jo Flood..Jo Bota...Jo Proxy
    ;os akill add +0 %ipp 6 W1ndows
    ;kill %name 6 W1ndows 1 (6 'Nick == Ident' 1 )
    /halt
  }
  if (%ident2 isin %name) {
    gline %host 6 W1ndows ! 4 Jo Flood..Jo Bota...Jo Proxy
    ;os akill add +0 %ipp 6 W1ndows ! 4 Jo Flood..Jo Bota...Jo Proxy
    ;kill %name  6 W1ndows 1 (6 'Nick == Ident' 1 )
    /halt
  }
  /halt
}

ON *:JOIN:#: {
  if ($me isop $chan) {
    %name = $nick
    %ident = $address(%name,3)
    %host = $address(%name,2)
    echo -a 15 * ----> 4 F4 = kill   ----------- %name

    if (%ident isin %name) {
      kill %name 6 W1ndows 1 (6 'Nick == Ident' 1 )
      /halt
    }
    /halt

  }
}

alias F3 {
  os akill add +0 %ipp 6 (W1ndows) Jo Bota..Jo Proxy
}

alias F4 {
  kill %name 6 W1ndows 
  /halt
}

alias F5 {
  gline %host 6 W1ndows
  /halt
}
#idde End

Comments

Sign in to comment.
Mafia05   -  Mar 16, 2011

does this works?

 Respond  
OverSmart   -  Aug 15, 2009

If Clones Come from Other Ips Then ?

 Respond  
xplo   -  Mar 10, 2009

a beginner on mirc ?
lies.

 Respond  
Cheiron   -  Mar 10, 2009

looks ok. might want to include an oper checker though on the script. if user is not oper then it unloads

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.