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
Skalman
Newbie


Joined: 17 Dec 2007
Posts: 2

PostPosted: Mon Dec 17, 2007 12:31 am   

capturing
 
Need help capturing a chat line, cant seem to work around the "{/}"'s

Line would be:

{(Name)} Is trying to capture this line

/

{Skalman} Is trying to capture this line
Reply with quote
ralgith
Sorcerer


Joined: 13 Jan 2006
Posts: 715

PostPosted: Mon Dec 17, 2007 3:35 am   
 
#TR {~{(%w)~} (*)} {#CAP whatever}

OR You can log it to a file with a timestamp like this:

#TR {~{(%w)~} (*)} {#CAP whatever;#FILE 1 chat.log;#WRITE 1 {%time( aaa h:m:s) ~{%1~} %2};#CLOSE 1}

Or you can remove the timestamp if you want..

:)
_________________
CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate
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