 |
Evangelist Adept
Joined: 10 Oct 2000 Posts: 224 Location: USA
|
Posted: Sun Jul 28, 2002 11:58 pm
time in another window |
If i have zmud capture say
gossips '(*) and have it #CAP gossip
what if i want the time in the capture windows right after the gossip?
I tried #CAP gossip %time but it captures the gossip, and puts time on the next line, then the next gossip it adds under the previous gossip, and time on the last line....is there a way to do that which what i was considering?
Evangelist
www.phidar.com |
|
|
 |
Charbal GURU
Joined: 15 Jun 2001 Posts: 654 Location: USA
|
Posted: Mon Jul 29, 2002 12:26 am |
Try
#trigger {gossips '(%*)} {#window gossip {%time(c) %trigger})
- Charbal |
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Jul 29, 2002 12:34 am |
quote:
If i have zmud capture say
gossips '(*) and have it #CAP gossip
what if i want the time in the capture windows right after the gossip?
I tried #CAP gossip %time but it captures the gossip, and puts time on the next line, then the next gossip it adds under the previous gossip, and time on the last line....is there a way to do that which what i was considering?
Evangelist
www.phidar.com
Yep, there's a few ways you can do this:
1)put a capture-everything trigger in the settings file for the Gossip window (a pattern of (*) or (%*), depending on which one you need). I'd advise against this particular trigger, but the same concept applies here as in a more specific one.
#trigger {(*)} {#sub {%1 %time("hh:nn:ss AMPM")}}
2)Use a different capture method than #CAPTURE. #WINDOW should work quite nicely for what you have in mind, as should the near-equivalent :windowname:text format.
#trigger {gossips '(*)} {#window gossip {%1 %time("hh:nn:ss AMPM")}}
#trigger {gossips '(*)} {:gossip:%1 %time("hh:nn:ss AMPM")}
li'l shmoe of Dragon's Gate MUD |
|
|
 |
|
|
|
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
|
|