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/)
-   -   * /.timerprot.repeat.#C...: line too long (line 5, flood.mrc) (https://www.ircforumlari.net/mirc-scripting-sorunlari/33818-timerprotrepeatc-line-too-long-line-5-floodmrc.html)

CipriX 11 Temmuz 2007 18:45

Cevap: * /.timerprot.repeat.#C...: line too long (line 5, flood.mrc)
 
pofs yazmışım oraya denerken :) orası $1- olcaktı

Zaten vermiş mikrop gerek kalmamış..

MavipikSeL 12 Temmuz 2007 01:38

Cevap: * /.timerprot.repeat.#C...: line too long (line 5, flood.mrc)
 
Mikrop'un verdiği kod çalışıyor ama atınca değer silinmiyor. :)
Alıntı:

%prot.repeat.#Bursa.tangut.3335861760 1
%prot.repeat.#Istanbul.ElaEla.3081945600 1
%prot.repeat.#Global.EfLaTuN.3285309440 1

CipriX 12 Temmuz 2007 05:46

Cevap: * /.timerprot.repeat.#C...: line too long (line 5, flood.mrc)
 
mode # +b $nick | msg # $nick $+ , azcık sus.


Bunun altına


.set %aga $remove($encode($strip($1-)),$chr(32)) | .unset $($+(%,$chan,.,$me,.,%aga),1)

Bunu ekle..

SpecifiC 12 Temmuz 2007 13:49

Cevap: * /.timerprot.repeat.#C...: line too long (line 5, flood.mrc)
 
Alıntı:

MavipikSeL Nickli Üyeden Alıntı
;$_isrepeat(nick,#kanal,text,tekrar,saniye)
alias _isrepeat {
if ($isid) {
inc %prot.repeat. $+ $2 $+ . $+ $1 $+ . $+ $encode($3,m)
if (!$timer($+(prot.repeat.,$2,.,$1,.,$encode($3,m))) ) { $+(.timerprot.repeat.,$2,.,$1,.,$encode($3,m)) 1 $5 unset $+(%,prot.repeat.,$2,.,$1,.,$encode($3,m)) }
if (%prot.repeat. [ $+ [ $2 ] $+ ] . [ $+ [ $1 ] $+ ] . [ $+ [ $encode($3,m) ] ] >= $4) { unset $+(%,prot.repeat.,$2,.,$1,.,$encode($3,m)) | return $true }
else { return $false }
}
}
on @*:text:*:#:{
if $nick isreg # && $_isrepeat($nick,#,$remove($strip($1-),$chr(32)),3,5) {
mode # +b $nick | msg # $nick $+ , azcık sus.
}
}

mIRC'i kapattıgında veya serverden çıktıgında timerler kapatıldıgı için, degerlerin silinmesi için aılan timerlerde kapatılıyor ve bu yüzden degerler silinmiyor. Bunun için şunu deneyebiliriz.
Kod:

alias _isrepeat {
  if ($isid) {
;Burayada $+(-eu,$5) deger açılırken bu degerin -eu<süre> parametresi ile mIRC kapandıgında ve belirtilen süre sonra kendisini yok etmesini söylüyoruz.
    inc $+(-eu,$5) %prot.repeat. $+ $2 $+ . $+ $1 $+ . $+ $encode($3,m)
;##if (!$timer($+(prot.repeat.,$2,.,$1,.,$encode($3,m))) ) { $+(.timerprot.repeat.,$2,.,$1,.,$encode($3,m)) 1 $5 unset $+(%,prot.repeat.,$2,.,$1,.,$encode($3,m)) } <Bu satır degeri silmesi için açılan timer. Şimdilik bu satırı iptal ettik.
if (%prot.repeat. [ $+ [ $2 ] $+ ] . [ $+ [ $1 ] $+ ] . [ $+ [ $encode($3,m) ] ] >= $4) { unset $+(%,prot.repeat.,$2,.,$1,.,$encode($3,m)) | return $true }
    else { return $false }
  }
}
on @*:text:*:#:{
  if $nick isreg # && $_isrepeat($nick,#,$remove($strip($1-),$chr(32)),3,5) {
    mode # +b $nick | msg # $nick $+ , azcık sus.
  }
}


MavipikSeL 12 Temmuz 2007 14:12

Cevap: * /.timerprot.repeat.#C...: line too long (line 5, flood.mrc)
 
Kod:

alias _isrepeat {
  if ($isid) {
;Burayada $+(-eu,$5) deger açılırken bu degerin -eu<süre> parametresi ile mIRC kapandıgında ve belirtilen süre sonra kendisini yok etmesini söylüyoruz.
    inc $+(-eu,$5) %prot.repeat. $+ $2 $+ . $+ $1 $+ . $+ $encode($3,m)
;##if (!$timer($+(prot.repeat.,$2,.,$1,.,$encode($3,m))) ) { $+(.timerprot.repeat.,$2,.,$1,.,$encode($3,m)) 1 $5 unset $+(%,prot.repeat.,$2,.,$1,.,$encode($3,m)) } <Bu satır degeri silmesi için açılan timer. Şimdilik bu satırı iptal ettik.
if (%prot.repeat. [ $+ [ $2 ] $+ ] . [ $+ [ $1 ] $+ ] . [ $+ [ $encode($3,m) ] ] >= $4) { unset $+(%,prot.repeat.,$2,.,$1,.,$encode($3,m)) | return $true }
    else { return $false }
  }
}
on @*:text:*:#:{
  if $nick isreg # && $_isrepeat($nick,#,$remove($strip($1-),$chr(32)),3,5) {
    mode # +b $nick | msg # $nick $+ , azcık sus.
  }
}

Bu işe yaradı, teşekkürler.


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

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