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.

Addme tcl script

Support & discussion of released scripts, and announcements of new releases.
Post Reply
T
Tarmee
Voice
Posts: 5
Joined: Tue Aug 01, 2006 7:09 am

Addme tcl script

Post by Tarmee »

Hi there, hoping somebody can help me, im trying to use the addme.tcl script for a pickup bot in my channel. but keep getting this error. havent got a clue what it means.



[19:46] Tcl error in file 'mybot.conf':
[19:46] illegal channel: #xan.ut
while executing
"isop $nick $chan"
(procedure "addme_maplist_read" line 13)
invoked from within
"addme_maplist_read $botnick bleh bleh $i"
("foreach" body line 24)
invoked from within
"foreach i [split $addme_channels " "] {
set addme_randommaps($i) ""
set addme_current($i) 0
set addme_list($i) ""
set addme_begin($i) 0
set addme..."
(file "scripts/addme.tcl" line 1588)
invoked from within
"source scripts/addme.tcl"
(file "mybot.conf" line 1338)
[19:46] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)



any help would be appreciated. thanks alot
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

what version of eggdrop are you using?
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

TCL_no_TK wrote:what version of eggdrop are you using?
That crappy script is buggy in that way. It requires this pain-in-the-ass setup to even get it working without giving that error.

Code: Select all

# Add Me ! - July 13, 2007
# http://forum.egghelp.org/viewtopic.php?p=74416#74416

# This document was created entirely in WORDPAD. For tcl editing
# you must avoid notepad if your on a windows platform. AVOID IT
# LIKE THE PLAGUE! IF YOUR ON WINDOWS AND YOUR EDITING THIS SCRIPT
# WITH NOTEPAD, READING THIS RIGHT NOW. CLOSE NOTEPAD, DO NOT SAVE.
# OPEN WORDPAD ONLY. This is friendly advice for life.

# Q) WHY IS THIS SCRIPT VERSIONLESS? V3.0, 2.43.321?
# A) Because it is finished, and will never need revising. A version
#    number is irrelevant if there will be no revisions. Also, the
#    addition of +Fixes in the filename is enough of an indication
#    to people that something has been done to better the script for
#    users. If you disagree, feel free to add any version designation
#    that suits your tastes.

# Q) WHAT IS DIFFERENT HERE THAN OTHER VERSIONS?
# A) Let me explain in detail, so you understand more.

# Eliminated has been the need to really care about setting channels
# within your eggdrop.conf.  I've always found it better to start a
# fresh bot.  Which was impossible because it would crash. This has
# fully been addressed.  No longer are you restricted in how you
# configure your bot.  If you like to use your eggdrop.conf to define
# channels you can still do this.  If you prefer to .+chan, this option
# will now work for you too.

# Eliminated as well was that annoying bug that limited this script
# to performing in only channels spelled entirely in #lowercase.
# This particular annoyance has been fully addressed, you can now
# create and join channels using any UPPER/lower case variety you
# like, for example: #LetsGame #WeFragSomeoneDies. Notice that
# using combinations of UPPER/lower case you can easily identify
# keywords within the channel name, making IRC more interesting.
# This script now allows for this same interesting feature of IRC.

####################################################################
# This script has been modified from it's original form by speechles
# These modifications were done to compliment it's capabilities and
# remove restrictions placed upon users. If you would like help for
# problems related to this script, you will find support at: 
# http://forum.egghelp.org/viewtopic.php?p=74416#74416
The good news is the same script can be found here and I've corrected these types of problems. There may still be bugs present as I'm not using this script personally. If anybody wants to take this script further and fix other issues feel free.. ;)
Post Reply