hello i am beginner. i setup to badword.tcl
my eggdrop's bant type is
example: !*@*.aol.com
but i want to my eggdrop's ban type is full ip.
example: !*@user34234.aol.com
i also can't find anything helpful on this forum for such a simple thing as changing the bot's own default bantype (i also want it to do +b *!*@host.domain instead of *!ident@*.domain)...
Have looked in the FAQ, have searched the forum, looked over all .tcl scripts in the scripts/ subdirectory of eggdrop, ofcourse searched in eggdrop.conf and i just can't find anything about it
Alchera wrote:Reading the scripts configuration settings might be helpful. Some scripts allow settings to set the type of ban format required.
I searched trough them, but the point is that i'm not using scripts for putting people on "shitlist", i'm using the bots own internal ban system (bans all, +ban, -ban, etc.), which works fine except for the fact that it's bantype is incorrect, i'd like to change it
set banmask [lindex [split [maskhost $uhost] "@"] 1]
The internal eggdrop kicks/protections don't have banmask selector types. As far as I know it would randomly ban *!*@host.domain.com. All tcls scripts can be customized to achieve different types of banmasks.
If you don't know how to edit your script to change the banmask:
A script I released ago a few months back does the same thing for BAD WORDS spoken on a channel; named a CHANNEL SWEAR KICKER. You can download utilize that script. It has 20 different banmasks to select from.
I have found that the easiest solution was studying the way that almost all of MC_8's scripts have this variable hostmask selection thingamajiggy already coded... it has been extremely useful for me personally. His site is listed in the links section...
It's in his moretools or some script like that. That script has several different utilities one of which is the maskhosttype; scripters can use them in their scripts freely.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================
I have the same problem with banmask type. Not with TCL. I added user with +dk flags and mask "User!*@*". So ... when User joins the channel bot set ban *!*@*.domain
(for example joins User!ident@PC1.LanGame.Net - bot set ban of *!*@*.LanGame.Net, but LanGame.Net is a very big ISP, so bot kick more than 100 users from channel!)
So I need to change the mask that bot uses for banning users that are with +dk flags, to change it to be *!*@host ( *!*@PC1.LanGame.Net for example). What and where to change ? eggdrop.conf ? Or something from source before ./configure ?
All I want to know was - is there a way to change and how, if it is possible.
Meanwhile I wrote a TCL that is working perfect, exactly as I want to change +k ban mask. But if there was a way to change the mask from the eggdrop source I will prefer that way.
And, of course, I prefer to ask my eggdrop question here, instead of my irc network forum
well, of course there is a way - if you know C, modify _maskhost() in src/misc.c to suit your needs
however, you need to be careful, since _maskhost() serves other purposes besides implementing tcl_maskhost() in irc.mod; actually, tcl_maskhost() uses a macro, maskban, which is _maskhost((a),(b),0)