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
Kayıtlı Nicklere Mail Gönderme.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: 91" data-attributes="member: 1"><p>[CODE]set mail(trigger) "!mail"</p><p>set mail(address) "che@SohbetTur.com"</p><p>set mail(subject) "SohbetTur Grup Bilgilendirme"</p><p>set mail(signature) "© 2014 SohbetTur® Grup | http://www.ForumRuzgari.Com"</p><p>set mail(version) "1.0.0.1"</p><p>set mail(author) "Che"</p><p>set mail(author-i) "SohbetTur Grup"</p><p> </p><p>bind pub - "$mail(trigger)" email</p><p></p><p>proc email { nickname hostname handle channel arguments } {</p><p>global mail admin_chan</p><p> if {($channel != $admin_chan)} { return }</p><p> if {[string equal -nocase "" $arguments]} {</p><p> putquick "privmsg $channel :Lütfen: $mail(trigger) \037help\037 yazınız."</p><p> } elseif {[string equal -nocase "help" $arguments]} {</p><p> putquick "privmsg $channel :\037Kullanım\037\002:\002"</p><p> putquick "privmsg $channel :\002Tek bir adrese mail göndermek için:\002"</p><p> putquick "privmsg $channel :$mail(trigger) \037send\037 \037mail@adres.com\037 \037mesaj\037"</p><p> putquick "privmsg $channel :\002Sunucudaki kayıtlı nicklerin hepsine mail göndermek için:\002"</p><p> putquick "privmsg $channel :$mail(trigger) \037herkes\037 \037mesajınız\037" </p><p> } elseif {[string equal -nocase "herkes" [lindex $arguments 0]]} {</p><p> if {[string match -nocase "" [lindex [split $arguments] 2]]} {</p><p> putquick "privmsg $channel :\037\0034Hata\003\037\002:\002 Yanlış Kullanım.."</p><p> putquick "privmsg $channel :\037Kullanım\037\002:\002"</p><p> putquick "privmsg $channel :\002Sunucudaki kayıtlı nicklerin hepsine mail göndermek için:\002"</p><p> putquick "privmsg $channel :$mail(trigger) \037herkes\037 \037mesajınız\037"</p><p> return</p><p> } </p><p> deneyelim $nickname $hostname $handle $channel $arguments</p><p> return</p><p> } elseif {[string match -nocase "send*" $arguments]} {</p><p> if {[string match -nocase "" [lindex [split $arguments] 2]]} {</p><p> putquick "privmsg $channel :\037\0034Hata\003\037\002:\002 Yanlış Kullanım.."</p><p> putquick "privmsg $channel :\037Kullanım\037\002:\002"</p><p> putquick "privmsg $channel :\002Tek bir adrese mail göndermek için:\002"</p><p> putquick "privmsg $channel :$mail(trigger) \037send\037 \037mail@adres.com\037 \037mesaj\037" </p><p> } elseif {![string match -nocase "*@*" [lindex [split $arguments] 1]]} {</p><p> putquick "privmsg $channel :\037\0034Hata\003\037\002:\002 Yanlış Kullanım."</p><p> putquick "privmsg $channel :\037Kullanım:\037\002:\002"</p><p> putquick "privmsg $channel :$mail(trigger) \037send\037 \037mail@adres.com\037 \037mesaj\037"</p><p> } else {</p><p> set email [open "| /usr/sbin/sendmail -f $mail(address) -t" "w"];</p><p> puts $email "To: [lindex [split $arguments] 1]";</p><p> puts $email "Subject: $mail(subject)";</p><p> puts $email "From: $mail(address)";</p><p> puts $email "[join [lrange [split $arguments] 2 end]]";</p><p> puts $email "";</p><p> puts $email "----------";</p><p> puts $email "";</p><p> puts $email "$mail(signature)";</p><p> close $email;</p><p> putquick "privmsg $channel :Emailiniz \037[lindex [split $arguments] 1]\037 adresine başarıyla gönderilmiştir."</p><p> putquick "privmsg $channel :\037Mesajınız\037\002:\002 [join [lrange [split $arguments] 2 end]]"</p><p> }</p><p> } else {</p><p> putquick "privmsg $channel :\037Kullanım\037\002:\002"</p><p> putquick "privmsg $channel :\002Tek bir adrese mail göndermek için:\002"</p><p> putquick "privmsg $channel :$mail(trigger) \037send\037 \037mail@adres.com\037 \037mesaj\037"</p><p> putquick "privmsg $channel :\002Sunucudaki kayıtlı nicklerin hepsine mail göndermek için:\002"</p><p> putquick "privmsg $channel :$mail(trigger) \037herkes\037 \037mesajınız\037" </p><p> }</p><p>}</p><p></p><p>proc hava:temiz {html} {</p><p> regsub -all {\n} $html {} html</p><p> regsub -all {\t} $html {} html</p><p> regsub -all {&nbsp;} $html {} html</p><p> regsub -all {\u015E} $html {Ş} html</p><p> regsub -all {\u015F} $html {ş} html</p><p> regsub -all {\u011F} $html {ğ} html</p><p> regsub -all {\u011E} $html {Ğ} html</p><p> regsub -all {\u0131} $html {ı} html</p><p> regsub -all {\u0130} $html {İ} html</p><p> regsub -all {Ç} $html {C} html</p><p> return $html</p><p>}</p><p></p><p>proc deneyelim {nick uhost hand chan arg} {</p><p> global mail</p><p> set konu [join [lrange [split $arg] 1 end]]</p><p> set x [open /home/ircblan/ircservices/lib/nick.db r]</p><p> set y [read $x]</p><p> hava:temiz $y</p><p> regsub -all {@} $y {etisareti} y</p><p> regsub -all {\.} $y {nononokta} y</p><p> regsub -all {\-} $y {tiretire} y</p><p> regsub -all {_} $y {yerdentire} y</p><p> regsub -all {[^A-Z,^a-z,^0-9]} $y { } y</p><p> regsub -all {\\001} $y {} y</p><p> regsub -all {etisareti} $y {@} y</p><p> regsub -all {nononokta} $y {\.} y</p><p> regsub -all {tiretire} $y {-} y</p><p> regsub -all {yerdentire} $y {_} y</p><p> putquick "privmsg #Opers :\002SUNUCUDAKİ KAYITLI NİCKLERE MAİLİNİZ GÖNDERİLİYOR..."</p><p> set count 0</p><p> foreach m $y {</p><p> if {[regexp -- {[0-9a-z_\.-]+@([0-9a-z][0-9a-z-]*[0-9a-z]\.)+[a-z]{2,3}} $m]} {</p><p> if {[llength [split [lindex [split $m @] 1] .]] < 4} {</p><p> set email [open "| /usr/sbin/sendmail -f $mail(address) -t" "w"];</p><p> puts $email "To: $m";</p><p> puts $email "Subject: $mail(subject)";</p><p> puts $email "From: $mail(address)";</p><p> puts $email "$konu";</p><p> puts $email "";</p><p> puts $email "----------";</p><p> puts $email "";</p><p> puts $email "$mail(signature)";</p><p> close $email;</p><p> incr count</p><p> }</p><p> }</p><p> </p><p> }</p><p> putquick "privmsg $chan :Emailiniz toplam \002$count\002 Tane Adrese Başarıyla Gönderilmiştir."</p><p> putquick "privmsg $chan :\037Mesajınız\037\002:\002 $konu"</p><p>}[/CODE]</p></blockquote><p></p>
[QUOTE="Che, post: 91, member: 1"] [CODE]set mail(trigger) "!mail" set mail(address) "che@SohbetTur.com" set mail(subject) "SohbetTur Grup Bilgilendirme" set mail(signature) "© 2014 SohbetTur® Grup | http://www.ForumRuzgari.Com" set mail(version) "1.0.0.1" set mail(author) "Che" set mail(author-i) "SohbetTur Grup" bind pub - "$mail(trigger)" email proc email { nickname hostname handle channel arguments } { global mail admin_chan if {($channel != $admin_chan)} { return } if {[string equal -nocase "" $arguments]} { putquick "privmsg $channel :Lütfen: $mail(trigger) \037help\037 yazınız." } elseif {[string equal -nocase "help" $arguments]} { putquick "privmsg $channel :\037Kullanım\037\002:\002" putquick "privmsg $channel :\002Tek bir adrese mail göndermek için:\002" putquick "privmsg $channel :$mail(trigger) \037send\037 \037mail@adres.com\037 \037mesaj\037" putquick "privmsg $channel :\002Sunucudaki kayıtlı nicklerin hepsine mail göndermek için:\002" putquick "privmsg $channel :$mail(trigger) \037herkes\037 \037mesajınız\037" } elseif {[string equal -nocase "herkes" [lindex $arguments 0]]} { if {[string match -nocase "" [lindex [split $arguments] 2]]} { putquick "privmsg $channel :\037\0034Hata\003\037\002:\002 Yanlış Kullanım.." putquick "privmsg $channel :\037Kullanım\037\002:\002" putquick "privmsg $channel :\002Sunucudaki kayıtlı nicklerin hepsine mail göndermek için:\002" putquick "privmsg $channel :$mail(trigger) \037herkes\037 \037mesajınız\037" return } deneyelim $nickname $hostname $handle $channel $arguments return } elseif {[string match -nocase "send*" $arguments]} { if {[string match -nocase "" [lindex [split $arguments] 2]]} { putquick "privmsg $channel :\037\0034Hata\003\037\002:\002 Yanlış Kullanım.." putquick "privmsg $channel :\037Kullanım\037\002:\002" putquick "privmsg $channel :\002Tek bir adrese mail göndermek için:\002" putquick "privmsg $channel :$mail(trigger) \037send\037 \037mail@adres.com\037 \037mesaj\037" } elseif {![string match -nocase "*@*" [lindex [split $arguments] 1]]} { putquick "privmsg $channel :\037\0034Hata\003\037\002:\002 Yanlış Kullanım." putquick "privmsg $channel :\037Kullanım:\037\002:\002" putquick "privmsg $channel :$mail(trigger) \037send\037 \037mail@adres.com\037 \037mesaj\037" } else { set email [open "| /usr/sbin/sendmail -f $mail(address) -t" "w"]; puts $email "To: [lindex [split $arguments] 1]"; puts $email "Subject: $mail(subject)"; puts $email "From: $mail(address)"; puts $email "[join [lrange [split $arguments] 2 end]]"; puts $email ""; puts $email "----------"; puts $email ""; puts $email "$mail(signature)"; close $email; putquick "privmsg $channel :Emailiniz \037[lindex [split $arguments] 1]\037 adresine başarıyla gönderilmiştir." putquick "privmsg $channel :\037Mesajınız\037\002:\002 [join [lrange [split $arguments] 2 end]]" } } else { putquick "privmsg $channel :\037Kullanım\037\002:\002" putquick "privmsg $channel :\002Tek bir adrese mail göndermek için:\002" putquick "privmsg $channel :$mail(trigger) \037send\037 \037mail@adres.com\037 \037mesaj\037" putquick "privmsg $channel :\002Sunucudaki kayıtlı nicklerin hepsine mail göndermek için:\002" putquick "privmsg $channel :$mail(trigger) \037herkes\037 \037mesajınız\037" } } proc hava:temiz {html} { regsub -all {\n} $html {} html regsub -all {\t} $html {} html regsub -all { } $html {} html regsub -all {\u015E} $html {Ş} html regsub -all {\u015F} $html {ş} html regsub -all {\u011F} $html {ğ} html regsub -all {\u011E} $html {Ğ} html regsub -all {\u0131} $html {ı} html regsub -all {\u0130} $html {İ} html regsub -all {Ç} $html {C} html return $html } proc deneyelim {nick uhost hand chan arg} { global mail set konu [join [lrange [split $arg] 1 end]] set x [open /home/ircblan/ircservices/lib/nick.db r] set y [read $x] hava:temiz $y regsub -all {@} $y {etisareti} y regsub -all {\.} $y {nononokta} y regsub -all {\-} $y {tiretire} y regsub -all {_} $y {yerdentire} y regsub -all {[^A-Z,^a-z,^0-9]} $y { } y regsub -all {\\001} $y {} y regsub -all {etisareti} $y {@} y regsub -all {nononokta} $y {\.} y regsub -all {tiretire} $y {-} y regsub -all {yerdentire} $y {_} y putquick "privmsg #Opers :\002SUNUCUDAKİ KAYITLI NİCKLERE MAİLİNİZ GÖNDERİLİYOR..." set count 0 foreach m $y { if {[regexp -- {[0-9a-z_\.-]+@([0-9a-z][0-9a-z-]*[0-9a-z]\.)+[a-z]{2,3}} $m]} { if {[llength [split [lindex [split $m @] 1] .]] < 4} { set email [open "| /usr/sbin/sendmail -f $mail(address) -t" "w"]; puts $email "To: $m"; puts $email "Subject: $mail(subject)"; puts $email "From: $mail(address)"; puts $email "$konu"; puts $email ""; puts $email "----------"; puts $email ""; puts $email "$mail(signature)"; close $email; incr count } } } putquick "privmsg $chan :Emailiniz toplam \002$count\002 Tane Adrese Başarıyla Gönderilmiştir." putquick "privmsg $chan :\037Mesajınız\037\002:\002 $konu" }[/CODE] [/QUOTE]
Adı
İnsan doğrulaması
Cevap yaz
Ana sayfa
Forumlar
Genel IRCD (Sunucu, Servis, Botlar, Korumalar)
Eggdrop, NeoStats, BNC
TCL Scriptler
Kayıtlı Nicklere Mail Gönderme.TCL
Üst