egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Uncommented tcl works

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
ig8011
Voice


Joined: 17 Mar 2015
Posts: 5

PostPosted: Mon Mar 30, 2015 3:40 pm    Post subject: Uncommented tcl works Reply with quote

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. Shocked This happens after .rehash command.

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

Thanks a lot!
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Mon Mar 30, 2015 3:47 pm    Post subject: Re: Uncommented tcl works Reply with quote

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.
Smile
Back to top
View user's profile Send private message
ig8011
Voice


Joined: 17 Mar 2015
Posts: 5

PostPosted: Mon Mar 30, 2015 4:10 pm    Post subject: Reply with quote

Ok, I found! Laughing

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber