i have a problem with a tcl,
Code: Select all
bind raw - notice ctcpfinger
bind ctcr - FINGER ctcpreply
proc ctcpfinger {from key text} {
if {[string match "*connecting*" $text] } {
set text [split $text]
set nickname [lindex $text 8]
putserv "PRIVMSG $nickname :\001FINGER\001"
}
}
proc ctcpreply {nick uh hand dest key arg} {
if {[string match -nocase "*Java*" $arg]} {
putserv "PRIVMSG misterys :blabla"
}
}
when i bind the "connection snotice" from the server when a user connect, i dont get the finger reply.
if i bind join, the script is working...
running eggdrop1.6.10 and Tcl 8.3.2.
what can i do ? where is the error ?
btw... how to do that i just get a msg when the bot DONT geht the Finger reply "*java*" ??
i hope that s.o. can help me *g
and sorry for my bad english
mfg
misterys