I wouldn't do this within the mud.. that will involve a ton of disk access
searching through all the pfiles, and cause a noticable pause in the mud.

You could write a perl script pretty easily to search through your pfiles
and collect stats on that stuff, then just set a cron job to update the
information daily or hourly or whatever.

What you'll likely end up doing is combining information from in game and
out of game into one html file.  For example, the perl script could print
out a data file that the mud reads in when creating the html.  Or they could
both write to data files, and you could make a cgi that reads in the files
and prints out the info in html.

> Ok, I'm writing a function that creates a file in html. I wan't it to have
> all kinds of current stats. What my problem is, is that I can't find a way
> for the MUD to figure out certain things. For example, I wan't to print
out
> how many people are of XXX race or class or clan. Perhaps search all the
> pfiles and return a # that I can print to the file? Other ideas welcome.


Reply via email to