sorry for late reply *work*
I wouldn't be able to say for sure, its really a case of
Code: Select all
# ignoring compatibility, change if you use an old version of eggdrop
proc notc:qchanstats {nick uhost hand text dest} {
global qsc
if {([info exists qsc(request)])&&([validchan $qsc(request)])} {
# send the notice text to the channel
set full_line [join [lrange [split $text] 0 end]]
# first line depending on what we recive it could be:
# "Statistics", "Date" or "Since"
set line_1 [lindex $text 0]
# second line, could be:
# "for", "added" or "04/06/10 20:13 GMT" (the date + time + timezone)
set line_2 [lindex $text 1]
# ...etc
puthelp "PRIVMSG $qsc(request) :[join [lrange [split $text] 0 end]]"
}
}
or easyer option would be just to split them up in to sep. binds,
so when
Code: Select all
bind notc -|- "Statistics for*" notc:qcs:first
would go to a a proc named notc:qcs:first, and do that so you know what you will get from each one, sud make it easyer to change the text from each. So they dont all go to the same proc and you have to do alot of work.
Hopefully, that makes sense. if you need me to write a few more examples or piece together more of a script for it let me know.