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
leonardofaoro
Novice


Joined: 07 Feb 2008
Posts: 40
Location: Italy

PostPosted: Sun Feb 07, 2010 1:57 pm   

Capture a portion of mud-text
 
There is a way to make capture a portion of mud text?
Example:
<MAPSTART>
--- ---
|.*. . . . .|
--- ---
, ` . . (*) . . , `
--- ---
|. . . . .*.|
--- ---
|[#]|
| |
|< .|
---
<MAPEND>

#trig {~<MAPSTART~>} {#cap all till ~<MAPEND~>;#gag}

There is a way to do this?
Reply with quote
shalimar
GURU


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

PostPosted: Sun Feb 07, 2010 2:01 pm   
 
#trig {~<MAPSTART~>} {#C+ Map;#GAGON}
#trig {~<MAPEND~>} {#C- Map;#GAGOFF}
_________________
Discord: Shalimarwildcat
Reply with quote
leonardofaoro
Novice


Joined: 07 Feb 2008
Posts: 40
Location: Italy

PostPosted: Sun Feb 07, 2010 2:08 pm   
 
When I insert the #trig {~<MAPSTART~>} {#C+ Map;#GAGON} in the command line, it says that #C+ is an illegal command.
Reply with quote
leonardofaoro
Novice


Joined: 07 Feb 2008
Posts: 40
Location: Italy

PostPosted: Sun Feb 07, 2010 2:18 pm   
 
Ok I modified it a bit and it works.

#trig {~<MAPSTART~>} {#C+ Map;#GAGON}
#trig {~<MAPEND~>} {#C-;#GAGOFF}

Have to omit the windowname values on #C- else it won't work.

Thanks a lot!
Reply with quote
leonardofaoro
Novice


Joined: 07 Feb 2008
Posts: 40
Location: Italy

PostPosted: Sun Feb 07, 2010 2:21 pm   
 
Another question: When I execute the script a message appears: Capture text ON
How do I make that text disappear?
Reply with quote
shalimar
GURU


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

PostPosted: Sun Feb 07, 2010 2:38 pm   
 
you can go into preferences on the scripting tab..
i think the 'show information messages' will turn it off

alternatively, make another trigger to #GAG it
_________________
Discord: Shalimarwildcat
Reply with quote
hadar
Apprentice


Joined: 30 Aug 2009
Posts: 198
Location: my apt, in california

PostPosted: Sun Feb 07, 2010 7:23 pm   
 
if you look in the package library there are a couple aardwolf map captures
_________________
if you build it they will come, assuming that they have not already come to build it
Aardwolf Bootcamp
My youtube channel
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