About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 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
Xeldoren
Newbie


Joined: 19 Jan 2011
Posts: 2

PostPosted: Wed Jan 19, 2011 10:56 pm   

#Capture
 
I'm running cmud 3.32 on vista and I'm coming across a problem with the #capture command. It works perfect the way it is but I can only capture one line at a time, is there a way to capture the line directly below it? For instance this is what I see.

Random tells you:
Sure be right there

Yet when it's sent to my second window I only see this.

Random tells you:

I have gone through turning off autowrap on both cmud and within the game options, I attempted the screen width but that just ruined the entire mud and while it helped a bit with the longer messages it still had a cut off.

Any ideas?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Wed Jan 19, 2011 11:35 pm   
 
I recommend using a multiple-state trigger:

Code:
#trigger "tTells" {^(%w) tells you:$} {}
#condition {(*)} {
  #if (%1 = "") {
    #state tTells 0
  } {
    #capture Tells
  }
}
_________________
EDIT: I didn't like my old signature
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