| View previous topic :: View next topic |
| Author |
Message |
bulgar1an Voice
Joined: 14 Jul 2006 Posts: 2
|
Posted: Fri Jul 14, 2006 1:02 pm Post subject: Ban +dk users with *!*@some.host.com |
|
|
First of all.. I'm sorry for my bad english. For spammers, inviters proxies etc I add user Spammer, Inviter, Proxy and .chattr him +dk, but if some of matching id@host is *!*ident@222.222.222.222, egg bans him like that:
*!*ident@222.222.222.*
Could someone please tell me how to make bot banning:
*!*@222.222.222.222?
I was googling several hours, but I couldn't find solution... I'm sorry for the language again and thanks in advance... |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Jul 14, 2006 10:10 pm Post subject: |
|
|
| Code: | | *!*user@222.222.222.* |
The above is the standard and most effective formatting of bans; it ensures that just a specific user is punished. Good if a channel has a lot of cyber cafe users.
Scripts you run usually have settings to alter ban type settings. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
bulgar1an Voice
Joined: 14 Jul 2006 Posts: 2
|
Posted: Sun Jul 16, 2006 5:53 pm Post subject: |
|
|
| I just want *!*@some.host.com bans... you didn't understand me. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Jul 16, 2006 8:46 pm Post subject: |
|
|
| bulgar1an wrote: | | I just want *!*@some.host.com bans... you didn't understand me. |
Then edit the script you're using and change the ban type; it's usually in the configuration section. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Sun Jul 16, 2006 11:35 pm Post subject: |
|
|
| this should be moved to "script requests", he is asking for someone to create a custom script to deal with users with +dk flags in the ban style he asked for |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Jul 17, 2006 3:29 am Post subject: |
|
|
Hmmm.. His bad English was worse than I thought.
Moved to Script Requests. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
honeybee Halfop
Joined: 01 Jan 2006 Posts: 80
|
Posted: Tue Jul 18, 2006 5:35 am Post subject: |
|
|
| actulay you guys didnt understand him. what he meant is if someone is added in bot with +dk flag that is not a script its a default eggdrop bot flag with his deoped and kick. but the hostmask bots bans with is *!ident@host and that doesnt work in the case if it has ~ in idents, for this he has to edit the sourcecode and change the default banmask with is *!ident@ip not the tcls. |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Wed Jul 19, 2006 12:14 am Post subject: |
|
|
| honeybee wrote: | | actulay you guys didnt understand him. what he meant is if someone is added in bot with +dk flag that is not a script its a default eggdrop bot flag with his deoped and kick. but the hostmask bots bans with is *!ident@host and that doesnt work in the case if it has ~ in idents, for this he has to edit the sourcecode and change the default banmask with is *!ident@ip not the tcls. |
as for changing eggdrop's default banmask, look at the strict-host setting which tells eggdrop to remove ~ from ident/username, or not to remove it
you can also change the bot's default banmask by using a tcl script to replace the builtin banmask, no need to change source code |
|
| Back to top |
|
 |
honeybee Halfop
Joined: 01 Jan 2006 Posts: 80
|
Posted: Tue Jul 25, 2006 7:28 pm Post subject: |
|
|
| again you misunderstood you havent, read his question correctly, strict host wont change banmask to *!*@host.ip. read eggdrop.conf carefully. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Tue Jul 25, 2006 8:02 pm Post subject: |
|
|
| honeybee wrote: | | again you misunderstood you havent, read his question correctly, strict host wont change banmask to *!*@host.ip. read eggdrop.conf carefully. |
| Alchera wrote: | | Scripts you run usually have settings to alter ban type settings. |
You have misunderstood DragnLord's response! Tcl Scripts can be configured to set any format of banmask a user wants.
.. and as for manually adding a host; it would be a rarity if anyone actually read the docs that are supplied with the eggdrop tarball.
| Quote: | ### +host [handle] <hostmask>
Adds a hostmask to a user's user record. Hostmasks are used to identify your
handle on IRC. If a handle is not specified, the hostmask will be added to
YOUR user record.
See also: -host |
_________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Jul 26, 2006 9:34 am Post subject: |
|
|
we got your point; the thing is that kind of ban (on +dk users) is hardcoded in eggdrop and you can't configure it; what you need is a script which would handle +dk's the way you want
in bulgarian: разбрахме те много добре; работата е там че бана на +dk юзърите е кодиран в самия егдроп и не може да се конфигурира; това от което се нуждаеш е скрипт който банва +dk по начина който желаеш _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
|