I need to know how to make my eggdrop do these taskes when someone joins
Learn them (add them to the user file)
set a flag
ask them for a password
on every user that joins the channel can it be done?
If eggdrop's *msg:hello is ok with you, a straight forward solution is to bind JOIN to eggdrop default *msg:hello command:On 2002-02-10 06:17, smash_xtegg wrote:
that would kinda work but there has gotta be a way to set the bot to learn them automaticly
Code: Select all
# "Set learn-users 1" in main config file
bind join - * autolearnusers
proc autolearnusers { nick uhost hand chan } {
# skip if known nick ...
if {[string compare $hand "*"] != 0} { return }
# ... else use eggdrop's default "*msg:hello" to learn a new user
*msg:hello $nick $uhost $hand hello
}