This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

aidle1.1.tcl

Old posts that have not been replied to for several years.
Locked
w
wile

aidle1.1.tcl

Post by wile »

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
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

To begin with:

set ai_msgs hello {

should be

set ai_msgs {
w
wile

Post by wile »

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.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

What you want is a plain simple responder, see/search the TCL Archive for one.
Once the game is over, the king and the pawn go back in the same box.
w
wile

Post by wile »

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}}
Locked