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.

Channel reg monitor

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
User avatar
TommyGun
Voice
Posts: 36
Joined: Fri May 26, 2006 6:11 pm
Location: The Netherlands
Contact:

Channel reg monitor

Post by TommyGun »

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
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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: Select all

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
User avatar
TommyGun
Voice
Posts: 36
Joined: Fri May 26, 2006 6:11 pm
Location: The Netherlands
Contact:

Post by TommyGun »

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
Post Reply