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
Drystin
Beginner


Joined: 24 Jul 2002
Posts: 18
Location: Denmark

PostPosted: Sun Aug 15, 2004 8:04 am   

Multiline logger
 
My own multiline tell logger doesn't work right.

here is a little info.
i want a multiline capture.
the capture from
tells you
then it captures everything until my prompt is shown, but sometimes, like in combat
the text from the combat can come between the tell and prompt.
a tell look like this

Dwaylor tells you 'hello'

I don't know how i would be able to only log that, i have been trying with a few options in zmud
the normal capture work only single line. c- and c+ wont work.
I though maybe you could have zmud look for ' but this will also be a problem because we also use words as "don't", but can zmud be set to look for ' and nothing after
so if '
and nothing efter '
#T- tell
_________________
Drystin
Reply with quote
SCORNME
Novice


Joined: 25 Jul 2004
Posts: 48
Location: aka Falan

PostPosted: Sun Aug 15, 2004 9:46 am   
 
LightBulb's standard multiline approach:
Starting pattern - enable main trigger
* - main trigger to color, capture, gag, add to database variable, etc
Ending pattern - disable main trigger

#TR {(%w) tells you: } {#IF (("%1" != "Alexa") AND ("%1" != "Laryn")) {#T+ tellcapture}}
#TR tellcapture {*} {#CAP TellHist;#GAG} {} {disable}
#TR {{.|?|!}$} {#T- tellcapture}
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