Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
dane
Beginner


Joined: 27 Apr 2005
Posts: 18

PostPosted: Sat May 28, 2005 10:12 pm   

Timestamp
 
I have a script which sends all tells to a small window. Is there any way to have it timestamp when that tell is sent to me?

For example:
Rick tells you 'hello'.

On my capture window it collects that line above, but I want to know when it was sent to me. Like Rick tells you 'hello'. May 28 10:00am

I know there's a time command but I can't get it to work.

Command is listed below.
#capture (1) tell

Thanks
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Sat May 28, 2005 10:40 pm   
 
you can add a timpestamp if you use #WIN instead of #CAP, and %time()
_________________
Discord: Shalimarwildcat
Reply with quote
DeReP
Adept


Joined: 14 Jun 2003
Posts: 222
Location: Chile

PostPosted: Sun May 29, 2005 1:56 am   
 
This should add standard timestamp to your tell window, if you replace the current value of the Trigger.
I've always thought its better to have the timestamp before the actual tell, makes it easier to read at least
Code:
:tell:#SAYP %time("mmmm d, hh:mm am/pm")]%char( 32)
#CAPTURE (1) tell
Reply with quote
dane
Beginner


Joined: 27 Apr 2005
Posts: 18

PostPosted: Sun May 29, 2005 1:39 pm   
 
Thanks to much for the help! Works perfectly. Twisted Evil
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net