ForumTEK.Net - IRC Forumu

ForumTEK.Net - IRC Forumu (http://www.forumtek.net/index.php)
-   TCL Scriptler (http://www.forumtek.net/forumdisplay.php?f=69)
-   -   Eggdrop Bota /Whois Çekildiğin de Özele Bilgi Vermesi... (http://www.forumtek.net/showthread.php?t=1480)

No_FeaR 23 Mart 2015 20:36

Eggdrop Bota /Whois Çekildiğin de Özele Bilgi Vermesi...
 
saywhat Üstadım dan Rica Etmiştim Sağolsun Kırmadı Yapıverdi, Emeklerine Sağlık...

Kod:

set rapor "#rapor-kanal"

set zaman [clock format [clock seconds] -format "%Y.%m.%d %A %H:%M:%S"]

bind raw * NOTICE snotice

proc snotice {from key arg} {
 if {![string match -nocase "*whois on you*" $arg] \
 && [string match *!*@* $from]} { return 0 }
 
        set nick [lindex [split $arg] 2]
        set host [lindex [split $arg] 3]
        set ident [lindex [split $host @] 0]
        set uhost [lindex [split $host @] 1]
        set zmn [string map -nocase {
                        "Sunday" "Pazar" "Monday" "Pazartesi" "Tuesday" "Salı"
                        "Wednesday" "Çarşamba" "Thursday" "Perşembe"
                        "Friday" "Cuma" "Saturday" "Cumartesi"} $::zaman]
                                       
      puthelp "PRIVMSG $nick :Merhaba Ben $::botnick"
      putserv "PRIVMSG $::rapor :$zmn Nick:$nick Ident:$ident Host:$uhost who çekti."
  return 0
}

putlog "ok..."



All times are GMT +3. The time now is 03:28.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.