![]() |
![]() |
![]() | #4 |
Çevrimdışı ![]() IF Ticaret Sayısı: (0) | Cevap: Coderlere soru #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ # DizginShell.Com IRC Guard Eggdrop # Codded by Teqnic March 2004 © # Email: Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. # Web: [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ # google.tcl v0.2.1 # # !Bul keywords - displays the first related website found from google in the channel # !Resim keywords - displays the first related image found on google in the channel # !Dosya keywords - displays the first mirror download link found on filemirrors in the channel # # by aNa|0Gue - Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. - [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] # # 04/17/2002 v0.2.1 useragent fix by FAN package require http bind pub - !Bul pub:google bind pub - !Resim pub:image bind pub - !Dosya pub:file set agent "arama" proc pub:google { nick uhost handle channel arg } { global agent if {[llength $arg]==0} { putserv "PRIVMSG $channel :hey ! tappes des mots boulet !" } else { set query " Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. for { set index 0 } { $index<[llength $arg] } { incr index } { set query "$query[lindex $arg $index]" if {$index<[llength $arg]-1} then { set query "$query+" } } #putserv "PRIVMSG $channel :$query" set token [http::config -useragent $agent] set token [http::geturl $query] puts stderr "" upvar #0 $token state set max 0 foreach {name value} $state(meta) { if {[regexp -nocase ^location$ $name]} { set newurl [string trim $value] putserv "PRIVMSG $channel :$newurl" } } } } proc pub:image { nick uhost handle channel arg } { global agent if {[llength $arg]==0} { putserv "PRIVMSG $channel :hey ! tappes des mots boulet !" } else { set query "http://images.google.de/images?btnI=&q=" for { set index 0 } { $index<[llength $arg] } { incr index } { set query "$query[lindex $arg $index]" if {$index<[llength $arg]-1} then { set query "$query+" } } append query &imgsafe=off # putserv "PRIVMSG $channel :$query" set token [http::config -useragent $agent] set token [http::geturl $query] puts stderr "" upvar #0 $token state set max 0 foreach {name value} $state(meta) { if {[regexp -nocase ^location$ $name]} { set starturl "http://" set newurl [string trim $value] set newurl [string range $newurl [expr [string first = $newurl]+1] [expr [string first & $newurl]-1]] append starturl $newurl putserv "PRIVMSG $channel :$starturl" } } } } proc pub:file { nick uhost handle channel arg } { global agent if {[llength $arg]==0} { putserv "PRIVMSG $channel :hey ! tappes un nom de fichier boulet !" } else { set query " Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. set query "$query[lindex $arg 0]" # putserv "PRIVMSG $channel :$query" set token [http::config -useragent $agent] set token [http::geturl $query] set html [http::data $token] puts stderr "" upvar #0 $token state set max 0 # foreach {name value} $state(meta) { # putserv "PRIVMSG $channel :$value" # } # putserv "PRIVMSG $channel :$html" set result "[lindex $html 1]" set result [string range $result [expr [string first = $result]+2] [expr [string first > $result]-2]] putserv "PRIVMSG $channel :$result" } } putlog "Google v0.2.1 - LOADED!" |
| ![]() |
Etiketler |
soru, coderlere |
Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
| |
![]() | ||||
Konu | Konuyu Başlatan | Forum | Cevaplar | Son Mesaj |
Oyun botu soru dosyasindaki soru|cevap duzenini tersine çevirme (Çözüm) | Weise | Eggdrop, NeoStats, BNC | 1 | 29 Aralık 2024 15:38 |
LGS soru ve cevapları heyecanı! LGS’ye giren adaylar merakla LGS soru ve cevaplarını bekliyor… | Sanem | Eğitim Haberleri | 0 | 02 Haziran 2018 14:42 |
iktisada giris dev soru bankası (106 soru) | yoSun | AÖF Sorulari & Daha Önce Çıkmis Sorular | 0 | 26 Nisan 2011 13:47 |
Değerli coderlere bir soru | sohbetsevgi | Unreal IRCd | 3 | 15 Nisan 2009 02:58 |