egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Qban by coven, error when banned user joins

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Jojje_c1
Voice


Joined: 11 Jan 2008
Posts: 6

PostPosted: Sat Jan 12, 2008 4:35 pm    Post subject: Qban by coven, error when banned user joins Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Jan 12, 2008 4:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jojje_c1
Voice


Joined: 11 Jan 2008
Posts: 6

PostPosted: Sat Jan 12, 2008 5:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Jan 12, 2008 6:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jojje_c1
Voice


Joined: 11 Jan 2008
Posts: 6

PostPosted: Sat Jan 12, 2008 6:25 pm    Post subject: Reply with quote

Damn that's to bad, this was like the only script i could find using quakenet's auth to identify users.
Back to top
View user's profile Send private message
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Sun Jan 13, 2008 4:02 pm    Post subject: Reply with quote

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

The script made by perplexa should do what you need.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber