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


Joined: 23 May 2009
Posts: 15

PostPosted: Wed Nov 08, 2017 1:05 am   

Capture to Editor *part* of a line
 
Is there any way to dump text to the editor other than #CAPTURE?
The mud sends a control sequence, delimiter, and then the text line by line from a file, I'd like to capture just the line by line text and append it to the text Editor (not settings editor) in sequence.

Is this possible via direct manipulation of a hidden editor variable or something else I'm seeing? #CAPTURE grabs the whole line which I don't want.
Reply with quote
shalimar
GURU


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

PostPosted: Wed Nov 08, 2017 4:02 am   
 
you could also use the #WIN command for a custom string

#WINDOW windowname {Some string here}
#EXECWIN windowname {#SAYADD {Some string to concetenate on the previous message.}}
_________________
Discord: Shalimarwildcat
Reply with quote
shalimar
GURU


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

PostPosted: Wed Nov 08, 2017 4:09 am   
 
Aha... i see the issue, you could kludge it.
First, make the triggers to capture the segment you want to another window, then give that one window a very genneric trigger inside the window object (for the sake of scope).

#TR {*} {#CAP}
_________________
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