Oto mesaj (Tcl)

Oto msj Kanal girenlere otomatik mesaj yazar.

set onjoin_msg {
{
“Welcome to Channel \$chan \$nick”
}
}
set onjoin_chans “#BG® #eg-lovech”

bind join – * join_onjoin

putlog “Onjoin.tcl 0.1 by Banned loaded”

proc join_onjoin {nick uhost hand chan} {
global onjoin_msg onjoin_chans botnick
if {(([lsearch -exact [string tolower $onjoin_chans] [string tolower $chan]] != -1) || ($onjoin_chans == “*”)) && (![matchattr $hand b]) && ($nick != $botnick)} {
set onjoin_temp [lindex $onjoin_msg [rand [llength $onjoin_msg]]]
foreach msgline $onjoin_temp {
puthelp “NOTICE $nick :[subst $msgline]”
}
}
}

Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

No Responses to “Oto mesaj (Tcl)”

Leave a Reply

Name:
Email:
Website:
Comment:
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>