| View previous topic :: View next topic |
| Author |
Message |
ig8011 Voice
Joined: 17 Mar 2015 Posts: 5
|
Posted: Mon Mar 30, 2015 3:40 pm Post subject: Uncommented tcl works |
|
|
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. This happens after .rehash command.
Why, and how can I stop the "old" greetings?
Thanks a lot! |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Mon Mar 30, 2015 3:47 pm Post subject: Re: Uncommented tcl works |
|
|
| 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.
 |
|
| Back to top |
|
 |
ig8011 Voice
Joined: 17 Mar 2015 Posts: 5
|
Posted: Mon Mar 30, 2015 4:10 pm Post subject: |
|
|
Ok, I found!
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! |
|
| Back to top |
|
 |
|