I set a ban say *!*tests@123.nyrr.com and have the reason as msg intel ( .+ban *!*tests@123.nyrr.com Msg intel) When the user comes into the channel it just says banned. Does the banned user just see banned or he gets full reason Msg Intel?
* bot sets mode: +b *!*tests@123.nyrr.com
* test has been kicked by bot (Msg intel)
It would look just like it does above. Since you've given no duration (%XdXhXm-X being numerals) for the ban, it will not expire either. If you instead had placed the ban without a reason it will use only the word banned.
This is the default ban message your eggdrop will use when no reason is given. Changing this changes the default message. You can customize almost every eggdrop message in this maner.
Note as well that since your ban doesn't mention which channel to enforce it within, the eggdrop will enforce it globally on all channels it has ops in.
intel wrote:But I dont want the same message for everyone. If I do a ban with a reason shouldn't it say the reason?
It will if you make sure there isn't any other ban set that preceeds it. Eggdrop bans in order of appearance in the ban list. You should be able to type .bans and see if any other ban (without a reason) is happening before the ban your expecting to happen. What that means is the person your trying to ban more than likely fits the mask on more than one ban. The ban affecting them has no reason and comes before the ban your setting with a reason.
Also worth keeping in mind, if your eggdrop sees the ban being placed (other than by its builtin kick/ban mechanisms), it will use the default ban reason. That includes if some other user and/or bot sets the ban in question, as well as having a custom script doing the banning, and "bypassed" bans already present in the channel (only applicable on some irc servers).
Or, more specific, the ban comment will only be used as kick-reason if the ban is not already placed on the channel, your eggdrop's internal mechanisms detect that this ban should be activated, and it does the banning and kicking itself.
Ok I am still confused. There are no bans on channel. This is the first ban listed so I still dont follow why the reason is not showing.
I have 1 linked bot but that uses the masters userdb and then ban / ban reason is the same.
Could you verify that the bot banning is the very same bot that also kicks?
In some cases, network lag and penalty points causes the other bot to see the ban (and do the kick with standard reason) before the first one manages to kick the offender.
nml375 wrote:I'm puzzled..
All else I could think of would be conflicting global and channel bans..
One other thing to ask, just for sake of following every possible avenue. He may just have his net-type set incorrectly and other odd behaviors are also happening besides just lacking a reason with a properly set bot-ban. This is an often overlooked setting.