|
Mattsc23 Beginner
Joined: 07 Dec 2002 Posts: 12 Location: USA
|
Posted: Mon Dec 16, 2002 9:18 pm
Variable expansion? |
I modified this trigger found in the boards to time stamp my comms captured to my child window 'comms':
#TR {{(%w) @comms '(*)'}} {{#SUB {%time("hh:nn:ss") - %1 @comms '%2'}}}
where the variable @comms = tells|gossips|questions|answers|music|grats
this gave me the following output:
Vath 11:52:42 - tells|gossips|questions|answers|music|grats '' 'Not nearly scared enough :P'
Someone 11:52:42 - tells|gossips|questions|answers|music|grats '' 'Mobs are aggie here?'
Foxtail 11:52:42 - tells|gossips|questions|answers|music|grats '' 'Yeah, Petter sure wrote a huge area, didn't he?'
which is kinda what I want except that the "tells|gossips|questions|answers|music|grats" is expaned to the screen instead of just gossips or tells, etc.
Anyone know what could correct this?
Thanks,
Matt |
|
|
|
Emit Magician
Joined: 24 Feb 2001 Posts: 342 Location: USA
|
Posted: Mon Dec 16, 2002 9:52 pm |
try this:
#tr {(%w) ({@comms}) '(*)'} {#sub {%time("hh:nn:ss") - %1 %2 %3}}
this way you capture which member of @comms triggered it, and print that one only |
|
|
|
|
|
|
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
|
|