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


Joined: 23 Oct 2000
Posts: 29
Location: Sweden

PostPosted: Wed Sep 11, 2002 7:19 am   

Capturing texts again ...
 
I looked around in the forum but couldnt find anyone that asked the same thing.

The question is simple, I want to capture the line AFTER the trigger, And only one line.

It looks like it only can capture lines before the line that triggered the whole thing.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Wed Sep 11, 2002 12:42 pm   
 
Change your pattern to also include the line next to the known text:
#TRIGGER {You see many people here$(*)} {#SH The second line matched was: %1}

Kjata
Reply with quote
Nardak
Beginner


Joined: 23 Oct 2000
Posts: 29
Location: Sweden

PostPosted: Thu Sep 12, 2002 6:17 am   
 
Thanks, I'll try that.
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