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.
Old posts that have not been replied to for several years.
X
XmasterX
Post
by XmasterX » Sun Dec 21, 2003 8:32 am
hi, in my eggdrop i put a script for managing the wars of my clan and it appears always this error:
[Abductors]: [12:25] Tcl error [war_topicchange]: wrong # args: should be "topic channel what"
i think the error is somehere arround this code, but i dont have sure cuse i don't know tcl:
Code: Select all
proc war_topicchange {nick uhost handle channel topic} {
global botnick war_privchan
set channel [string tolower $channel]
if {($nick!=$botnick)&&($channel==$war_privchan)} {
war_automanagement
}
}
can anyone tell me what is going on and correct this error?
thkz
Ofloo
Owner
Posts: 953 Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:
Post
by Ofloo » Sun Dec 21, 2003 12:00 pm
i think u need to set a channel or something don't think its code thing ..
XplaiN but think of me as stupid
X
XmasterX
Post
by XmasterX » Sun Dec 21, 2003 2:40 pm
the settings are all filled and right...
but the script works fine, but the bot don't change the topic of the private channel after i put a new war on it... i think this error has something to do with this...
GodOfSuicide
Master
Posts: 463 Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria
Post
by GodOfSuicide » Sun Dec 21, 2003 3:13 pm
.tcl set errorInfo
then you'll find where the error occours (line, proc, etc)
X
XmasterX
Post
by XmasterX » Mon Dec 22, 2003 8:53 am
what?
i put the command and it don't work...
stdragon
Owner
Posts: 959 Joined: Sun Sep 23, 2001 8:00 pm
Contact:
Post
by stdragon » Tue Dec 23, 2003 7:42 pm
You have to have the .tcl command enabled for that to work. By the way, it's a partyline command, not something you put in the tcl file.
To enable the .tcl command, edit your config file and delete any lines that say
unbind dcc n tcl *dcc:tcl
or anything like that.