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.

Qban by coven, error when banned user joins

Support & discussion of released scripts, and announcements of new releases.
Post Reply
J
Jojje_c1
Voice
Posts: 6
Joined: Fri Jan 11, 2008 7:14 am

Qban by coven, error when banned user joins

Post by Jojje_c1 »

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
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Would seem this:

Code: Select all

if {info exists b($chann)} {
Actually should be something like this:

Code: Select all

if {[info exists b($chann)]} {
within the raw:q330 proc.
NML_375
J
Jojje_c1
Voice
Posts: 6
Joined: Fri Jan 11, 2008 7:14 am

Post by Jojje_c1 »

nml375 wrote:Would seem this:

Code: Select all

if {info exists b($chann)} {
Actually should be something like this:

Code: Select all

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?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
J
Jojje_c1
Voice
Posts: 6
Joined: Fri Jan 11, 2008 7:14 am

Post by Jojje_c1 »

Damn that's to bad, this was like the only script i could find using quakenet's auth to identify users.
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

http://www.egghelp.org/tclhtml/3478-4-0-0-1-chanlev.htm

The script made by perplexa should do what you need.
Post Reply