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


Joined: 15 Sep 2015
Posts: 9

PostPosted: Tue Sep 15, 2015 11:37 pm   

Looping through multiple lines from mud
 
Hi all,

I have a script that reads 5 lines from the mud and then goes through a series of multiline triggers on them to find what I need. Problem is that i need to do this 3 times in order to get what I need so my questions is would i be able to loop this somehow?

Example from mud: (not actual text because it is longer)

A B C
B B B
A C B
A A C
C C A

So my multiline triggers would capture the first column the first time it sees the text, the second column the second time it sees the text and the third column the next time.

Help would be appreciated!
Reply with quote
shalimar
GURU


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

PostPosted: Wed Sep 16, 2015 1:02 am   
 
It would help to see your current trigger, and a better explanation of what you are trying to do.
_________________
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