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.

Uncommented tcl works

General support and discussion of Eggdrop bots.
Post Reply
i
ig8011
Voice
Posts: 5
Joined: Tue Mar 17, 2015 11:00 am

Uncommented tcl works

Post by ig8011 »

Hi guys,

My eggdrop runs well, but there is a small problem I Can't solve.

I used an auto-greet tcl. This tcl read the greetings from a txt file -welcome.txt.

I found a better script and I removed this auto-greet.tcl from the config file, but the bot still says the greetings from the welcome.txt which belongs to the removed auto-greet.tcl. :shock: This happens after .rehash command.

Why, and how can I stop the "old" greetings?

Thanks a lot!
w
willyw
Revered One
Posts: 1197
Joined: Thu Jan 15, 2009 12:55 am

Re: Uncommented tcl works

Post by willyw »

ig8011 wrote:Hi guys,

...

This happens after .rehash command.

Why, and how can I stop the "old" greetings?

For want of a better way to word it - you can't "unload" a script with .rehash.

The simplest solution to give you is: use .restart .

Try it. See if that solves it.
:)
i
ig8011
Voice
Posts: 5
Joined: Tue Mar 17, 2015 11:00 am

Post by ig8011 »

Ok, I found! :lol:

Use .bind command on DCC line. You got a list where you see something like this:
TYPE FLAGS COMMAND HITS BINDING (TCL)
join -|- * 80 wjoin

Type= join
Flags= -|-
Command= *
Hits=80
Bindings (tcl)= wjoin.


Use the following command: .tcl unbind join -|- * wjoin

Wjoin - was used in the old auto-greet.tcl- removed. The "old" greetings disappeared.


Thanks!
Post Reply