|
sonic306 Newbie
Joined: 11 May 2014 Posts: 9
|
Posted: 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? |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Sun Feb 14, 2021 7:55 pm |
Is there variability in how the message gets spit out each time?
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|
|
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
|
|