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


Joined: 01 May 2002
Posts: 0

PostPosted: Sun Apr 07, 2002 2:14 am   

Layout And Capture Questions
 
I know how to Lock my Layout once i have it but if i close down zmud then restart it i want it to stay the same...is there any way to do this? when i do it the Lock stays on but the windows go back to the "Default" that zmud wants to put them...

Also when i put #CAP 3 {WindowName}
it captures the line that triggers this (which is good) but instead of capturing the next 2 lines it captures the 2 lines ABOVE the triggering line...Any ideas as to why this is happening?
thanks for any help
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Apr 07, 2002 3:34 am   
 
Try the Save Layout command on the Layout menu.

That's what #CAP 3 is supposed to do.

LightBulb
All scripts untested unless otherwise noted
Reply with quote
Buba
Newbie


Joined: 01 May 2002
Posts: 0

PostPosted: Sun Apr 07, 2002 5:42 pm   
 
well if thats what cap 3 does how do i get it to capture the 2 lines AFTER the triggering pattern?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Apr 07, 2002 10:17 pm   
 
You could try a multi-line trigger. I'm not sure how that would affect #CAP so you'd have to experiment.

Alternatively, you could use your trigger to start capturing with the #C+ command. You'd need a second trigger to end capturing with the #C- command.
A similar method would be to use the first trigger to enable a class which contains a trigger to capture every line, and the second trigger would then disable the class.
You could probably count how many lines are captured and the second trigger could fire when the counter reaches 3.

LightBulb
All scripts untested unless otherwise noted
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