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 

ChanServ Auto Need Error

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


Joined: 23 Dec 2010
Posts: 25

PostPosted: Sun Dec 26, 2010 11:26 pm    Post subject: ChanServ Auto Need Error Reply with quote

With this TCL script: http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=1023

Loaded and configured correctly, I get this error message via CTCP chat with my eggdrop bot:

Code:
<EggDrop> [22:25] Tcl error [need:unban]: can't read "cha": no such variable


I have no idea what it's talking about.
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Mon Dec 27, 2010 5:09 am    Post subject: Reply with quote

Code:

proc need:unban {chan type} {
 global botnick needunbantype needunbanchans
  if {($needunbantype == 1) && ([lsearch -exact [split [string tolower $needunbanchans]] [string tolower $chan]] != -1)} { needunban:chans $chan $type }
  if {($needunbantype == 2)} { needunban:chans $chan $type }
  if {($needunbantype != 1) && ($needunbantype != 2) || ($needunbantype == 0)} { return 0 }
}

As you can see the 'need:unban' proc doesn't have a 'cha' variable. Have you done any changes to your file?
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
Tannn3r
Voice


Joined: 23 Dec 2010
Posts: 25

PostPosted: Mon Dec 27, 2010 12:38 pm    Post subject: Reply with quote

No, I even searched script several times and came up with nothing. However, it was telling me this while it was banned and didn't have the right permissions to unban itself. Would that be the problem?
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