| View previous topic :: View next topic |
| Author |
Message |
TommyGun Voice

Joined: 26 May 2006 Posts: 36 Location: The Netherlands
|
Posted: Wed Feb 14, 2007 11:49 am Post subject: Channel reg monitor |
|
|
Hey
I already used the search, but without luck.
Im looking for a script that logs channels being registrerd or made so i can check these logs for channels that i dont know about.
Hope its clear, thanks _________________ http://www.gamergun.com/ - Free Files Uploader |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed Feb 14, 2007 3:20 pm Post subject: |
|
|
You wish to check wether someone adds channels to your bot without your knowledge?
I guess one approach would be to either create a logentry every n minutes, or make a join-binding to trigger the logging.
| Code: |
bind raw - "JOIN" check_log
proc check_log {from word txt} {
if {[string compare -nocase [lindex [split $from "!"] 0] $::botnick] == 0} {
putlog "Joining \"[string trimleft [lindex [split $txt] 0] ":"]\", current registered channels: [join [channels] ", "]"
}
return 0
}
|
_________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
TommyGun Voice

Joined: 26 May 2006 Posts: 36 Location: The Netherlands
|
Posted: Fri Feb 16, 2007 7:47 pm Post subject: |
|
|
Maybe i wasn't clear enough. (My English ain't that good)
Anyway, i run UnrealIRCD and i have one channel where my Eggdrop bot is in it. (It does not auto-join other channels or so, only specific ones).
So is it possible to let the bot monitor the daemon which channels their are running or being made? Or do i have to ask this on the UnrealIRCD forum?
Thanks m8 _________________ http://www.gamergun.com/ - Free Files Uploader |
|
| Back to top |
|
 |
|