Hi, i've got problem with newban & newchanban tcl commands. It seems always banning uncomplete ident (missing 1 last char) if the 1st string of the ident contain chars "~", "_", or some others and the length of the ident are more than 6 chars. Please take a look at this msgs from my partyline console (the bold string). I'm using eggdrop1.6.17 & Tcl 8.4.7
<me> .tcl set testing "*!*_aaabbbccc@localhost"; newchanban #testingchan $testing testz "testing" 1
<bot> Tcl:
<bot> #testingchan: mode change '+b *!*_aaabbbcc@localhost' by bot!testbot@localhost
<bot> gerl kicked from #testingchan by bot: Banned: testing
<bot> [05:32] gerl (_dddeeefff@localhost) joined #testingchan.
<me> .tcl set testing "*!*_dddeeefff@localhost"; newchanban #testingchan $testing testz "testing" 1
<bot> Tcl:
<bot> [05:32] #testingchan: mode change '+b *!*_dddeeeff@localhost' by bot!testbot@localhost
<bot> [05:32] gerl kicked from #testingchan by bot: Banned: testing
Is this a bug from eggdrop1.6.17 or just something missing?
In my example above the ident only contain 8 chars including the wildcard. So it doesn't a faulty idents I think and it doesn't over limit the max limit of 10 chars. So any other idea to fix this probs?
Just use putserv to kick and ban the user. If you really need a sticky ban then go ahead and use a small tcl script which binds on join, checking certain hosts, if they match, ban and kick them like newchanban: *!*[lindex [split $uhost "@"] 0]@[lindex [split $uhost "@"] 1] or just *!*$uhost
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================