| View previous topic :: View next topic |
| Author |
Message |
intel Halfop
Joined: 26 Feb 2008 Posts: 57
|
Posted: Mon Dec 15, 2008 1:31 pm Post subject: Ban Msg |
|
|
| 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? |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Mon Dec 15, 2008 6:37 pm Post subject: |
|
|
| Quote: | * 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. _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
intel Halfop
Joined: 26 Feb 2008 Posts: 57
|
Posted: Mon Dec 15, 2008 7:25 pm Post subject: |
|
|
| I'm confused. I know it won't expire, thats fine. If I don't give a reason how does it know what to say for ban reason?? |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Mon Dec 15, 2008 7:43 pm Post subject: |
|
|
| intel wrote: | | I'm confused. I know it won't expire, thats fine. If I don't give a reason how does it know what to say for ban reason?? |
In your /eggdrop/language folder you will find core.*.lang (* being the language you set your bot to) just find the part below:
| /eggdrop/language/core.english.lang wrote: | # IRC_
0x600,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. _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
intel Halfop
Joined: 26 Feb 2008 Posts: 57
|
Posted: Mon Dec 15, 2008 8:31 pm Post subject: |
|
|
| But I dont want the same message for everyone. If I do a ban with a reason shouldn't it say the reason? |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Mon Dec 15, 2008 8:38 pm Post subject: |
|
|
| 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. _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
intel Halfop
Joined: 26 Feb 2008 Posts: 57
|
Posted: Mon Dec 15, 2008 8:57 pm Post subject: |
|
|
its the first and only ban.
[ 1] *!*tests@C0c5c05cdc-m (perm)
Intel: msg Intel
Tbot Created 02:58, last used 13:44
Tbot Channel bans for #test: (* = not placed by bot) |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Tue Dec 16, 2008 3:05 pm Post subject: |
|
|
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. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
intel Halfop
Joined: 26 Feb 2008 Posts: 57
|
Posted: Tue Dec 16, 2008 3:16 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Tue Dec 16, 2008 3:48 pm Post subject: |
|
|
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. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
intel Halfop
Joined: 26 Feb 2008 Posts: 57
|
Posted: Tue Dec 16, 2008 3:49 pm Post subject: |
|
|
| The same bot is doing it. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Tue Dec 16, 2008 3:50 pm Post subject: |
|
|
And I guess there are no +k users (or +dk) in your userlist matching the offender either? (.match +k) _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
intel Halfop
Joined: 26 Feb 2008 Posts: 57
|
Posted: Tue Dec 16, 2008 4:10 pm Post subject: |
|
|
.match +k
Tbot> *** Matching '+k':
Tbot> HANDLE PASS NOTES FLAGS LAST
Tbot> --- Found 0 matches. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Tue Dec 16, 2008 8:20 pm Post subject: |
|
|
I'm puzzled..
All else I could think of would be conflicting global and channel bans. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Tue Dec 16, 2008 8:44 pm Post subject: |
|
|
| 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. _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
|