Jump to content
chain

İdent Limit'i Aşılırsa Oto kill Atma

Recommended Posts

  • Administrators

Sunucu üzerindeki belirlediğiniz bir İdent'i İstediğiniz Limit kadar kullanılmasına izin verir.
Ama limit aşılırsa otomatik olarak Kill atar .
Giriş cıkısları otomatik olarak kontrol eder ve girdi(inc)/çıktı(dec) şeklinde tutar.

 

on *:snotice:*: {
     if (*client conn* iswm $1-) {
       var %i = $gettok($remove($10,$chr(40)),1,64)
       if ($hget(ident,%i) >= 6) kill $9 KILL SEBEBİ.
       else hinc -m ident %i 1
    }
    if (*client exiting* iswm $1-) {
       var %ii = $gettok($remove($7,$chr(40)),1,64)
       $iif($hget(ident,%ii) >= 1,hdec ident %ii 1)
    }
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...