![]() |
![]() |
![]() | #1 | |
Misafir
Kullanıcıların profil bilgileri misafirlere kapatılmıştır.
| tcl yardım arkadaşlar bi tcl dosyası oluşturup 40 adet txt dosyasını komut ile bu tcl ye okutmak istiyorum yardımcı olur musunuz?aşağıdaki buluduğum kodlar doğru mu veya eklenecek değişecek kodlar var mı? set oku "x.txt" set kanal "#kanal" bind pub - !kural pub:kuralmsg proc pub:kuralmsg { nick host hand chan text} { global oku kanal if {[file exists $oku]} { set kuralfile [open $oku r] while {![eof $kuralfile]} { catch {set kuraltext [gets $kuralfile]} putserv "PRIVMSG $kanal :$kuraltext" } catch {close $kuralfile} } } - proc fread {dosya kime} { if {![file exists $dosya]} { putlog "$dosya adinda bir belge bulunamadi" return } set cikti [open $dosya r] set satir [split [read $cikti] \n] catch {close $cikti} set say 0 foreach satir $satir { if {$satir != ""} { puthelp "PRIVMSG $kime :$satir" incr say } } if {$say == 0} { puthelp "PRIVMSG $kime :Mevcut dosya icinde bilgi bulunamadi" return } else { puthelp "PRIVMSG $kime :Liste sonu!" } } - bind pub - !kural kural proc kural {nick uhost hand chan text} { fread scripts/kural.txt $chan } | |
| ![]() |
Etiketler |
eggdop, eggdrop bot tcl, eggdrop botları, tcl editor, tcl istegi, tcl istek, tcl lazim |
Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
| |
![]() | ||||
Konu | Konuyu Başlatan | Forum | Cevaplar | Son Mesaj |
yardım | aXXi | mIRC Scripting Sorunları | 1 | 10 Aralık 2014 06:08 |
Yardım Nick info Son Görülen Zaman aşımından Access silme Yardım | HsN | mIRC Scripting Sorunları | 4 | 14 Ocak 2014 21:15 |
Soru ? yardım ?? Kod yardım ? | SabotaJ_ | mIRC Scripting Sorunları | 1 | 24 Haziran 2009 05:11 |
Yardım Kanalınla ilgili yardım | Avukat | mIRC Scripting Sorunları | 16 | 01 Haziran 2008 23:52 |