IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası
  sohbet

 Kayıt ol  Topluluk
1Beğeni(ler)
  • 1 Post By house

Yeni Konu aç Cevapla
 
LinkBack Seçenekler Stil
Alt 08 Eylül 2012, 19:58   #1
Çevrimdışı
Kullanıcıların profil bilgileri misafirlere kapatılmıştır.
IF Ticaret Sayısı: (0)
IF Ticaret Yüzdesi:(%)
Whois TCL




Merhaba,

Bu TCL ile #Opers kanalında birine whois çekip bilgileri yansıtabilirsiniz, basit bir TCL belki işe yarar diye paylaşıyorum. Türkçeye çevirip 1-2 ekleme yaptıklarımdan biri bu da. Kullanım;

!whois Nick


PHP Kod:   Kodu kopyalamak için üzerine çift tıklayın!
   set whois(author"Nickiniz"    

    
set whois(version"1.8"
    
set whois(acc""
    
# Düzenleme bitti

    
bind pub $whois(acc"!whois" whois:nick

    proc whois
:nick nickname hostname handle channel arguments } {
    global 
whois
      set target 
[lindex [split $arguments0]
    if {
$target == ""} {
    
putquick "PRIVMSG $channel :Bişey yazmadın, nick vermedin?"
    
return 0
    
}
    
# if {[string length $target] >= "15"} {
    # putquick "PRIVMSG $channel :Sence de bir nick için aşırı uzun bir kelime yazmadın mı?"; return
    # }
    # if {[regexp -all -- {[~\[\]\{\}\|\_\\]} $target]} {
    # putquick "PRIVMSG $channel :Üzgünüm, farsça bilmiyorum. Özel karakterli nickler yazma."; return
    # }
    
putquick "WHOIS $target $target"
      
set ::whoischannel $channel
    set 
::whoistarget $target
    bind RAW 
401 whois:nosuch
    bind RAW 
311 whois:info
    bind RAW 
319 whois:channels
    bind RAW 
301 whois:away
    bind RAW 
313 whois:ircop
    bind RAW 
330 whois:auth
    bind RAW 
317 whois:idle
    bind RAW 
307 whois:reged
    
}

    
proc whois:putmsg channel arguments } {
        
putquick "PRIVMSG $channel :$arguments"
    
}

    
proc whois:info from keyword arguments } {
        
set channel $::whoischannel
        set nickname 
[lindex [split $arguments1]
        
set ident [lindex [split $arguments2]
        
set host [lindex [split $arguments3]
        
set realname [string range [join [lrange $arguments 5 end]] 1 end]
        
whois:putmsg $channel "$nickname - $ident@$host * $realname"
        
unbind RAW 311 whois:info
    
}

    
proc whois:ircop from keyword arguments } {
        
set channel $::whoischannel
        set target 
$::whoistarget
        whois
:putmsg $channel "$target bir sunucu yetkilisi."
        
unbind RAW 313 whois:ircop
    
}
    
    
proc whois:reged from keyword arguments } {
        
set channel $::whoischannel
        set target 
$::whoistarget
        whois
:putmsg $channel "$target şifreli (kayıtlı) bir nicktir."
        
unbind RAW 307 whois:reged
    
}

    
proc whois:away from keyword arguments } {
        
set channel $::whoischannel
        set target 
$::whoistarget
        set awaymessage 
[string range [join [lrange $arguments 2 end]] 1 end]
        
whois:putmsg $channel "$target şu an away konumunda: $awaymessage"
        
unbind RAW 301 whois:away
    
}

    
proc whois:channels from keyword arguments } {
        
set channel $::whoischannel
        set channels 
[string range [join [lrange $arguments 2 end]] 1 end]
        
set target $::whoistarget
        whois
:putmsg $channel "$target nicki $channels kanallarında bulunuyor."
        
unbind RAW 319 whois:channels
    
}

    
proc whois:auth from keyword arguments } {
        
set channel $::whoischannel
        set target 
$::whoistarget
        set authname 
[lindex [split $arguments2]
        
whois:putmsg $channel "$target orjinal nicki: $authname"
        
unbind RAW 330 whois:auth
    
}

    
proc whois:nosuch from keyword arguments } {
        
set channel $::whoischannel
        set target 
$::whoistarget
        whois
:putmsg $channel "Böyle bir nick yok: \"$target\""
        
unbind RAW 401 whois:nosuch
    
}

    
proc whois:idle from keyword arguments } {
        
set channel $::whoischannel
        set target 
$::whoistarget
        set idletime 
[lindex [split $arguments2]
        
set signon [lindex [split $arguments3]
        
whois:putmsg $channel "$target konuşmadığı süre: [duration $idletime]. Giriş zamanı: [ctime $signon]"
        
unbind RAW 317 whois:idle
    



 
Alıntı ile Cevapla

IRCForumlari.NET Reklamlar
sohbet odaları reklam ver Benimmekan Mobil Sohbet
Cevapla

Etiketler
tcl, whois


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı
Trackbacks are Kapalı
Pingbacks are Açık
Refbacks are Açık


Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
Giriş Çıkış Yapana Whois ( @Whois Penceresinde ) LauReLL mIRC Scripting Hazır Kodlar 12 06 Temmuz 2009 09:30
whois çekene uyarı beraber Sajoin ve 2 kere whois kill olmasını istiyorum nasıldı ? Rekor37 mIRC Scripting Sorunları 1 06 Haziran 2009 15:34
Whois... JuSTFoRYou mIRC Scripting Sorunları 5 10 Ocak 2009 03:25
whois ip sevenler12 Unreal IRCd 3 08 Şubat 2008 15:38