| View previous topic :: View next topic |
| Author |
Message |
Jojje_c1 Voice
Joined: 11 Jan 2008 Posts: 6
|
Posted: Sat Jan 12, 2008 4:35 pm Post subject: Qban by coven, error when banned user joins |
|
|
Downloaded the script from your tcl archive.
When a user joins the channel I get the error
"Tcl error [raw:q330]: syntax error in expression "info exists b($chann)": extra tokens at end of expression"
anyone else that use this script or know anything about the error?
http://www.egghelp.org/tclhtml/3478-4-0-0-1-qban.htm
/Johan Carlsson |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Jan 12, 2008 4:59 pm Post subject: |
|
|
Would seem this:
| Code: | | if {info exists b($chann)} { |
Actually should be something like this:
| Code: | | if {[info exists b($chann)]} { |
within the raw:q330 proc. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Jojje_c1 Voice
Joined: 11 Jan 2008 Posts: 6
|
Posted: Sat Jan 12, 2008 5:34 pm Post subject: |
|
|
| nml375 wrote: | Would seem this:
| Code: | | if {info exists b($chann)} { |
Actually should be something like this:
| Code: | | if {[info exists b($chann)]} { |
within the raw:q330 proc. |
Thanks =) that removed the error, but unfortunately it did't make the script work.
the help says "QBAN:: .qban add <chan> <authname> <-- adds a new auth to ban list"
but when you type it that way all it does is to add the channel name to the banlist :S
anyone know how to get in contact with this coven or have any idea of how to make the script work? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Jan 12, 2008 6:06 pm Post subject: |
|
|
Upon inspecting this script abit further, numerous issues appear:
One dominating issue is that the author apparently has no idea of the difference between lists and strings, and use commands such as lindex on pretty much anything. (S)he apparently has very limited understanding of the special parameter-name "args" with procs.
All in all, cleaning up this script would probably take more of an effort than rewriting it from scratch. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Jojje_c1 Voice
Joined: 11 Jan 2008 Posts: 6
|
Posted: Sat Jan 12, 2008 6:25 pm Post subject: |
|
|
| Damn that's to bad, this was like the only script i could find using quakenet's auth to identify users. |
|
| Back to top |
|
 |
metroid Owner
Joined: 16 Jun 2004 Posts: 771
|
|
| Back to top |
|
 |
|