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


Joined: 08 Dec 2003
Posts: 2

PostPosted: Mon Dec 08, 2003 10:40 pm   

Capturing multiple lines of text
 
I was wondering if it's possible to capture and send multiple lines of text and send it to another player I figured it's possible but don't know the exact expressions to do so. also I am using an older version of zmud since it's more portable, (ver 5.5.5)

sample:

You chant the words, 'mu xogmxogyx.'
A Widened Cavern.
[Exits: north east south west]

--end of sample--
first line is static so I figure I could trigger off of that line,
problems being, 2nd line isn't always the same, and 3rd line may not have all exits.
thanks for any help in advance.
Reply with quote
Toetag
Magician


Joined: 10 Oct 2000
Posts: 356
Location: USA

PostPosted: Mon Dec 08, 2003 10:51 pm   
 
have you checked:

http://www.zuggsoft.com/forum/search.asp
Reply with quote
Danlo
Magician


Joined: 28 Nov 2003
Posts: 313
Location: Australia

PostPosted: Tue Dec 09, 2003 2:14 am   
 
try this as your trigger pattern:
You chant the words, 'mu xogmxogyx.'$(*)$(*)$
That will set the second line as %1, and the third line as %2.
Reply with quote
kimjii
Newbie


Joined: 08 Dec 2003
Posts: 2

PostPosted: Wed Dec 10, 2003 12:53 am   
 
thanks a lot! worked like a charm!
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