Here is what I need a little help with. ChanServ on DALnet will send a notice to the ops whenever a change is made to the aop/sop/akick list. What i was wondering is if someone could give me some ideas as to making this script.
bind notc - "*\[VERBOSE\]*" procname
You can do anything you want when ChanServ sends verbose notice just get a clue - read tcl-commands.doc and remember to check whether notice is done by ChanServ in proc.
bind notc - "*\[VERBOSE\]*" verbose
proc verbose {nick uhost hand text dest} {
putlog "Verbose logged by $nick and was $text"
set timestamp [clock format [clock seconds] -format "%H:%m %D"]
set file "verb.txt"
set fs [open $file a+]
puts $fs "$nick $text $timestamp"
close $fs
}
odd I just wrote this one tonight for myself but have at.
Logs to /eggdrop/verb.txt
I may put in a dcc send of the text file, but im still pretty new to tcl sooo. I dunno about all that hehe.