i'm new to tcl and to eggdrop, too!
I managed to setup eggdrop on a linux vhost and get it working.
Now i'm stumbeling around while trying to get the bot setting the topic of a channel, everytime he join's the channel.
I read some scripts, that perform similiar operations, copy some - thought essential - lines from other scripts and edited them to solve the problem, but it doesn't work.
My script actualy looks like this:
Code: Select all
global chan topic
set chan "#testchan"
set topic "test topic!"
if {[botonchan $chan] && [botisop $chan]} {
putquick "TOPIC $chan :$topic"
}
Is there something like a triggerevent that is fired, when the bot is connected and in the channel?
Another idea is, to try to solve the problem with a "one-time"-timer.
I can't believe, that it should be that complicated to automaticly set a static topic. I read the documentation and searched the internet without success. Maybe i don't see the forest for the trees.
Can anyone please light up the dark?
tia
Fussel
...please excuse my poor english! I'm not used to speak/write the language due to i'm from germany...
