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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
TommyGun
Voice
Posts: 36 Joined: Fri May 26, 2006 6:11 pm
Location: The Netherlands
Contact:
Post
by TommyGun » Wed Feb 14, 2007 11:49 am
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
nml375
Revered One
Posts: 2860 Joined: Fri Aug 04, 2006 2:09 pm
Post
by nml375 » Wed Feb 14, 2007 3:20 pm
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
TommyGun
Voice
Posts: 36 Joined: Fri May 26, 2006 6:11 pm
Location: The Netherlands
Contact:
Post
by TommyGun » Fri Feb 16, 2007 7:47 pm
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