Sweet! That worked perfectly!
Here is a test quest:
Code:
#test quest
sub EVENT_SAY {
$timestamp = localtime(time);
if ($text =~/Hail/i) {
quest::say ("Why, hello there $name! Pleasure meeting you here.");
quest::write("test.txt","[$timestamp]: $name, the $class, hailed $mname"); }
}
It put the following output into my test.txt file:
Code:
[Fri Jun 27 21:41:56 2008]: Trevazar, the Warrior, hailed Larren000
Now, if I could only get it to add guildname in somehow, since $uguildid doesn't seem to work. Not a big deal though. Getting that timestamp working was what I wanted the most. Thanks again AndMetal!