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.
Old posts that have not been replied to for several years.
Garby
Voice
Posts: 5 Joined: Thu Jun 16, 2005 12:01 pm
Location: France
Post
by Garby » Thu Jun 16, 2005 1:40 pm
Why is it that everytime i try to add a second bind command to my script, it ends up in a Tcl error [pub_results]: invalid command name "pub_results" ?
(pub_results being my second bind)
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Thu Jun 16, 2005 1:50 pm
care to post your code?
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Thu Jun 16, 2005 1:53 pm
most probably, the proc pub_results doesn't exist.
Garby
Voice
Posts: 5 Joined: Thu Jun 16, 2005 12:01 pm
Location: France
Post
by Garby » Thu Jun 16, 2005 3:29 pm
Here is the code:
Code: Select all
bind pub - !results pub_results
### !results [arg]
proc pub_results {nick host hand chan arg} {
dccsend indexes/$arg.tar $nick
}
return 0
}
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Thu Jun 16, 2005 4:22 pm
you have an extra brace before return
Garby
Voice
Posts: 5 Joined: Thu Jun 16, 2005 12:01 pm
Location: France
Post
by Garby » Thu Jun 16, 2005 4:54 pm
oh yeah lol, sorry for bothering you :s and thank you