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.

ChanServ Auto Need Error

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
Tannn3r
Voice
Posts: 25
Joined: Thu Dec 23, 2010 11:58 pm

ChanServ Auto Need Error

Post by Tannn3r »

With this TCL script: http://www.egghelp.org/cgi-bin/tcl_arch ... ad&id=1023

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

Code: Select all

<EggDrop> [22:25] Tcl error [need:unban]: can't read "cha": no such variable
I have no idea what it's talking about.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Code: Select all

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.
User avatar
Tannn3r
Voice
Posts: 25
Joined: Thu Dec 23, 2010 11:58 pm

Post by Tannn3r »

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?
Post Reply