View Single Post
  #5  
Old 06-27-2008, 11:02 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

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!
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote