Try this... it is just a basic script, but should do what you need.
on *:text:*:[color:red]#yourchannel[/color]: {
if ($nick isop $chan) {
if ($1-2 == !start logging) {
.remove RPGLog.txt
set %RPGLogging On
}
elseif ($1-2 == !stop logging && %RPGLogging == On) {
unset %RPGLogging
dcc send [color:red]Nick[/color] RPGLog.txt
}
}
if (%RPGLogging == On) {
if ($1 == !add) {
[color:blue]; I would color this differently or do something to make it stand out.[/color]
write -il1 RPGLog.txt $$2-
}
elseif ($1 == !summary) {
[color:blue]; Again, I would color this differently or do something to make it stand out.[/color]
write -il1 RPGLog.txt SUMMARY: $$2-
}
else write RPGLog.txt < $+ $nick $+ > $1-
}
else {
if ($1 == !addquote) {
[color:blue]; Right now, this is set to allow all users to add a quote. If you want only ops
; to be able to add the quotes, this section can be moved into the ops-only
; section above.[/color]
write quotes.txt $$2-
}
elseif ($1 == !quote) {
msg $chan $read(quotes.txt)
}
}
}
Ok, that will handle your logging and quotes.
Use:OPS:!start logging
!stop logging
Everyone:!add <text>
!summary <text>
!quoteadd <text>
!quote
Note that you need to change the red parts above. Also, this will not keep a copy of the log locally. It will remove the log every time the logging is started. Because it's sending the log file to someone, I didn't think this would be a problem. However, if it is, the log filename can be made to include the date and then it won't need to remove the old logs. That's up to you. I also didn't add time-stamping... feel free to add if needed.
!quote will give a random quote out of the list of quotes. Also note that !addquote and !quote will not work while the logging is enabled. I did this because people shouldn't be using !quote/!addquote while roleplaying as that is OOC.
For the statistics, it depends what you want for statistics.
For the points... it depends what you mean by admin. Do you want the command to give points to be done from the bot itself? Or is a certain nick/address allowed to do it from a message/notice/etc?
Here's a way to do it from the bot itself:
alias GivePoints {
if ($2 != $null) {
if ($hget(RPGPoints) == $null) {
hmake RPGPoints 20
if ($exists(RPGPoints.hsh)) {
hload RPGPoints RPGPoints.hsh
}
.timerRPGPointsSave 0 60 hsave RPGPoints RPGPoints.hsh
}
hinc $1 $2
}
}
Use:
/GivePoints <nick> <points>
Example:
/GivePoints Riamus 100
Questions/Comments/Etc, just ask.