Menü
Ana sayfa
Portal
Forumlar
Yeni mesajlar
Forumlarda ara
Neler yeni
Featured content
Yeni mesajlar
Yeni profil mesajları
Son aktiviteler
Kullanıcılar
Kayıtlı üyeler
Şu anki ziyaretçiler
Yeni profil mesajları
Profil mesajlarında ara
Giriş yap
Kayıt ol
Neler yeni
Ara
Ara
Sadece başlıkları ara
Kullanıcı:
Menü
Giriş yap
Kayıt ol
Ana sayfa
Forumlar
Genel IRCD (Sunucu, Servis, Botlar, Korumalar)
Eggdrop, NeoStats, BNC
TCL Scriptler
Ping.TCL
JavaScript devre dışı. Daha iyi bir deneyim için, önce lütfen tarayıcınızda JavaScript'i etkinleştirin.
Çok eski bir web tarayıcısı kullanıyorsunuz. Bu veya diğer siteleri görüntülemekte sorunlar yaşayabilirsiniz..
Tarayıcınızı güncellemeli veya
alternatif bir tarayıcı
kullanmalısınız.
Konuya cevap cer
Mesaj
<blockquote data-quote="Che" data-source="post: 103" data-attributes="member: 1"><p>[CODE]# kanal/lar üstünde aktif etmek için ,</p><p># botunuza DCC/telnet ile bağlanın ve :</p><p># .chanset #kanal +pinging</p><p></p><p># IPv4 ping istek komut/ları :</p><p>set pcmds "p ping pingin pinging"</p><p></p><p># IPv6 istek komut/ları :</p><p>set p6cmd "p6 ping6"</p><p></p><p># komut/ların başına gelecek sembol/işaret/trigger</p><p>set ptrig "."</p><p></p><p># komut/ları kullanma erişimi olacak kullanıcı flagları</p><p>set pflags "-|-"</p><p></p><p># herbir kişi için,yeniden komut/ları kullanabilmesi için,arada beklemesi gereken süre: (saniye)</p><p>set pflud "10"</p><p></p><p># ayarlar bitti #</p><p></p><p></p><p>proc ping6_pub {nick uhost hand chan text} {</p><p> if {![channel get $chan pinging]} { return }</p><p></p><p> set user [lindex [split $uhost "@"] 1]</p><p> </p><p> if {[throttled $user,$chan $::pflud]} {</p><p> puthelp "notice $nick :\002Flood algılandı !!!\002 - \</p><p> \00314[expr {[clock seconds] - $::throttled($user,$chan)}] saniye sonra deneyin...\003"</p><p> return</p><p> }</p><p></p><p></p><p> if {[llength [lindex [split $text] 0]] eq "0"} {</p><p> puthelp "notice $nick :Kullanımı :\002$::lastbind \00304<\003 IPv6 adresi / IPv6 hostu / nick \00304>\003\002"</p><p> return 0</p><p> }</p><p> </p><p> if {[string match "*:*:*" [lindex [split $text] 0]]} {</p><p> set cmd "ping6 -c 3 [lindex [split $text] 0]"</p><p> }</p><p> </p><p> if {[string match -nocase "*.*" [lindex [split $text] 0]]} {</p><p> set host "host -t AAAA [lindex [split $text] 0]"</p><p> </p><p> catch { eval exec $host } out</p><p> </p><p> foreach lines [split $out "\n"] {</p><p> if {[regexp {has IPv6 address ([^\s]+)} $lines - ipv]} {</p><p> if {[info exists ipv] eq "1"} {</p><p> set cmd "ping6 -c 3 $ipv"</p><p> putlog "$ipv"</p><p> } else {</p><p> puthelp "privmsg $chan :[lindex [split $text] 0] geçerli ipv6 adresi değil..."</p><p> }</p><p> }</p><p> }</p><p> }</p><p> </p><p> if {![string match "*.*" [lindex [split $text] 0]] && \</p><p> [onchan [lindex [split $text] 0] $chan] && \</p><p> [string match "*.*" [lindex [split [getchanhost [lindex [split $text] 0] $chan] "@"] 1]]} {</p><p> </p><p> set target [lindex [split [getchanhost [lindex [split $text] 0] $chan] "@"] 1]</p><p> set host "host -t AAAA $target"</p><p> putlog "$target"</p><p> </p><p> catch { eval exec $host } out</p><p> </p><p> foreach lines [split $out "\n"] {</p><p> if {[regexp {has IPv6 address ([^\s]+)} $lines - ipv]} {</p><p> if {[info exists ipv] eq "1"} {</p><p> set cmd "ping6 -c 3 $ipv"</p><p> putlog "$ipv"</p><p> } else {</p><p> puthelp "privmsg $chan :$target geçerli ipv6 adresi değil..."</p><p> }</p><p> }</p><p> }</p><p> }</p><p> </p><p> if {![string match "*.*" [lindex [split $text] 0]] && \</p><p> [onchan [lindex [split $text] 0] $chan] && \</p><p> [string match "*:*:*" [lindex [split [getchanhost [lindex [split $text] 0] $chan] "@"] 1]]} {</p><p> </p><p> set target [lindex [split [getchanhost [lindex [split $text] 0] $chan] "@"] 1]</p><p> }</p><p> </p><p> set i 0</p><p> catch { eval exec $cmd } output</p><p> </p><p> foreach line [split $output "\n"] {</p><p> puthelp "privmsg $chan :\00303$line\003"</p><p> incr i</p><p> }</p><p> return 0</p><p>}</p><p></p><p># http://is.gd/SVU9r1</p><p></p><p>proc throttled {id time} {</p><p> global throttled </p><p> if {[info exists throttled($id)]} {</p><p> return 1</p><p> } {</p><p> set throttled($id) [clock seconds]</p><p> utimer $time [list unset throttled($id)]</p><p> return 0</p><p> }</p><p> }</p><p></p><p>foreach bind [split $pcmds " "] {</p><p> bind pub $pflags $ptrig$bind pingin_pub</p><p>}</p><p></p><p>foreach bind [split $p6cmd " "] {</p><p> bind pub $pflags $ptrig$bind ping6_pub</p><p>}</p><p></p><p>setudef flag pinging</p><p></p><p>proc pingin_pub {nick uhost hand chan text} {</p><p> if {![channel get $chan pinging]} { return }</p><p></p><p> set user [lindex [split $uhost "@"] 1]</p><p> </p><p> if {[throttled $user,$chan $::pflud]} {</p><p> puthelp "notice $nick :\002Flood algılandı !!!\002 - \</p><p> \00314[expr {[clock seconds] - $::throttled($user,$chan)}] saniye sonra deneyin...\003"</p><p> return</p><p> }</p><p> </p><p> set target [lindex [split $text] 0]</p><p> </p><p> if {[llength $target] eq "0"} {</p><p> puthelp "notice $nick :Kullanımı :\002$::lastbind \00304<\003 IP / host / nick \00304>\003\002"</p><p> return 0</p><p> }</p><p></p><p> if {![string match "*.*" [lindex [split $text] 0]] && [onchan [lindex [split $text] 0] $chan]} {</p><p> set target [lindex [split [getchanhost [lindex [split $text] 0] $chan] "@"] 1]</p><p> putlog "$target"</p><p> }</p><p> </p><p> set i 0</p><p> set cmd "ping -c 3 $target"</p><p> </p><p> catch { eval exec $cmd } output</p><p> </p><p> foreach line [split $output "\n"] {</p><p> regsub -all -- {^[0-9]+} $line {\00303^[0-9]+\003} line</p><p> set line [string map {"PING" "\002PING\002" \( \002(\002 \) \002)\002} $line]</p><p> puthelp "privmsg $chan :\00303$line\003"</p><p> incr i</p><p> }</p><p> return 0</p><p>}</p><p></p><p>putlog "ok..."[/CODE]</p></blockquote><p></p>
[QUOTE="Che, post: 103, member: 1"] [CODE]# kanal/lar üstünde aktif etmek için , # botunuza DCC/telnet ile bağlanın ve : # .chanset #kanal +pinging # IPv4 ping istek komut/ları : set pcmds "p ping pingin pinging" # IPv6 istek komut/ları : set p6cmd "p6 ping6" # komut/ların başına gelecek sembol/işaret/trigger set ptrig "." # komut/ları kullanma erişimi olacak kullanıcı flagları set pflags "-|-" # herbir kişi için,yeniden komut/ları kullanabilmesi için,arada beklemesi gereken süre: (saniye) set pflud "10" # ayarlar bitti # proc ping6_pub {nick uhost hand chan text} { if {![channel get $chan pinging]} { return } set user [lindex [split $uhost "@"] 1] if {[throttled $user,$chan $::pflud]} { puthelp "notice $nick :\002Flood algılandı !!!\002 - \ \00314[expr {[clock seconds] - $::throttled($user,$chan)}] saniye sonra deneyin...\003" return } if {[llength [lindex [split $text] 0]] eq "0"} { puthelp "notice $nick :Kullanımı :\002$::lastbind \00304<\003 IPv6 adresi / IPv6 hostu / nick \00304>\003\002" return 0 } if {[string match "*:*:*" [lindex [split $text] 0]]} { set cmd "ping6 -c 3 [lindex [split $text] 0]" } if {[string match -nocase "*.*" [lindex [split $text] 0]]} { set host "host -t AAAA [lindex [split $text] 0]" catch { eval exec $host } out foreach lines [split $out "\n"] { if {[regexp {has IPv6 address ([^\s]+)} $lines - ipv]} { if {[info exists ipv] eq "1"} { set cmd "ping6 -c 3 $ipv" putlog "$ipv" } else { puthelp "privmsg $chan :[lindex [split $text] 0] geçerli ipv6 adresi değil..." } } } } if {![string match "*.*" [lindex [split $text] 0]] && \ [onchan [lindex [split $text] 0] $chan] && \ [string match "*.*" [lindex [split [getchanhost [lindex [split $text] 0] $chan] "@"] 1]]} { set target [lindex [split [getchanhost [lindex [split $text] 0] $chan] "@"] 1] set host "host -t AAAA $target" putlog "$target" catch { eval exec $host } out foreach lines [split $out "\n"] { if {[regexp {has IPv6 address ([^\s]+)} $lines - ipv]} { if {[info exists ipv] eq "1"} { set cmd "ping6 -c 3 $ipv" putlog "$ipv" } else { puthelp "privmsg $chan :$target geçerli ipv6 adresi değil..." } } } } if {![string match "*.*" [lindex [split $text] 0]] && \ [onchan [lindex [split $text] 0] $chan] && \ [string match "*:*:*" [lindex [split [getchanhost [lindex [split $text] 0] $chan] "@"] 1]]} { set target [lindex [split [getchanhost [lindex [split $text] 0] $chan] "@"] 1] } set i 0 catch { eval exec $cmd } output foreach line [split $output "\n"] { puthelp "privmsg $chan :\00303$line\003" incr i } return 0 } # http://is.gd/SVU9r1 proc throttled {id time} { global throttled if {[info exists throttled($id)]} { return 1 } { set throttled($id) [clock seconds] utimer $time [list unset throttled($id)] return 0 } } foreach bind [split $pcmds " "] { bind pub $pflags $ptrig$bind pingin_pub } foreach bind [split $p6cmd " "] { bind pub $pflags $ptrig$bind ping6_pub } setudef flag pinging proc pingin_pub {nick uhost hand chan text} { if {![channel get $chan pinging]} { return } set user [lindex [split $uhost "@"] 1] if {[throttled $user,$chan $::pflud]} { puthelp "notice $nick :\002Flood algılandı !!!\002 - \ \00314[expr {[clock seconds] - $::throttled($user,$chan)}] saniye sonra deneyin...\003" return } set target [lindex [split $text] 0] if {[llength $target] eq "0"} { puthelp "notice $nick :Kullanımı :\002$::lastbind \00304<\003 IP / host / nick \00304>\003\002" return 0 } if {![string match "*.*" [lindex [split $text] 0]] && [onchan [lindex [split $text] 0] $chan]} { set target [lindex [split [getchanhost [lindex [split $text] 0] $chan] "@"] 1] putlog "$target" } set i 0 set cmd "ping -c 3 $target" catch { eval exec $cmd } output foreach line [split $output "\n"] { regsub -all -- {^[0-9]+} $line {\00303^[0-9]+\003} line set line [string map {"PING" "\002PING\002" \( \002(\002 \) \002)\002} $line] puthelp "privmsg $chan :\00303$line\003" incr i } return 0 } putlog "ok..."[/CODE] [/QUOTE]
Adı
İnsan doğrulaması
Cevap yaz
Ana sayfa
Forumlar
Genel IRCD (Sunucu, Servis, Botlar, Korumalar)
Eggdrop, NeoStats, BNC
TCL Scriptler
Ping.TCL
Üst