|
Mumra Wanderer
Joined: 12 Feb 2003 Posts: 93 Location: USA
|
Posted: Mon Mar 22, 2004 10:47 am
#WRITE |
First. I am using a text file, and triggers to capture text on Realms
of Despair. As it is, everytime the pattern is matched, it adds info
to a textfile I have. ATM, it just adds the new info the bottom of the textfile. This adds up to some huge textfiles eventually.
So, I am trying to figure a way to add new information only, and add
a timestamp to it, so I know when it happened. And if the information
that matches the pattern is the same day/info as already in the file,
it gets ignored, but I am not having any luck. Anyone know how to do
something like this? For example:
#TR ((%w) openly traffics '(*)} {#WRITE 1 %1 traffic'd %2}
That is my trigger I am capturing with. I have a trigger when I log
in, to open the text file, of course, so I can use #WRITE.
The second thing is this.
Is Zugg ever planning to allow you to change font sizes in the output
window? At the current time, sure, you can change the font, but when
you change the size, it seems to be ignored by zmud. |
|
|
|
Mumra Wanderer
Joined: 12 Feb 2003 Posts: 93 Location: USA
|
Posted: Mon Mar 22, 2004 11:54 am |
As a side note to this, I know I can accomplish what I want to, using
#ADDITEM, but then I can not think of an easy way to do a search for
the information I want. As in the other way, it is a textfile, and my
text editor has a very handy search command. If there is a way for
zmud to search all variables and output to me any part of their values
that match, this would accomplish what I am trying to do, but as the
moment, I am unsure of any way to do this. I will keep looking through
the helpfiles though. |
|
|
|
Mordenkeinen Beginner
Joined: 19 Feb 2004 Posts: 10 Location: USA
|
Posted: Mon Mar 22, 2004 3:04 pm |
Not sure how you'd do it via a text file, but for something like that, personally, I'd use a database... it's searchable, be a lot faster, and wouldn't use up near as much hard drive space.
|
|
|
|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Mon Mar 22, 2004 3:19 pm |
Also, using string lists for a ton of strings or for very long strings is not a good idea. They tend to get full and start behaving erratically. Granted, it takes a fair amount to "fill up" a string list, but it does happen.
|
|
|
|
Glinka Wanderer
Joined: 20 Dec 2000 Posts: 53 Location: USA
|
Posted: Tue Mar 23, 2004 3:52 am |
DB sounds like what you need, and as for timestamps..
you can do something like this..
%time( "mm-dd-yy").txt
I think there is a way to add the hours and minutes too..
G. |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|