Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
sonic306
Newbie


Joined: 11 May 2014
Posts: 9

PostPosted: Sat Feb 13, 2021 10:06 am   

capturing specific text
 
Code:
The checker rolls over your toe.
You call forth a word of great power, invoking the prime nature of your
magic.  Crumbling away from the corpse, the soul of the creature is
released in the form of a giant death's head that flies freely into the
room, leaving behind it a great trail of power waves!

> === HP: 0 === : >>> SP: -142 <<< : === NP: 0 ===


Given the above text, I am trying to capture all the text starting from "You call" and to "power waves!" i want to store it in a variable for later use,
I am having trouble capturing all the lines, should it be done via regex or different methods?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Sun Feb 14, 2021 7:55 pm   
 
Is there variability in how the message gets spit out each time?
_________________
Discord: Shalimarwildcat
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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