I wrote a script that contains newchanban
When the proc where it is used is triggered,the mathing user is getting kicked but there's no ban set
heres the line
newchanban $::s_chan *!*$ident@* $::botnick $::kicktext $::bantime
I used the same script in other channels and it works
i got a little script to check if the banlist is full
it isn't!
the bot also adds the ban to its internal banlist
but it doesn't set the ban in the channel
so i think there must be an option in chanset but i don't know which one.
no i meanth open the chan file and show that or you could compare the settings with the other channels and see what is different, then kill the bot and edit the file and restart it ....
or at least find out what is missing :p, as long as it is a dynamic setting you could edit the file but if its in the config file then it won't matter cause from the start the bot fires up again, you will reset the old settings and your back from where you started..
the newchanbanline is in my first post
and the vars need to be correct cause the user is kicked and the ban is set to the internal banlist of the eggdrop and gets removed after the right time
Torte86 wrote:the newchanbanline is in my first post
and the vars need to be correct cause the user is kicked and the ban is set to the internal banlist of the eggdrop and gets removed after the right time
If the channels banlist isn't full the bot's banlist could be full. Check maxbans and other variables related to this in the eggdrops .conf file.
Try using this and lets see if it places the ban and does the kick:
Well, actually to be honest I didn't have an idea of what the problem was, because it seemed unlikely not to ban when every var for newchanban is correct.
However putserv mode, kick are likely the same. But they will not ban and kick the user again if for instance the ban is removed and the user joins again provided, that only occurs before the bantime expires.
But for your case this should generally be okay.
Last edited by awyeah on Sun Jan 16, 2005 10:20 pm, edited 1 time in total.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Yeah putquick is generally fast. If you use the -next switch it would also be more faster. But what can we define fast in this, faster a couple of microseconds? heh
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================