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


Joined: 23 Oct 2002
Posts: 6
Location: Spain

PostPosted: Fri Oct 25, 2002 7:05 pm   

MUltiple Line Trigger
 
Hi!

I need to capture a var from a multiline output, like:

The green smoke suddenly leaps from your hand and hits the bulbous twisted(n)
neuter tchark, forming a tainted chain around its neck.

(n) is the line feed

I need to get the "bulbous twisted neuter tchark" part... any hint?

Tx in advance,

Okkita
Reply with quote
Troubadour
GURU


Joined: 14 Oct 2000
Posts: 556
Location: USA

PostPosted: Fri Oct 25, 2002 7:42 pm   
 
Howz about this:

#TR {The green smoke suddenly leaps from your hand and hits the (*)$(*), forming a tainted chain around its neck.} {#VAR beastie %concat("%1", " ", "%2")}

$ is the pattern matching symbol for end of line.

Troubadour
(Win 98, Pentium III, 550 MHz)
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