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


Joined: 16 Dec 2006
Posts: 6

PostPosted: Thu Dec 23, 2010 11:44 pm   

Aardwolf Map?
 
I'm tryign to set up a capture window to capture the map on Aardwolf. The issue is, that the map isn't always the same amount of lines talll. Any ideas? Here's my output for it.

Code:
<MAPSTART>
Basic Training
 
 
                 [ ] [*]|
                     ---     
                |[ ]|     
             ---     ---     
            |[#] [!] <!.|
             ---     ---     
                |[ ]|     
                             
 
[ Exits: E ]
<MAPEND>


That one is 15 lines tall, while

Code:
<MAPSTART>
Inside the Academy Foyer
 
 
                 ---       
            |[ ]|{+}|     
         ---        |       
        |[!] [ ] [*]|     
         ---     ---         
            |[ ]|         
         ---     ---         
        |[*] [#] <!.|     
         ---     ---         
            |[ ]|         
                             
 
[ Exits: N E S W ]
<MAPEND>


this one is 17 lines tall.


any ideas?
Reply with quote
mose
Novice


Joined: 02 Dec 2010
Posts: 30

PostPosted: Fri Dec 24, 2010 12:18 am   
 
If that is the exact output, create a trigger that matches <MAPSTART>, and turn on capture to a window (#C+ <window>). Add a condition (#COND) to the trigger that matches <MAPEND> and turn off capture (#C-).
Reply with quote
Zorvok
Newbie


Joined: 16 Dec 2006
Posts: 6

PostPosted: Fri Dec 24, 2010 12:58 am   
 
Well I figured it out a little. It outputs it to the map window half the time. And then when I got into the script wizard, it ends up showing a million of the <MAPEND> conditions.


NVM I figure it out. Something I did was constatly telling it to recreate the condition, and that was intrupting everything. But it works now. Appreciate it :)
Reply with quote
Zorvok
Newbie


Joined: 16 Dec 2006
Posts: 6

PostPosted: Fri Dec 24, 2010 1:10 am   
 
But my next question is. How do I gag the text from the original?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Dec 24, 2010 1:32 am   
 
Several ways to do it. Just like with #C+/#C-, there's #GAGON/#GAGOFF. If you want the map to be sent to you without blank lines, you can use SHORTMAP in Aardwolf to turn off the blank lines and then #GAGBLOCK to gag the entire map. To gag it line by line, use #GAGSPACE/#GAG.
_________________
EDIT: I didn't like my old signature
Reply with quote
Zorvok
Newbie


Joined: 16 Dec 2006
Posts: 6

PostPosted: Fri Dec 24, 2010 1:47 am   
 
Ok I created two new triggers. One #GAGON for <MAPSTART> and one #GAGOFF for <MAPEND> but now gag won't turn off. =\
Reply with quote
mose
Novice


Joined: 02 Dec 2010
Posts: 30

PostPosted: Fri Dec 24, 2010 2:38 am   
 
You shouldn't need two new triggers. Do #GAGON the line before you do #C+ and do #GAGOFF the line after after #C-.
Reply with quote
Zorvok
Newbie


Joined: 16 Dec 2006
Posts: 6

PostPosted: Fri Dec 24, 2010 2:40 am   
 
I tried that, right after I saved the trigger it kept removing it for some reason. But Everything is kosher now. I restarted cmud, and it started working. thanks guys
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