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.
Help for those learning Tcl or writing their own scripts.
juanamores
Master
Posts: 317 Joined: Sun Mar 15, 2015 9:59 am
Post
by juanamores » Tue Feb 21, 2017 7:07 pm
Is there an event that detects when the bot adds or deletes an ignore?
Event command, not party line.
If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks
Get_A_Fix
Master
Posts: 206 Joined: Sat May 07, 2005 6:11 pm
Location: New Zealand
Post
by Get_A_Fix » Thu Feb 23, 2017 8:51 am
No event driven procedure but that doesn't mean you couldn't make one.
You can have a proc check ignorelist every x-min and if a new hostmask and expiration are matched then putlog or puthelp to channel.
Something like
Code: Select all
foreach ignore [ignorelist] {
set ignoremask [lindex $ignore 0]
set ignoreexpire [lindex $ignore 2]
set ignoreexpire_ctime [ctime $ignoreexpire]
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
juanamores
Master
Posts: 317 Joined: Sun Mar 15, 2015 9:59 am
Post
by juanamores » Thu Feb 23, 2017 7:01 pm
Good idea Get_A_Fix!
I'll work on it
Thank you
If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks