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
blondi
Beginner


Joined: 06 Apr 2003
Posts: 15

PostPosted: Sun Apr 06, 2003 10:54 pm   

Problem with Multiline Trigger
 
Hi folks
i have a big problem with a multiline trigger
after i ask a NPC a question, i get after some seconds (and some lines i don't interested in) some lines like:

NPC sagt: "text"
NPC sagt: "text"
NPC sagt: "text"

after that i don' get a new promt and no emty line

The problem is the number of lines is not always the same, and also the "text" of the last line is not always the same.
The fist line is always the same, so i have a startpoint for the trigger

I want to captue all the "text"'s (or all the lines and then do a %replace(@var,"NPC sagt: ","")) in one string-variable for futher processing, and gag these line
An Idea is that all "NPC sagt: ..." come closed together, so that i can do somthing with an #alarm, but how?

Thanx
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