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.

Need Help Adding A Line in bot config.

Old posts that have not been replied to for several years.
User avatar
CoMMy
Halfop
Posts: 99
Joined: Thu Jul 24, 2003 1:03 am
Location: Cyprus

Post by CoMMy »

Thanks stdragon,

This adds the line in the config but it doesnt remove a line if it finds one.
maybe its something with the [set shortnick *] u have.

Can you check it out?

Thanks :mrgreen:
(c) CoMMy (c)
Resistance is Futile!!
We Are The Borg!!
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

I don't see where you see [set shortnick *] anything... but there is an error. I forgot the $lines part of the lsearch, i.e. the list to search through heh. So change that line to this:

set idx [lsearch -glob $lines "set keep-nick *"]

I dunno if it will work now, but that's at least one error out of the way.
Locked