psyced/place/log.c
psyc://psyced.org/~lynX e79fe64e64 -
2011-10-06 20:52:22 +02:00

12 lines
325 B
C

// This is a place that keeps a log of what's been said.
// it's too simplistic tho - it doesnt handle /me correctly
#include <net.h>
#include <text.h>
#define CREATE localize();
#define ON_CONVERSE log_file(MYNICK, "%s\t%s", isotime(ctime(), 1), \
psyctext(T(mc, "[_data]"), vars, data, source));
#include <place.gen>