I've got a problem (you might have guessed). I want my eggdrop to set defaultmodes +hpI on new learned users, but the only flags it sets are +hp, although i've put
default-flags "hpI"
into the config. Though I was told the bot doesn't work with these user defined flags as default-flags, I wrote this little tcl script, but it's not working:
Code: Select all
proc learn_new { nick uhost hand chan } {
if {[string compare $hand "*"] != 0} { return }
*msg:hello $nick $uhost $hand hello
chattr $hand +hpI
}
So any solutions?
greetz
mcdeck