egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ban +dk users with *!*@some.host.com

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
bulgar1an
Voice


Joined: 14 Jul 2006
Posts: 2

PostPosted: Fri Jul 14, 2006 1:02 pm    Post subject: Ban +dk users with *!*@some.host.com Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Jul 14, 2006 10:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
bulgar1an
Voice


Joined: 14 Jul 2006
Posts: 2

PostPosted: Sun Jul 16, 2006 5:53 pm    Post subject: Reply with quote

I just want *!*@some.host.com bans... you didn't understand me.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Jul 16, 2006 8:46 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Sun Jul 16, 2006 11:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Jul 17, 2006 3:29 am    Post subject: Reply with quote

Hmmm.. His bad English was worse than I thought. Laughing

Moved to Script Requests.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
honeybee
Halfop


Joined: 01 Jan 2006
Posts: 80

PostPosted: Tue Jul 18, 2006 5:35 am    Post subject: Reply with quote

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
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Wed Jul 19, 2006 12:14 am    Post subject: Reply with quote

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
View user's profile Send private message
honeybee
Halfop


Joined: 01 Jan 2006
Posts: 80

PostPosted: Tue Jul 25, 2006 7:28 pm    Post subject: Reply with quote

again you misunderstood you havent, read his question correctly, strict host wont change banmask to *!*@host.ip. read eggdrop.conf carefully.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Tue Jul 25, 2006 8:02 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Jul 26, 2006 9:34 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber