IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası

IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası (https://www.ircforumlari.net/)
-   mIRC Scripting Sorunları (https://www.ircforumlari.net/mirc-scripting-sorunlari/)
-   -   Agresif koruma ya muaf ip ekleme ? (https://www.ircforumlari.net/mirc-scripting-sorunlari/605140-agresif-koruma-ya-muaf-ip-ekleme.html)

c00 16 Ağustos 2014 11:17

Agresif koruma ya muaf ip ekleme ?
 
Kod:

#agresif off
on *:snotice:*client connecting*:{
  if ($level($9) == muafnlist) { halt }
  var %µ = $+(%,flood.,$left($gettok($10,2,64),-1))
  inc $(%µ,1)
  if (!$timer($gettok(%µ,1,37))) { $+(.timer,$gettok(%µ,1,37)) 1 3 unset $(%µ,1) }
  if ($(%µ,2) >= 3) { unset $(%µ,1) | zline $9  +600 agresif baglanma sebebiyle 10 dakka sunucudan uzaklaştirildiniz $date $time $+([,%botnick,]) | unset $+(%,agr,.,$gettok($gettok($10,2,64),1,41)) | msg %operkanali İşlem : 2 $9  İp/ident : 2 $10  İşlenen : 2 Agresif Baglanti Zline! }
}
#agresif end

Agresif korumaya muafips eklemey calıstım aşagıdaki dogrumu acaba ?

Kod:

#agresif off
on *:snotice:*client connecting*:{
  if ($level($9) == muafnlist) { halt }
  if $read(muafips.txt,w,$+(*,%:ip,*)) { halt }
  var %µ = $+(%,flood.,$left($gettok($10,2,64),-1))
  inc $(%µ,1)
  if (!$timer($gettok(%µ,1,37))) { $+(.timer,$gettok(%µ,1,37)) 1 3 unset $(%µ,1) }
  if ($(%µ,2) >= 3) { unset $(%µ,1) | zline $9  +600 agresif baglanma sebebiyle 10 dakka sunucudan uzaklaştirildiniz $date $time $+([,%botnick,]) | unset $+(%,agr,.,$gettok($gettok($10,2,64),1,41)) | msg %operkanali İşlem : 2 $9  İp/ident : 2 $10  İşlenen : 2 Agresif Baglanti Zline! }
}
#agresif end


Toprak 16 Ağustos 2014 12:45

Cevap: Agresif koruma ya muaf ip ekleme ?
 
Kod:

var %:ip $token($token($10,2,64),1,41)
if $read(muafip.txt,w,%:ip) { return }

Telden yaziyorum hata varsa k.bakmayin

aLone 16 Ağustos 2014 13:25

Cevap: Agresif koruma ya muaf ip ekleme ?
 
var %:ip $remove($gettok($10,2,64),$chr(41))
if $read(muafip.txt,w,$+(*,%:ip,*)) { halt }

Toprak 16 Ağustos 2014 13:36

Cevap: Agresif koruma ya muaf ip ekleme ?
 
@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] ben ne yazmisim.

c00 16 Ağustos 2014 13:36

Cevap: Agresif koruma ya muaf ip ekleme ?
 
Kod:

#agresif off
on *:snotice:*client connecting*:{
  if ($level($9) == muafnlist) { halt }
    var %:ip $remove($gettok($10,2,64),$chr(41))
    if $read(muafips.txt,w,$+(*,%:ip,*)) { halt }
  var %µ = $+(%,flood.,$left($gettok($10,2,64),-1))
  inc $(%µ,1)
  if (!$timer($gettok(%µ,1,37))) { $+(.timer,$gettok(%µ,1,37)) 1 3 unset $(%µ,1) }
  if ($(%µ,2) >= 3) { unset $(%µ,1) | zline $9  +18600 agresif baglanma sebebiyle sunucudan uzaklaştirildiniz $date $time $+([,%botnick,]) | unset $+(%,agr,.,$gettok($gettok($10,2,64),1,41)) | msg %operkanali 2[4BILGI2]1[ IP :  $10  1][ NICK :  $9 1] [ Atılma Sebebi :  Agresif Baglanti ] }
}
#agresif end

Böyle mi eklicez bunu .

aLone 23 Ağustos 2014 17:51

Cevap: Agresif koruma ya muaf ip ekleme ?
 
Bu şekilde
Kod:

#agresif off
on *:snotice:*client connecting*:{
  if ($level($9) == muafnlist) { halt }
  var %:ip $remove($gettok($10,2,64),$chr(41))
  if $read(muafips.txt,w,$+(*,%:ip,*)) { halt }
  var %µ = $+(%,flood.,$left($gettok($10,2,64),-1))
  inc $(%µ,1)
  if (!$timer($gettok(%µ,1,37))) { $+(.timer,$gettok(%µ,1,37)) 1 3 unset $(%µ,1) }
  if ($(%µ,2) >= 3) { unset $(%µ,1) | gzline $9  +18600 agresif baglanma sebebiyle sunucudan uzaklaştirildiniz $date $time $+([,%botnick,]) | unset $+(%,agr,.,$gettok($gettok($10,2,64),1,41)) | msg %operkanali 2[4BILGI2]1[ IP :  $10  1][ NICK :  $9 1] [ Atılma Sebebi :  Agresif Baglanti ] }
}
#agresif end

BunudaKullanabilirsin...
Kod:

on *:Text:!Agresif *:#kanal: {
  if $2 == Ac {
    if !$read(admin.txt,w,$nick) { .msg $chan $+(",$nick,") Bu Komutu Kullanmaya Yetkili Degilsiniz. }
    elseif (%Agresif == Acik) { .msg $chan Agresif Koruması Zaten Acık! }
    else { .msg $chan Agresif Koruması Acılmıştır | set %Agresif Acik }
  }
  if $2 == Kapat {
    if !$read(admin.txt,w,$nick) { .msg $chan $+(",$nick,") Bu Komutu Kullanmaya Yetkili Degilsiniz. }
    elseif (%Agresif == Kapali) { .msg $chan Agresif Koruması Zaten Kapalı! }
    else { .msg $chan Agresif Koruması Kapatılmıştır | set %Agresif Kapali }
  }
  if ($2 == Durum) {
    if !$read(admin.txt,w,$nick) { .msg $chan $+(",$nick,") Bu Komutu Kullanmaya Yetkili Degilsiniz.  }
    else { .msg $chan Agresif Koruması Durum :  %Agresif }
  }
}
on *:snotice:*connecting on*:{
  if (%agresif == Acik) {
    if ($level($9) == muafnlist) { halt }
    var %:ip $remove($gettok($10,2,64),$chr(41))
    if $read(muafips.txt,w,$+(*,%:ip,*)) { halt }
    inc -u10 %agresif. [ $+ [ %:ip ] ]
    if ( %agresif. [ $+ [ %:ip ] ] == 3 ) {
    gzline $+(*@,%:ip) +1200 agresif baglanma sebebiyle 10 dakka sunucudan uzaklastirildiniz $date $time $+([,%botnick,]) | .msg %operkanali [BILGI][ IP : %:ip ][ NICK : $9 ][Agresif Baglanma] | unset %agresif. [ $+ [ %:ip ] ] | halt }
  }
}



Saniye
inc -u10
Girecek IP sayısı
[ %:ip ] ] == 3 )

Bununlada Agresif korumanı. !Agresif Ac - !Agresif Kapat - !Agresif Durum - yaparak açar kapatır durumunu öğrenebilirsin


Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 00:41.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
Copyright ©2004 - 2025 IRCForumlari.Net Sparhawk