|
leonardofaoro Novice
Joined: 07 Feb 2008 Posts: 40 Location: Italy
|
Posted: 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? |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4690 Location: Pensacola, FL, USA
|
Posted: Sun Feb 07, 2010 2:01 pm |
#trig {~<MAPSTART~>} {#C+ Map;#GAGON}
#trig {~<MAPEND~>} {#C- Map;#GAGOFF} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
leonardofaoro Novice
Joined: 07 Feb 2008 Posts: 40 Location: Italy
|
Posted: 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.
|
|
|
|
leonardofaoro Novice
Joined: 07 Feb 2008 Posts: 40 Location: Italy
|
Posted: 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! |
|
|
|
leonardofaoro Novice
Joined: 07 Feb 2008 Posts: 40 Location: Italy
|
Posted: 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? |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4690 Location: Pensacola, FL, USA
|
Posted: 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 |
|
|
|
hadar Apprentice
Joined: 30 Aug 2009 Posts: 198 Location: my apt, in california
|
Posted: Sun Feb 07, 2010 7:23 pm |
if you look in the package library there are a couple aardwolf map captures
|
|
|
|
|
|