| View previous topic :: View next topic |
| Author |
Message |
juanamores Master
Joined: 15 Mar 2015 Posts: 317
|
Posted: Tue Feb 21, 2017 7:07 pm Post subject: Ignore Event Command exist? |
|
|
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  |
|
| Back to top |
|
 |
Get_A_Fix Master

Joined: 07 May 2005 Posts: 206 Location: New Zealand
|
Posted: Thu Feb 23, 2017 8:51 am Post subject: |
|
|
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: |
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. |
|
| Back to top |
|
 |
juanamores Master
Joined: 15 Mar 2015 Posts: 317
|
Posted: Thu Feb 23, 2017 7:01 pm Post subject: |
|
|
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  |
|
| Back to top |
|
 |
|