This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Notice Protection Script

Old posts that have not been replied to for several years.
Locked
i
i_m_offline
Voice
Posts: 21
Joined: Sat Jun 18, 2005 4:20 am

Notice Protection Script

Post by i_m_offline »

Hello Friends,

Sorrie for requesting you much but if I can get Notice Protection script with channel mode lock in it would be gr8. I want to use it on DALnet. I have tried using Noticepro.tcl but doesn't seems to be really nice. Working slow and banning *!*@dal.net which is really bad. Thanks again mates.

i_m_offline
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Re: Notice Protection Script

Post by YooHoo »

i_m_offline wrote:Sorrie for requesting you much but if I can get Notice Protection script with channel mode lock in it would be gr8. I want to use it on DALnet. I have tried using Noticepro.tcl but doesn't seems to be really nice. Working slow and banning *!*@dal.net which is really bad. Thanks again mates.
It is far easier to alter an existing script than to write one from scratch, so after downloading and reading noticepro.tcl, my first thought was "why doesn't this guy edit his own scripts...?". You're chief complaint with noticepro.tcl seems to be the banmask the eggdrop uses to ban offenders... if you had read the script, you would have seen this at the top...:

Code: Select all

# Set the banmask type to use in banning the IPs  
# Currently BAN Type is set to 1 (*!*@some.domain.com),
# BAN Types are given below;
# 1 - *!*@some.domain.com 
# 2 - *!*@*.domain.com
# 3 - *!*ident@some.domain.com
# 4 - *!*ident@*.domain.com
# 5 - *!*ident*@some.domain.com
# 6 - *nick*!*@*.domain.com
# 7 - *nick*!*@some.domain.com
# 8 - nick!ident@some.domain.com
# 9 - nick!ident@*.host.com
set npro_btype 1
simply change this variable to alter the way the bot bans, like #3 or #5. Hope this helps. :mrgreen:
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Another little 'trick' is to add DALnet services to the bots user list with a global +f. I have found that will also prevent the bot ignoring services on connect when all the notices are sent to it.

Code: Select all

Natale HANDLE           PASS NOTES FLAGS           LAST
Natale DALnet           no      0 f              20 Jun (#channel)
Natale HOSTS: *!*@dal.net
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Locked