Tekil Mesaj gösterimi
Alt 03 Şubat 2010, 02:13   #1
Çevrimdışı
sihaye
Kullanıcıların profil bilgileri misafirlere kapatılmıştır.
IF Ticaret Sayısı: (0)
IF Ticaret Yüzdesi:(%)
bu kod ne işe yarıyor?




PHP Kod:   Kodu kopyalamak için üzerine çift tıklayın!
alias prot {
  if !
$istok(repeat flood caps long ctrlcode bword spam punc,$1,32) { return $false }
  goto $
1
  
:repeat
  
var %÷ = $+(%,repeat.,$2,.,$3,.,$encode($4,m))
  
inc $(%÷,1)
  if (!
$timer($gettok(%÷,1,37))) { $+(.timer,$gettok(%÷,1,37)) $unset $(%÷,1) }
  if ($(%
÷,2) >= $5) { unset $(%÷,1) | return $true }
  else { return 
$false }
  :
flood
  
var %µ = $+(%,flood.,$2,.,$3)
  
inc $(%µ,1)
  if (!
$timer($gettok(%µ,1,37))) { $+(.timer,$gettok(%µ,1,37)) $unset $(%µ,1) }
  if ($(%
µ,2) >= $4) { unset $(%µ,1) | return $true }
  else { return 
$false }
  :
caps
  
var %$remove($strip($2),$chr(32))
  return 
$iif($iif($len(%e) >= 10,$calc($regex(%e,/[A-ZÄÖÜĞÇİ]/g)/$len(%e)*100),0) >= $3,$true,$false)
  :
long
  
return $iif($len($strip($2)) >= $3,$true,$false)
  :
ctrlcode
  
return $iif($regex($2,/[[:cntrl:]]/g) >= $3,$true,$false)
  :
bword
  
var %· | while $read($3,%·) { if $v1 iswm ${ return $true } | inc %· } | return $false
  
:spam
  
var %º | while $read($3,%º) { if $v1 iswm ${ return $true } | inc %º } | return $false
  
:punc
  
return $iif($regex($2,/([?!:;,\.])/g) >= $3,$true,$false)



 
Alıntı ile Cevapla

IRCForumlari.NET Reklamlar
sohbet odaları eglen sohbet reklamver