hi slennox... i used your aidle1.1.tcl and it shows a message error
[01:46] Tcl error in file 'my.conf':
[01:46] wrong # args: should be "set varName ?newValue?"
while executing
"set ai_msgs hello {
"hello=yawn"
"*sigh*"
"*chuckle*"
"afk"
"anyone awake?"
"anyone here?"
"anyway"
"argh"
"bbiam"
"la la la"
"b..."
(file "imik.tcl" line 11)
invoked from within
"source imik.tcl"
(file "my.conf" line 52)
can u help me there
hi slennox's thank you very much and the aidle.tcl is working. Can i request for a tcl. a tcl whick will reply for a channel messages or nick messages. for example someone says hello to the channel and my bot will reply hi.
well i have downloaded all of it but all of them has an error. thats why im requesting to slennox's because hes great. or maybe you can help me out about this
Tcl error [replychan]: wrong # args: should be "string option arg ?arg ...?"
and here is the source problems
proc replychan {nick uhost hand chan rest} {
global botnick repchan
foreach targchan $repchan {if {[string match *[string tolower $targchan]* [string tolower $chan]]} {append reps "$chan $rest" ; replyuser $nick $uhost $hand $reps ; return 0}}