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
Ggoss
Apprentice


Joined: 01 Nov 2006
Posts: 114

PostPosted: Mon Jun 18, 2012 8:40 pm   

Help with a capture
 
How do I capture this to a separate window? the multiline capture makes no sense to me

<automap>
.^****...
.*^***...^^
..^***..^^^.^
++++++^^++M++
. ..^@D.^^^.
.*^^...^..
.***....^
****.^^
. .**..

</automap>
Reply with quote
Ggoss
Apprentice


Joined: 01 Nov 2006
Posts: 114

PostPosted: Mon Jun 18, 2012 8:41 pm   
 
also can up like this

<map>
.^****...
.*^***...^^
..^***..^^^.^
++++++^^D++++
. ..^@..^^^.
.*^^...^..
.***....^
****.^^
. .**..

</map>
Snow Capped Hills of the Tundra
Obvious exits: -North -East -South -West
Reply with quote
Ggoss
Apprentice


Joined: 01 Nov 2006
Posts: 114

PostPosted: Mon Jun 18, 2012 9:04 pm   
 
something like

#trigger {map} {#capture MAPWIN -1;#gag}


but need to turn it off and on right

#trigger {<map>} {#class MapWin #T+}
#trigger {</map>} {#class MAPWIN #T-}

Though it doesn't work. It gives me fired but did not compile
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Mon Jun 18, 2012 10:35 pm   
 
(Untested):
Code:
#trigger {^~<map~>$} {#gag;#c+ MapWin}
#trigger {^~</map~>$} {#gag;#c-}
Reply with quote
Ggoss
Apprentice


Joined: 01 Nov 2006
Posts: 114

PostPosted: Mon Jun 18, 2012 11:02 pm   
 
That captures it perfectly. But it does 2 things I'm trying to avoid it leaves the map in the main screen still and it says capture on, capture off, any way not have it say that?
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Tue Jun 19, 2012 12:28 am   
 
Try this:
Code:
#trigger {^~<map~>$} {#gag;#gagon;#c+ MapWin}
#trigger {^~</map~>$} {#gag;#gagoff;#c-}
#trigger {^Capture text {ON|OFF}$} {#gag}
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